Customize execution behavior

You can customize the execution behavior by adding custom configurations.

A configuration is a collection of configuration parameters that define which Tosca Distribution Agents should execute which TestEvents. When you execute a TestEvent, the Tosca Distribution Server forwards the ExecutionList(s) therein to all Tosca Distribution Agents whose configuration matches the one you assigned to the TestEvent.

By default, Tosca offers the following configurations:

Configuration

Description

Any

All agents.

The Tosca Distribution Server automatically forwards the TestEvents to the Tosca Distribution Agents that are equipped to handle a specific ExecutionList. For instance, it automatically forwards classic/mixed TestCases to agents with a full installation of Tosca Commander.

RDP

All agents configured for unattended execution.

SupportsClassic

Only agents with a full installation of Tosca Commander, i.e. agents that are able to execute classic and/or mixed TestCases.

The configuration categories contain all Tosca Distribution Agents that fit the respective category description.

One agent may be listed in several categories. For example, an agent with a full installation of Tosca Commander configured for Unattended Execution belongs to the categories Any, RDP and SupportsClassic.

If Tosca Commander erroneously displays your Execution Agents in the SupportsClassic configuration, follow the steps below:

  1. Check out the project root element.

  2. Right-click the Configurations object in the Execution section. Select Update configurations from Server from the context menu.

Update configurations

Create custom configurations

You can also assign configurations to your TestEvents based on other criteria, i.e. parameters. For example, you can create a configuration exclusively for agents with Firefox installed or a configuration only for agents running on Windows 10.

To do so, follow the steps below:

  1. Create configuration parameters on the Tosca Distribution Server.

  2. Exit and restart your Tosca Distribution Agents.

  3. Set the configuration parameters in the configuration of your Tosca Distribution Agents.

  4. Create a configuration in Tosca Commander, so you can assign your custom configuration to your TestEvents.