Testing with a Cloudflare waiting room enabled #3325
DominicWatson
started this conversation in
Artillery
Replies: 1 comment 6 replies
-
Yes should be possible with a bit of custom JS if not something else - what would the check for whether the waiting room is active or not look like? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to script a scenario where a request will be retried when encountering either rate limiting or something like a Cloudflare waiting room response?
Currently in my scenario, the VU will just fail and exit the scenario early when running into these - I'd like it to keep retrying in order to emulate a real user attempting to get through the task they want to achieve.
My scenario is just a single flow that is an array of simple GETs and POSTs. On any one of those, I'd like the request to be retried after a short pause IF they encounter a certain response code.
Beta Was this translation helpful? Give feedback.
All reactions