Run multiple test suites in parallel with Agents
Configure parallel executions
Follow these steps:
-
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.
-
Update each Agent's threshold to 2. See Configure an Agent's Threshold.
The assigned sessions for each Agent is now 2.
-
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.
-
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.
-
Click on the Play button.
The Schedule Test Run dialog appears.
-
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:
- Start two Agents.
- Update each Agent's threshold to 2.
- Go to Test Execution > Test Run List.
- Click on the test run list you want to update.
-
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
-
Go to Test Execution > Test Run List.
You can see the new test run list here.
-
Click on the Run icon.
The two Agents are now running at the same time.
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.