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).

XML
Copy

<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 where ui.xml and integration.xml files are stored
  • enable - a boolean value that enables or disables environment usage
  • threads - attribute to specify the quantity of threads (default value = 1)
XML
Copy

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.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard