Forum Discussion
JKambli
Staff
9 years agoIf you would like to know each assertion status,
for (suite in testRunner.testCase.testSuite.project.getTestSuiteList()){
for (test1 in suite.getTestCaseList()){
for (i in test1.getTestStepsOfType(com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep )){
for( assertion in i.assertionList )
{
log.info "Assertion [" + assertion.label + "] has status [" + assertion.status + "]"
}
}
}
}
ripplegupta
9 years agoContributor
Hi, yes its possible via groovy and testRunner class. But can i get test steps status via some reports so that i can acces that during jenkins run only instead of writing this groovy in my each project.