Skip to main content
Version: legacy

Run multiple Test Suites in parallel with Agents

Configure parallel executions

Follow these steps:

  1. Create two Local Test Environments. See: Create a Local Test Environment with an Agent.

    You then start two Agents to prepare for Test Suites execution.

    start 2 agents

  2. Update each Agent's Threshold to 2. See Configure an Agent's Threshold.

    The assigned sessions for each Agent is now 2.

  3. Create a Script Repository. See: Upload Test Scripts from a Git Repository.

    You can now see the newly-created Script Repository appear in the Script Repositories page.

  4. Click on the Script Repository you have created.

    The Script Repository page appears. In the Test Suite Collection section, you will see a Play button.

  5. Click on the Play button.

    The Schedule Test Run dialog appears.

  6. Fill in the required information. See: Schedule Test Runs.

    Note:
    • In the Test Environments section, select the Agents you have configured earlier.
    • In the Advanced settings section, go to Execution Mode and choose Parallel. See: Advanced settings.

You have created a new Test Run List for parallel executions of Test Suites.

Update existing Test Run List

If you have previously scheduled Test Runs in sequential mode, you can also update your existing Test Run List so that it can be executed in parallel.

Follow these steps:

  1. Start two Agents.
  2. Update each Agent's Threshold to 2.
  3. Go to Test Execution > Test Run List.
  4. Click on the Test Run List you want to update.
  5. Click on the Edit button in the top right corner.

    The Schedule Test Run dialog appears.

    Update the schedule as follow:

    • In the Test Environments section, select the Agents you have started earlier.

    • In the Advanced settings section, choose Parallel for Execution Mode. See: Advanced settings.

Run Test Suites in parallel

  1. Go to Test Execution > Test Run List.

    You can see the new Test Run List here.

  2. Click on the Run icon.

    The two Agents are now running at the same time.

    2 agents run concurrently

View Test Suites results

Go to Reports > Test Runs to see the result of Test Suites you have run in parallel.

See also: Auto-Distributed Executions.