Bug Report
Prerequisites
Description
When using ChaosHandler, it should work in interactive scenarios (not only Unit Tests). Right now, if it fails once, it will always fail, which creates a wrong experience in testing throttling handling.
Steps to Reproduce
- Inject a ChaosHandler in a list of middleware
- If the first requests gets throttled, then it will always fail. Making testing an interactive scenario impossible
Expected behavior: [What you expected to happen]
Every new request should get randomized and potentially succeed.
Actual behavior: [What actually happened]
It's always failing if the initial random identifies the request as a 429.
Additional Context
Add any other context about the problem here..
Usage Information
SDK Version - [SDK version you are using]
Node Version - 10
Browser Name - Edge
Version - 89.0
AB#9063
Bug Report
Prerequisites
Description
When using ChaosHandler, it should work in interactive scenarios (not only Unit Tests). Right now, if it fails once, it will always fail, which creates a wrong experience in testing throttling handling.
Steps to Reproduce
Expected behavior: [What you expected to happen]
Every new request should get randomized and potentially succeed.
Actual behavior: [What actually happened]
It's always failing if the initial random identifies the request as a 429.
Additional Context
Add any other context about the problem here..
Usage Information
SDK Version - [SDK version you are using]
AB#9063