Forum Discussion
phanisrikar
14 years agoContributor
Sorry Henrik to post the reply to the soapui question in this forum
Naveen,
teardown script to get the status of each step based on the test step class.
def results = testRunner.getResults()
//log.info results.Count()
for (result in results) {
//log.info result.testStep.class - to get the test step class
//log.info result.testStep.name - to get the test step name
if (result.testStep.class == com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep) {
log.info "Step Name : "+result.testStep.name+ " Status : "+ result.getStatus()
}
}
Please post the questions related to soapui in soapui subforum
Thanks & Regards,
Phani
Naveen,
teardown script to get the status of each step based on the test step class.
def results = testRunner.getResults()
//log.info results.Count()
for (result in results) {
//log.info result.testStep.class - to get the test step class
//log.info result.testStep.name - to get the test step name
if (result.testStep.class == com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep) {
log.info "Step Name : "+result.testStep.name+ " Status : "+ result.getStatus()
}
}
Please post the questions related to soapui in soapui subforum
Thanks & Regards,
Phani