Hi,
Unfortunately there is no such property as TestCase status.
What you could try is going through each TestStep of a TestCase and check it's assertionStatus if it is assertable. The groovy script could look something like this :
for(testCase in testSuite.testCaseList) {
def failed = false
for(testStep in testCase.testStepList) {
if( testStep instanceof com.eviware.soapui.model.testsuite.Assertable && testStep.assertionStatus.toString() != "VALID" ) {
failed = true
break;
}
}
if( failed ) log.info testCase.toString() + " FAILURE!"
else log.info testCase.toString() + " SUCCESS!"
}
Regards,
/Dragica
eviware.com