Forum Discussion
3 Replies
Sort By
- testhrishiFrequent Contributor
Thanks Lucian, however I wonder if there some grrovy script I can use at event level which will apply to all the tests in project when event triggers using response status code.
- testhrishiFrequent Contributor
for ( testCaseResult in runner.results )
{
testCaseName = testCaseResult.getTestCase().name
if ( testCaseResult.getStatus().toString() == "FAIL" )
{
testCaseResult.testCase.run(null, false)
}
}Looks like this try to run entire case. Is it possible to run just the failed step/request using similar script?