Early access: Define results import workspaces

For Tosca Distributed Execution with Automation Object Service (AOS), you need to set up at least one AOS workspace. To speed up time to execution, you can set up multiple AOS workspaces.

By default, if you have multiple AOS workspaces for one repository, Tosca uses only one of these workspaces to import results. This might not be enough for complex test sets where you run ExecutionLists in parallel. To speed up your time to results, define multiple AOS workspaces to import results in parallel.

Parallel results import is an early access feature and still under development. We can't guarantee full functionality in this or future versions.

Before you start

Before you define a number of results import workspaces, make sure you have these things in place:

Define the number of results import workspaces

To set up parallel results import, follow these steps:

  1. Open the appsettings.json file for AOS. After a default installation, this file is at C:\Program Files (x86)\TRICENTIS\Tosca Server\AutomationObjectService.

  2. Scroll to the Repositories tag in the AutomationObjectServiceConfig section.

    • If you use one repository with Tosca Distributed Execution, the Repositories tag contains one child property, which shows all AOS workspaces connected to this repository.

    • If you use multiple repositories, the Repositories tag contains multiple child properties, one for each repository.

  3. The repository child property has the setting NumberOfImportWorkspaces with the default value 1. To change the number of workspaces that should import results, change the default value to the desired number.

    If you use multiple repositories, repeat this for all repositories where you want to have parallel results import.

  4. Save and close your file.

Examples

These code examples show how to define parallel results import in different scenarios: with one repository and with multiple repositories connected to Tosca Distributed Execution with AOS.

What's next

Finish your Tosca Distributed Execution with AOS setup: