Hello,
Hm...try this:
import com.eviware.soapui.model.testsuite.TestStepResult.TestStepStatus
for ( result in runner.results ) {
def tc_name = result.getTestCase().getName()
def status = "OK"
for( stepResult in result.getResults() )
if( stepResult.status != TestStepStatus.OK ) {
status = "FAILED"
break;
}
def time = result.timeTaken
new File('/home/robert/ts_report.txt').append("$tc_name,$status,$time\n")
}
add this groovy script in teardown for test suite and change file name...
Let me know, does this helps,
robert
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️