Forum Discussion
SmartBear_Suppo
15 years agoSmartBear Alumni (Retired)
Hello,
Hm...try this:
add this groovy script in teardown for test suite and change file name...
Let me know, does this helps,
robert
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