Retrying a scenario only under certain conditions #281
-
I am reading this section on My question is how I can amend the @retry.for_http(403)
Scenario: API call works
Given I have a token # get cached token, or refresh it if it has expired
When I file a cucumber-rs issue
Then I will figure out how to solve my problem Any ideas how I can approach this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@tgsmith61591 we don't support more complex logic for the retries and I don't think that we will ever do that. Quoting the
So I think the best way to deal with your situation is to implement in-step retry or some way to preemptively rotate API keys. |
Beta Was this translation helpful? Give feedback.
@tgsmith61591 we don't support more complex logic for the retries and I don't think that we will ever do that. Quoting the
cucumber
bookSo I think the best way to deal …