cancel
Showing results for 
Search instead for 
Did you mean: 

Run two test steps in the same test case asynchronously

SOLVED
jscorzelli
Occasional Contributor

Run two test steps in the same test case asynchronously

Here is my question:

 

Is it possible to run two test steps, that are within the same test case, asynchronously?

 

 

Thanks,

Jonny

1 ACCEPTED SOLUTION

Accepted Solutions
nmrao
Community Hero

Re: Run two test steps in the same test case asynchronously

Thank you for the request which provoked me to create sample project to demonstrate the same.

Please find the details below:
https://github.com/nmrao/sample-soapui-projects/blob/master/runStepsInParallel/READ-ME.md


Regards,
Rao.

View solution in original post

6 REPLIES 6
nmrao
Community Hero

Re: Run two test steps in the same test case asynchronously

Do you mean to run in parallell?


Regards,
Rao.
jscorzelli
Occasional Contributor

Re: Run two test steps in the same test case asynchronously

Sure, is it possible to run two test steps in parallel (in the same test case)?

nmrao
Community Hero

Re: Run two test steps in the same test case asynchronously

I believe not by designed.
Because, steps are always gets executed one after other.

If needed to execute in parallell, then they have to be a test case each where soapui allows to run the test cases in parallell.

By the way, what is your use case?

But, one can write a groovy script to execute the steps in parallell.


Regards,
Rao.
jscorzelli
Occasional Contributor

Re: Run two test steps in the same test case asynchronously

Do you know what that groovy script would look like?

 

The use case is I have one step that basically can't finish until another step begins. I want to keep them in the same test case so I can eventually use alertsite. 

nmrao
Community Hero

Re: Run two test steps in the same test case asynchronously

Thank you for the request which provoked me to create sample project to demonstrate the same.

Please find the details below:
https://github.com/nmrao/sample-soapui-projects/blob/master/runStepsInParallel/READ-ME.md


Regards,
Rao.

View solution in original post

jscorzelli
Occasional Contributor

Re: Run two test steps in the same test case asynchronously

Awesome! Thanks so much for all your help!

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors