Modify the test case result depending on the last retry result
with reference to how to control the test run described in: (https://support.smartbear.com/readyapi/docs/functional/steps/groovy.html#verifying-response)
I would like to control the test case status using groovy scripts not failing test run but a single test case, using the testcase option would either stop the test case on first test step failed or would indicate that the test have ended regardless if some of test steps have failed or after some retries, or even is some haven't bee run.
the required scenario is the following:
Having test case TC1
Test step 1 : Do something
Test Step 2: if Test step one failed and max retry < 5 wait 20s then go for Test step 1
Test step 3 ....
Test step Las: 3 set the test case status depending on last run of Test Step1 , Step3...
Thanks in advance