Parallel Execution
Overview
Parallel test running is your unique opportunity to significantly increase the speed of your regression, provided by Testlum. Our approach makes it possible to test not only the UI part of your product but also allows simultaneous parallel testing of your API and all available integrations. You don't even have to change your testing scenarios. Each test is running in an isolated environment, so we guarantee that parallel execution will not affect the final result of the test.
Environments configurations source
'Config' folder should be presented by default in the TEST_resources project. It stores all configuration files in folders with customizable environment names. Within each environment folder, ui.xml
and integration.xml
files have to be placed for parallel testing setting up.
Parallel testing global-config:
parallelExecution
- tag which includes or excludes parallel testing operations (true or false).
<parallelExecution>true</parallelExecution>
<environments>
- tag where you write configurations for your environment. For parallel testing, at least two environments should be configured and enabled.
Attributes
folder
- unique folder name whereui.xml
andintegration.xml
files are storedenable
- a boolean value that enables or disables environment usagethreads
- attribute to specify the quantity of threads (default value = 1)
<environments>
<env folder="env_0" enabled="true" threads="1"/>
<env folder="env_j_0" enabled="false"/>
<env folder="env_1" enabled="true"/>
</environments>
Folders with environments must be located in the config
folder and contain ui.xml or integration.xml or both files! Example:

If use two or more environments, they must contain the same settings: (the same number of ui.xml and integration.xml files, the same settings inside the files with the same aliases, only MANDATORY with different ports or hosts).
For mobile configuration must be different Appium servers and udid capabilities or use the Browser Stack.