I have a situation where I need to pause all of the threads to a particular endpoint when I receive a specific error code from the response. So I basically need to look for this error code (ex. 404) and pause for a random num of secs b/t 3 and 10. Below is my current test structure. I have looked at the logic controllers but I am unsure how to implement. I assume that I would need to wrap each request with this logic. Thanks for your help!
- Test Plan
- Thread Group
- CSV Data Set Config
- HTTP Request 1
- HTTP Request 2
- Summary Report
- Thread Group
Matt