Forum Discussion

roryLIT's avatar
roryLIT
Contributor
12 years ago

Test fails overall after loop

I ran my testsuite of 60 testcases. I have a groovy step after a soap request step in each testcase which goes back to the start of the test and reruns if the soap request returns a failure in the response. This works fine however the issue seems to be in the testsuite run results. For example, one test failed at the soap request and therefore looped back to the start and reran. It then passed on the soap request the second time round and the test continued to run and passed overall (checked this by looking at the individual test step results in the test tree to the left of the screen. In the testsuite run window the test shows as failed overall however. It seems the overall status is based on the first run and not the second run of the test. It's 'logged' the failed soap request and not the passed one when it was rerun. Any ideas why?

Thanks