A test job in accelQ may include multiple test cases - either part of a Scenario with multiple data driven test cases or as a part of a test suite which is a collection of Scenarios. You get an indication of number of test cases in the Run modal when you are kicking off a test.
Each test case in accelQ runs as an independent flow, and it is possible to enable parallel execution of test cases to speed up run time. accelQ takes care of collating the results from multiple parallel threads, and present a unified report for the entire test job.
Step 1: Configure parallel execution for an agent
When you startup an agent, you can configure the number of parallel test cases in can accommodate. This is provided as part of the agent.properties file under your Local Agent folder. If you make a change to this property, be sure to restart the agent.
Step 2: Select parallel execution for a test job
Select the option to use Parallel Execution when you run a job. Depending on the agent you selected to run this test against, parallel instance count is allowed to be configured. You can set the parallel count for the current Run, up to a maximum threshold specified in the Agent startup.
Important considerations in Parallel Execution
- Since each test case will open a new browser instance, depending on the resource configuration on Local agent, choose appropriate number. It is recommended not to exceed 2 to 3 parallel threads.
- If the application-under-test is very sensitive to mouse movements (hovers etc.) or keyboard inputs, you may encounter conflicts working against multiple concurrent browsers. Tune the parallel count accordingly.
- When you are running a Static Test Suite, parallel execution does not guarantee the order of execution of tests, since the test cases are picked up as and when a thread gets freed up.