svanoort / pyresttest

Python Rest Testing
Apache License 2.0
1.15k stars 326 forks source link

Pause between two requests #297

Open aor-fokus opened 5 years ago

aor-fokus commented 5 years ago

Is there a possibility to pause some time between two requests?

After the first request the server needs some time to create a resource. But if the second/next request comes in too fast the resource is not existing yet and so the test fails.

Thank you in advance

ip1981 commented 5 years ago

Maybe that means a minor design issue in server? Delay can be very long, I would say server should respond with something like 303 See Other, or somehow make it clear that the client should wait.