Fail Test Case only if it ENDS with failed Test Steps
I have a test case that runs a rest request up to 10 times. The first few iterations pretty sure will not meet the requirements of the smart assertion but at the 10th iteration it must do! My problem now is that by default ReadyApi consideres every TestCase a fail if one test step failed. Therefore I disabled the checkbox "Fail Test Case if it has failed Test Steps" in the test case option. Unfortunately the behaviour now is that the Test Case always passes even though my Test Steps fails at the 10th iteration after which it simply proceeds with the rest of the test case.
What I'd like to have is the option that the test case results in a pass only when all Test Steps at the end of the Test Case are pass but each Test Step is allowed to fail inbetween. I'm pretty sure there is a solution to this and tha the answer is somewhere in the forum. I just couldn't find it.
Some additional info: I do the rerunning of the paticular test step either with a groovy script or a conditional goto. In Case of the groovy script I could manually fail the test case. In case of the Conditional Goto however this is not possible.
Any suggestion would be highly appreciated.
Thanks in advance!