Delaying request
With ModResponse, you can add additional delays before an HTTP request is sent. This allows you to simulate slow network reliably. With this, you can see how you web app behaves when your backend is taking a long time to respond, or when the network is too slow, and design a solution to handle these edge cases.
Delaying a request
To delay a request without modifying its response
- Click on the at the top and select Delay request.
- Enter the URL that you would like to add delays
- (optional) If you would like to use regex for URL matching, click on the button and enter the regex URL expression in the text field.
- Enter the amount of milliseconds to delay. The HTTP request to the matching URLs will be delayed entered before it is sent.
To delay a request for an existing modifying response behavior
- Click on the at the right side of the URL.
- Enter the amount of milliseconds to delay. The HTTP request to the matching URLs will be delayed before the response is being handled.