Forum Discussion
SmartBear_Suppo
15 years agoSmartBear Alumni (Retired)
hi,
so here is my suggestion:
also you need to uncheck 'Fail on error' option in Test Case options
Let us know if this helps
regards
nebojsa
eviware.com
so here is my suggestion:
import com.eviware.soapui.model.testsuite.Assertable.AssertionStatus
def tsr = context.getProperty( "#TestSuiteRunner#" )
if( tsr != null ){
if( tsr.currentTestCase.getTestStepByName("My Request").assertionStatus==AssertionStatus.FAILED ){
tsr.cancel( "The assertion failed" )
}
}
also you need to uncheck 'Fail on error' option in Test Case options
Let us know if this helps
regards
nebojsa
eviware.com
Related Content
- 2 years ago
- 2 years ago
- 2 years ago
Recent Discussions
- 5 days ago