jackluo1981
12 years agoNew Contributor
Do not fail the test step if it times out
I got a scenario as following: there is a particular rest api that will take a long time to run and I knew it's gonna be time out which is a normal process here, then I will use another api to check the run status. I knew it's a bad design. If it takes a long time to run something on the server side then server should return a message rather than leaving the request times out. Unfortunately I don't have control around the server.
So I'm looking for a setting like "do not fail the test step if it times out" but I couldn't find it. The test step always failed whenever there's a timeout error.
Anybody got some idea will be appreciated.
Thanks
So I'm looking for a setting like "do not fail the test step if it times out" but I couldn't find it. The test step always failed whenever there's a timeout error.
Anybody got some idea will be appreciated.
Thanks