Optional Tosca Distributed Execution Monitor configurations

As of Tricentis Tosca 2026.1 LTS, Distributed Execution is no longer enabled by default. While Distributed Execution is included in both Tosca Commander and Tosca Server installations, it requires manual activation:

  • Tosca Commander: The Distributed Execution Agent option in the installer is disabled by default. You must enable it before starting the Tricentis Tosca installation.

  • Tosca Server: All Distributed Execution related services remain disabled by default. You must enable the DEX Server after the Tosca Server installation.

For detailed information how to enable the Distributed Execution Agent and DEX Server, see this Tricentis Knowledge Base article.

You can configure the behavior of the Tosca Distributed Execution (DEX) Monitor:

Change synchronization interval

By default, the DEX Monitor queries the DEX Server every 20 seconds for information. You can define a different interval on the machine that holds the DEX Monitor.

Note that shorter intervals give you more up-to-date information in the DEX Monitor, but increase your CPU usage.

To change the interval, follow the steps below:

  1. Open the DEX Monitor appsettings.json file. By default, this file is located at C:\Program Files (x86)\TRICENTIS\Tosca Server\DexMonitor.

  2. Go to pollingInterval and enter a new value in milliseconds.

  3. Save and close the file.

  4. Restart the service Tricentis.DistributedExecutionMonitor.

Example: a synchronization interval of 10 seconds

  "pollingInterval": "10000"

Change number of displayed TestEvents

By default, the DEX Monitor displays a maximum of 10 finished TestEvents. A finished TestEvent has a Passed or Failed status. TestEvents with a Canceled, Queued, or Running status also appear in the DEX Monitor, but the limit doesn't apply to them.

To change this number, follow the steps below:

  1. On the DEX Server machine, open the Tricentis.DistributionServerService.exe.config file. By default, this file is located at C:\Program Files (x86)\TRICENTIS\Tosca Server\DEXServer.

  2. In the applicationSettings section, enter a new value for FinishedEventCount.

  3. Save and close the file.

  4. Restart the service Tricentis.DistributedExecutionService .

Example: display a maximum of 15 finished TestEvents

<setting name="FinishedEventCount" serializeAs="String">
    <value>15</value>
</setting>

Manage user access

By default, any user with access to the DEX Monitor can change Agent configurations or cancel executions.

You can put access management protocols in place so that only users with an administrator account in Tricentis User Administration can perform these tasks. All other users are limited to viewing rights to the Event View.

Prerequisites

To use this feature, you need to meet the following requirements:

Enable access restrictions

To put your access management protocol in place, follow these steps:

  1. Open the DEX Monitor appsettings.json file. After a default installation, this file is located at C:\Program Files (x86)\TRICENTIS\Tosca Server\DexMonitor.

  2. Go to the Security section and set the value of AuthorizationEnabled to true.

  3. Save and close the file.

  4. Restart the service Tricentis.DistributedExecutionMonitor.

Set a custom DEX Monitor port

By default, DEX Monitor runs on port 5008. To use a different port, follow the steps below:

  1. Open the DEX Monitor appsettings.json file. By default, this file is located at C:\Program Files (x86)\TRICENTIS\Tosca Server\DexMonitor.

  2. Go to "Port" and specify the new port number.

        "Port": <NEW PORT NUMBER>,
  1. Save and close the file.

  1. Configure Tricentis Tosca to use the new DEX Monitor port. To do so, go to Project->Settings->Commander->Distributed Execution->Monitor Url and update the Url setting accordingly.

  2. Update the Ocelot configuration files with the new port number.

Ocelot configuration

You must update the Ocelot configuration files if you perform any changes to the default port or endpoint address of the DEX Monitor. The sections below explain in detail where to find these files and how to update the relevant properties.

Update the Ocelot configuration file

To update the Ocelot configuration file of the DEX Monitor, follow the steps below:

  1. Open the ocelot.json file which is located at C:\Program Files (x86)\TRICENTIS\Tosca Server\Gateway.

  2. Search for two elements with the ServiceId value DistributedExecutionMonitor.

  3. Update the values of the following properties in these elements:

Property

Description

DownstreamScheme

Enter either http or https depending on the binding you chose.

Port

Enter the DEX Monitor port.

Apply the changes

Restart the following services to apply the changes: 

  • Tricentis.DistributedExecutionMonitor

  • Tricentis.GatewayService