Forum Discussion
Yeah.. i tried that too .. I'm getting this message..
No signature of method: com.eviware.soapui.impl.wsdl.WsdlTestCasePro.cancel() is applicable for argument types: () values: [] Possible solutions: any(), each(groovy.lang.Closure), any(groovy.lang.Closure), clone(java.lang.String, java.lang.String), collect(), collect(groovy.lang.Closure)
The WsdlTestCasePro class does not have the cancel and fail methods, these are on the WsdlTestCaseRunner (and the test suite and project runners).
I'm not sure myself how (or if you can) access the runners from the script assertion. As an alternative, you could add a Groovy test step after your request step to interrogate the assertions and make the decision at that step whether to continue or not?
You may also have to look at the test case options, In particular the two options:
- Abort on Error
- Fail Test Case on Error
and possibly adjust these to suit your needs.
Related Content
- 3 years ago
- 4 years ago
Recent Discussions
- 16 hours ago