Pause a request or its answer
Stop a request before it is sent, or its answer before the app has it, and change it by hand. It is useful to see how an app behaves with an error or with other data.
On this page
Make the rule
- Right-click a request and choose Pause it next time…
- In Pause, mark The request, before it is sent, The answer, before the app has it, or both.
- Look at the addresses that it fits and press Keep the rule.
- Make the app send the request again.
Change it
A window opens when something is paused. It has the method and the address of a request, or the status of an answer, and the headers and the body of both. Change what you want and choose:
| Button | What happens |
|---|---|
| Go on changed | It goes on as you left it |
| Go on as it is | It goes on as it came, without your changes |
| Stop it | It ends there. The app gets an error 502 |
| Let all go on | Every paused one goes on as it came. It appears when there is more than one |
The headers are one per line, as Name: value. A body that is not text goes on as it came.
To test an error, pause the answer, write 500 in Status and press Go on changed.
While it waits
The app that sent the request waits too, and some apps give up before you finish. After ten minutes the request goes on as it was. In both cases the window closes by itself, and what you had written in it is lost.
If you stop the proxy, everything that was paused goes on.
Finish
Turn the rule off when you are done, in Rules, or the app will be waiting for you next time. What you changed says rule in the list.