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”

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”

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 – 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”