cancel
Showing results for 
Search instead for 
Did you mean: 

Test case doesn't stop if a step failed

SOLVED
Flo
Occasional Contributor

Test case doesn't stop if a step failed

Hello,

I figured out a difference between SoapUI Community and ReadyAPI which surprised me. Using testrunner.sh with Community version, any test case stop at the first error. This is not the case with ReadyAPI. It is the case with UI but not with test runner. I guess it should be the same.

 

Are you aware of that ?

Do you have a plan to implement something to change that ?

 

Cheers

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Test case doesn't stop if a step failed

I think the 'Abort on error' is indeed set from the UI but once it is done it also applies for the testrunner part.

 

I tested it using testrunner and couldn't reproduce your issue. I also attached the project I used.



If my answer helped please click on the 'Accept as Solution' button.
4 REPLIES 4
Community Manager

Re: Test case doesn't stop if a step failed

Hi @Flo,

 

I think the behavior you describe depends on the "Abort on error" ReadyAPI option. Please check the following documentation article:

https://support.smartbear.com/readyapi/docs/configure/preferences/default.html

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Flo
Occasional Contributor

Re: Test case doesn't stop if a step failed

You are right if using UI, but I am talking about testrunner.sh, for test automation. I think the option "Abort on errors" exists only for UI.

Highlighted
Community Hero

Re: Test case doesn't stop if a step failed

I think the 'Abort on error' is indeed set from the UI but once it is done it also applies for the testrunner part.

 

I tested it using testrunner and couldn't reproduce your issue. I also attached the project I used.



If my answer helped please click on the 'Accept as Solution' button.
Flo
Occasional Contributor

Re: Test case doesn't stop if a step failed

This seems to work after copied my own soapui-settings.xml to the server which launch testrunner.sh.

This was the solution, thanks for helping me out.

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