Forum Discussion

hafizimraan's avatar
hafizimraan
Occasional Contributor
5 years ago

How to run next test step/case while previous one is still running in SoapUI Pro?

Hi Community Members Under one test suite I have multiple test cases i.e.1 to 10. Upon running of test suite Soapui does have option to run in parallel/serial but my scenario requires to run test su...
  • hafizimraan's avatar
    hafizimraan
    5 years ago

    Got the solution by adding following code under groovy step.

    Thread.start {
    	testRunner.runTestStepByName("Test Step 1")
    }
    testRunner.runTestStepByName("Test Step 2")

    What does this code do: 
    Thread.start will run Test Step 1 & will move to Test Step 2 without waiting for the result/response of Test Step 1.
    nmrao HimanshuTayal  Thanks Guys for your help. Really appreciated.