Optional configuration for the Distributed Execution Monitor

Tricentis recommends installing the Distributed Execution Monitor and the Tosca Distribution Server on the same machine.

If you want to install the Distributed Execution Monitor and the Tosca Distribution Server on different machines, you need to change the endpoint for the communication between them.

To do so, follow the steps below:

  1. Open the file appConfig.json on the machine where the Distributed Execution Monitor is installed. By default, the file is located at C:\Program Files (x86)\TRICENTIS\Tosca Server\DEXAdmin\wwwroot\assets.

  2. Enter the address of the Tosca Distribution Server as the value of the baseUrl parameter.

  3. Save and close the file.

Example: set the address of the Tosca Distribution Server

{

"baseUrl": "192.168.0.1:80"

}

  1. Open the file Web.config on the machine where the Tosca Distribution Server is installed. By default, the file is located at C:\Program Files (x86)\TRICENTIS\Tosca Server\DEXServer.

  2. Enter the address of the Distribution Execution Monitor as the value of the CORSAllowedOrigins setting.

  3. Save and close the file.

Example: set the address of the Distribution Execution Monitor

<setting name="CORSAllowedOrigins" serializeAs="String">

<value>192.168.0.2:80</value>

</setting>

Whenever you modify the Web.config file, you have to restart the Tricentis Tosca Server via the IIS Manager.

Do not modify the Web.config file while tests are running. If you do, all currently running and queued tests will be lost, and you will have to start them again after the Tricentis Tosca Server restarts.