cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOLVED
Highlighted
Occasional Contributor

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

@nmrao 
let me try this approach as suggested above. Am already trying each approach at test step level as we as on test case level.
@HimanshuTayal Am using Groovy Script.

One more question regarding reply to post: In Morning i replied to @nmrao but now that reply isn't appearing. can u put some light on it whats wrong?  

Highlighted
Community Hero

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

If it is only one step, let it do using step (Use test case if there is a need)
Yes, you try exactly as specified. If you understand as you read the code, it starts both the steps in two different threads and the groovy script waits till both steps are completed. So assuming that which is what you need.

Regarding your other point, that is related to community site; not members hands.


Regards,
Rao.
Highlighted
Occasional Contributor

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

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.

 

View solution in original post

Highlighted
Community Hero

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

Nice. But, there is nothing new than the approach and script provided to you.


Regards,
Rao.
New Here?
Join us and watch the welcome video:
Top Kudoed Authors