Delay #727
Closed
cyberience
started this conversation in
Ideas
Delay
#727
Replies: 1 comment 1 reply
-
Hi, I'm not sure to understand the question, but some tips:
- name: Test with retries and delay in seconds between each try
steps:
- type: http
method: GET
url: https://eu.api.ovh.com/1.0/
retry: 3
retry_if: # (optional, lets you early break unrecoverable errors)
- result.statuscode ShouldNotEqual 403
delay: 2
assertions:
- result.statuscode ShouldEqual 200 Did you try that format? if it's not enough, you can compte retry / delay in a step 'exec' manually. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Due to ddos protection I utilise delay functions on failure states, for this, it would be excellent if I can test for this, for example, if an action has a delay on an error, then its a pass.
I have trouble understanding the documents to get my tests working, for example where does it say to place _ charecters when there is a space in a json field? or how to create a delay between tests? maybe its obvious, and I am new to this tool, so any guidance is welcome.
Beta Was this translation helpful? Give feedback.
All reactions