Your Privacy
We use cookies to give you a better experience in Alchemy Help Center
You can learn more about what kind of cookies we use, why, and how from our Privacy Policy. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings in our cookie banner to change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer. For more details, check out our Privacy Policy link below.
View Privacy Policy
Strictly Necessary Cookies
These cookies are necessary for the website to function and cannot be switched off in our systems, but do not store any person information. They are usually set in response to your actions that triggers a request for services, such as setting your privacy preferences, logging in or filling forms. You can change your browser settings to alert you about these cookies, but some parts of the Website may not work.
View Cookies
Does Alchemy support parallel execution?
0 Votes
1 Comments
TheBugScout posted 3 days ago
Yes, Alchemy supports parallel execution.
You can achieve this by executing your suite .jar file through the command prompt with the parallel testing command execution option.
Below is the command line option available for parallel execution:
-p, --threadcount <arg> — Specifies the maximum number of threads to run in parallel.
Let’s look at an simple example to understand this better:
Suppose you have created a suite with the execution location set to Integrated and recorded three tests.
As you have created the suite with Integrated, a default execution package would be added with three browsers: Chrome, Edge, and Firefox, with a maximum available of 2 resources for each browser.
Now Let's say, if you want to execute your three tests parallelly on only the Chrome browser, you have to remove Edge and Firefox from the execution package and keep only Chrome. Then, you have to set the maximum available for Chrome to 3, meaning three resources will be available for Chrome.
So, when you execute your suite executable by a command like java -jar "nameofyourjarfile.jar" -p 3, all three tests will start executing in parallelly on the Chrome browser.
We have a separate article on Command Line Execution in the Knowledge Base section.
Here is the link to that article: https://support.alchemytesting.com/support/solutions/articles/153000141967-command-line-execution
Thanks!
0 Votes
Login or Sign up to post a comment