cancel
Showing results for 
Search instead for 
Did you mean: 

Execute multiple projects in parallel using testrunner.bat

Madhusm
Occasional Contributor

Execute multiple projects in parallel using testrunner.bat

I have almost more than 100 projects which is executed nightly using testrunner.bat file. It takes quite some time to complete the entire batch. Is there a possibility that I can run projects in parallel?

 

How the batch works now is it goes to the directory where the projects are stored picks up each projects executes and pushes the results in a db and then picks up the next test. So how can I modify it to pick up project and execute in parallel.

This is the command which gets executed :

C:\Program Files\SmartBear\ReadyAPI-3.8.0\bin\testrunner.bat" -r -j -f"C:\temp\Amalia 12.1\20210616_1200_186\Project1" -E"Amalia 12.1" "C:\TFS\TestWare\xml\Amalia 12.1\Project1.xml"> "C:\temp\Amalia 12.1\20210616_1200_186\Project1.txt" 2>&1

3 REPLIES 3
nmrao
Community Hero

Re: Execute multiple projects in parallel using testrunner.bat

Use multiple command line terminals and invoke them in parallel.


Regards,
Rao.
HimanshuTayal
Community Hero

Re: Execute multiple projects in parallel using testrunner.bat

@Madhusm : You can use below method which will execute the Test Cases parallelly, this will reduce the execution time :

 

https://stackoverflow.com/questions/45865400/parallel-execution-of-requests-in-soapui

 

however what @nmrao has said is also correct you can invoke multiple command lines and execute the projects


Click "Accept as Solution" if my answer has helped,
Remember to give "Kudos" 🙂 ↓↓↓↓↓



Thanks and Regards,
Himanshu Tayal
sonya_m
Community Manager

Re: Execute multiple projects in parallel using testrunner.bat

Thank you, Rao and Himanshu. These are great suggestions!

@Madhusm Which approach did you choose?


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors