Wait Until Keyword Succeeds (WUKS) and API testing

So far so good. The issue that I want to get clarification on is that the Fatal Error keyword does not only terminate the current test but ALL other tests within that same suite. So if I have a test file where the very first test case’s API fails and causes a Fatal Error , the remaining test cases of the same suite will no longer be processed.

About what you mentioned above, maybe you could create a special condition to avoid waiting so long. For example, add a sleep of 60s in case of failure and make your WUKS with 120x 1s. It’s not the perfect solution, but your test will not be stuck for so long.

Another suggestion here… when you are executing the tests, you could separate then in 2 executions. First run all the stable/critical tests and then the unstable/non-critical. You can use different files with one of then having the first line as --non-critical followed by all the tests or using tags for the 2 different executions. I know there is a way to put both results in the same html report, but I don’t remember what is the syntax.

Good luck!
Evaldo.