Android 11 devices and Charles

This tutorial will show you how to configure Charles and your Android 11 device so you can view your app’s network traffic in plain text. FYI, the root certificate installation steps are slightly different to older Android versions NOTE: Since Android Nougat (7.1), Google have blocked you from intercepting/decrypting network traffic from Play Store apps.Continue reading “Android 11 devices and Charles”

Android Emulators and Charles

The only slight difference between configuring Charles to work for physical devices and emulators, is the wifi network. Emulators only have 1 available wifi network. All other setup task are the same as for a real Android device Android Wi-fi network You will notice that there is only 1 wifi network As your emulator isContinue reading “Android Emulators and 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 “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”