Optional configurations for the Distributed Execution Monitor

You can set the following optional configurations for the Distributed Execution Monitor:

Configure synchronization interval between monitor and server

The synchronization interval between the monitor and the server determines how often the Distributed Execution Monitor should ask the Tosca Distribution Server for up-to-date information about the execution. If the synchronization interval is shorter, the information shown in the monitor is more up-to-date, but CPU usage is higher.

To change the synchronization interval, follow the steps below:

  1. Open the file appConfig.json. By default, this is located at C:\Program Files (x86)\TRICENTIS\Tosca Server\DEXAdmin\wwwroot\assets.

  2. Enter a new value for the parameter pollingInterval to define the new synchronization interval in milliseconds (ms). The default value is 20000 (twenty seconds).

  3. Save and close the file.

Example: a synchronization interval of 10 seconds

{

"baseUrl": "",

"pollingInterval": "10000"

}

Install monitor and server on different machines

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"

"pollingInterval": "20000"

}

  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.