SiKing
14 years agoCommunity Expert
testRunner.fail not working?
Hi all.
I am running SoapUI 3.5.1. Just stated Groovy scripting. How does testRunner.fail(message) work?
- I was under the impression, from the API docs and from Browsing other posts here, that the script and test would stop at this point. I have both "Fail on error" and "Fail TestCase if it has failed TestSteps" tuner on, but the script still continues. How do I get it to stop?
- In the GUI, I can see the message in the Log Output window. However, if I am running from the command line, where does the message go? I checked all three logs as well as the testcase.txt, and I do not see the message anywhere.
TIA for any valuable input.
I am running SoapUI 3.5.1. Just stated Groovy scripting. How does testRunner.fail(message) work?
- I was under the impression, from the API docs and from Browsing other posts here, that the script and test would stop at this point. I have both "Fail on error" and "Fail TestCase if it has failed TestSteps" tuner on, but the script still continues. How do I get it to stop?
- In the GUI, I can see the message in the Log Output window. However, if I am running from the command line, where does the message go? I checked all three logs as well as the testcase.txt, and I do not see the message anywhere.
TIA for any valuable input.