Charles Rewrite rules – Common Problems

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! Unescaped characters “$” symbol in Response body If you have an unescaped “$” in your Response body value, the response can sometimes fail toContinue reading “Charles Rewrite rules – Common Problems”

3 ways to Reduce unwanted network traffic

Other than using the “Filter” field, there are 3 other ways to reduce the amount traffic your Charles sessions captures Recording Settings Exclude traffic from being recorded Add the URL(s) to the “Exclude” tab of the “Recording Settings…” feature Proxy -> Recording Settings -> Exclude Focused Host Focusing on specific hosts As the name suggests,Continue reading “3 ways to Reduce unwanted network traffic”

Advanced Repeat

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”

View localhost traffic

If you are developing something on your local machine you may like to the ability to view your traffic in Charles. In this tutorial we will show you how to proxy your localhost traffic through Charles Prerequisite Install Charles Make sure you have setup the Charles Root certificate on your Mac before you proceed to the next stepContinue reading “View localhost traffic”

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”

Screen mirroring and recording with Charles

Mirroring your device’s screen on your Mac can be really useful if you want to demo some work or show how to recreate a bug. This tutorial will show you how to mirror physical iOS and Android devices on your Mac while recording your screen. We will use Quicktime for mirroring iOS devices. While AndroidContinue reading “Screen mirroring and recording with Charles”