Ask a Question

Executing Multiple projects Parallel in Ready API

Senthil007
Occasional Contributor

Executing Multiple projects Parallel in Ready API

I am trying to execute multiple projects in Parallel in Ready API  - SOAPUI NG as below in a groovy script:

 

def project1 = ["C:/Program Files/SmartBear/ReadyAPI-2.0.0/bin/testrunner.bat", "-sSuite1", "-EDefault environment", "C:/gitRepo/service1"].execute()
def project2 = ["C:/Program Files/SmartBear/ReadyAPI-2.0.0/bin/testrunner.bat", "-sSuite2", "-EDefault environment", "C:/gitRepo/service2"].execute()
def project3 = ["C:/Program Files/SmartBear/ReadyAPI-2.0.0/bin/testrunner.bat", "-sSuite3", "-EDefault environment", "C:/gitRepo/service3"].execute()
def project4 = ["C:/Program Files/SmartBear/ReadyAPI-2.0.0/bin/testrunner.bat", "-sSuite4", "-EDefault environment", "C:/gitRepo/service4"].execute()

 

Upon executing, I get a message "Script-result: java.lang.ProcessImpl@198ab3m"

 

How do I find if the script has actually called the individual composite projects and executed the test? What am I missing here?

 

Thanks,

11 REPLIES 11
nmrao
Champion Level 2

How did you execute from command-prompt? I mean what command have you used? You may want to check the command line options help and use appropriate options to see get the results and reports.

By the way, have you checked the log files to see what is going on?


Regards,
Rao.
Nastya_Khovrina
SmartBear Alumni (Retired)

To learn more about external process management in Groovy, see its documentation.


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: