Forum Discussion
- 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?
Related Content
- 5 years ago
- 5 years ago
Recent Discussions
- 24 hours ago
- 4 days ago