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: Performance testing Monitor health of specific endpoints Prerequisites Make sure you have installed and configured the Charles Root certificate on your MacContinue reading “Advanced Repeat”
Category Archives: Tools
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: Quickly generate 4XX/5XX error scenarios that would otherwise be difficult or time consuming to create Continue to do front-end testing even when services throw 4XX/5XX errors Save Responses that are hard to recreate so they canContinue 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”
Rewrite – Modify the Request and the Response
The Rewrite feature allows you to automatically change parts of HTTP Requests and Responses every time they meet a pre-defined set of rules. This tutorial will show you how to use the Rewrite feature to change the Request and the Response. Please note that you need to compete the Rewrite – Modify the Request tutorialContinue reading “Rewrite – Modify the Request and the Response”