Forum Discussion
nmrao
Champion Level 1
8 years agoThe method return type is String. However, in the else part below would return void / nothing.
testRunner.fail
I believe that it can be more simplified if you can specify more details like what response and what is the expected result.
- jkrier8 years agoRegular Contributor
Well if the response is "no" I would like to return the SoapUI command "testRunner.fail()" and have the test fail. Am I not explaining that correctly?
I would like for the test to fail at that point just like I would if I was running this in a Groovy step in the project itself.