23 Jun 2021, updated: 29 Dec 2021 Rewrite rules are an awesome tool but there are a few gotcha’s you should be aware of when using them. This post might save your future self hours of futile debugging! # Using multiple Rewrite rules # Unescaped characters # Rewrite Rules and the OPTIONS method # DebugContinue reading “Rewrite rules – Common Problems”
Category Archives: Tools
Advanced Repeat
09 Nov 2020, updated: 04 Jan 2021 The Advanced Repeat feature lets you automatically hit endpoints at predefined intervals. You can also to add delays between each iteration. In this tutorial we are going to demonstrate 2 use cases for this feature: Open Advanced Repeat settings Right click the endpoint and select “Advanced Repeat” fromContinue reading “Advanced Repeat”
Rewrite – Modify elements in the Response body
The Rewrite feature lets you automatically change elements of a Request or Response each time they meet a predefined set of rules. In this tutorial, with a simple Regular expression, we will target specific properties in the Response and then use the Rewrite tool to automatically modify their values. In this tutorial we are goingContinue reading “Rewrite – Modify elements in the Response body”
No Caching
This feature gives you the ability to force your app/website to get the latest version of a resource from the server, instead of getting a cached one. This tutorial will show you how to use the No Caching feature to force your browser to get the latest version of a NY Times from their serversContinue reading “No Caching”
Map Local
This is a great tool if you want to quickly swap a hosted image, file, PDF, etc. with a locally stored one. This is useful if you don’t want to or don’t have time to rebuild and deploy a new instance of your application. In this tutorial we are going to swap an image hostedContinue reading “Map Local”
Focused Hosts
The Focused Hosts feature is a great way of quickly filtering out all the traffic you are not interested in. If you combine Focused Hosts with the Filter textfield you can filter on an already filtered result. The more traffic you have to deal with, the more useful this feature becomes This tutorial will showContinue reading “Focused Hosts”
Map Remote
This feature is really useful if you want to point your application to a different environment. This can be useful if, for example, you are debugging a Production issue and you need to quickly point your Prod build to a non-Prod environment but want to avoid rebuilding and redeploying the application. It can be aContinue reading “Map Remote”
Rewrite – Modify the Response
The Rewrite feature allows you to automatically modify distinct parts of the Response. Here are some helpful use cases: The Rewrite feature has a long list of other rules you can add to your Response. You can add rules to: This tutorial will show you how to change the Response body and status code toContinue reading “Rewrite – Modify the Response”
Rewrite – Tips & Tricks
Here are some tips and tricks I’ve picked up over the years while working with Rewrites that make creating them a little easier! The ‘Notes’ Columns Swap ‘Info’ column for ‘Notes’ The more Rewrites you use the more sense it makes to swap the ‘Info’ column for the ‘Notes’ one Right-click the the bar withContinue reading “Rewrite – Tips & Tricks”
Rewrite – Redirect URL
Rewriting URLs can be really useful if you need to point your new build to a specific environment i.e. point Prod build at non-Prod env. At a previous company I used this feature to redirect traffic from our Android Test build to our Prod environment. This tutorial will show you how to use the RewriteContinue reading “Rewrite – Redirect URL”