jackluo1981
12 years agoNew Contributor
Don't fail test step when it's timeout
I got a scenario as following:
There's a rest service's gonna take a long time to run, I knew the request's gonna be timeout which is a normal process here. Then I query about the result using another interface. I knew it's bad design, if server's gonna run something in the background then it should always return a message first rather than a timeout, but unfortunately I don't have control around the server side.
So I'm trying to a setting like "don't set the test step to failure if timeout" but couldn't.
If there's anyone can give me a hand?
Thanks
There's a rest service's gonna take a long time to run, I knew the request's gonna be timeout which is a normal process here. Then I query about the result using another interface. I knew it's bad design, if server's gonna run something in the background then it should always return a message first rather than a timeout, but unfortunately I don't have control around the server side.
So I'm trying to a setting like "don't set the test step to failure if timeout" but couldn't.
If there's anyone can give me a hand?
Thanks