Forum Discussion
jkrier
8 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.
nmrao
Champion Level 1
8 years agoWell, test can be failed, But nothing to return.
- jkrier8 years agoRegular Contributor
How can the test be failed? That's what I am trying to find out.
- nmrao8 years ago
Champion Level 1
You already have testRunner.fail(), right.- jkrier8 years agoRegular Contributor
Yes but this is not failing the test and an error is returned instead.
"groovy.lang.MissingPropertyException: No such property: testRunner for class: library.serviceAvailabilityResult.ServiceAvailabilityResult error at line: 4"
Do I need to import something in the external script?