loading...

Convert Charles Proxy log to Proxyman

nghiatranuit profile image Nghia Tran ・2 min read

It's the mini blog on how to convert Charles log (*.chls) to Proxyman.

It's a handy feature if you have a bunch of error log that you've already captured from Charles and would like to investigate or migrate to the Proxyman app.

How it works

Fortunately, Charles has a built-in command that allows us to convert the CHLS file to the HAR format that Proxyman can understand. Thus, please make sure that you have this app on your machine.

FYI: We can manually convert by executing this command on Terminal

./Applications/Charles.app/Contents/MacOS/Charles convert ~/Desktop/input.chls ~/Desktop/output.har

How to use

\1. Export Charles Session: We can export the current session in two ways:

  • Right-click on the selected requests -> Export Session -> Select *.chls format -> Save
  • or File menu -> Export Session as... -> Select *.chls format -> Save

Alt Text

\2. Drag and Drop to Proxyman app

You can drag and drop the file to Proxyman app

Alt Text

\3. At the first time you've used this feature, Proxyman would prompt the warning to make sure you're aware that Proxyman will use Charles to convert automatically.

Alt Text

If Charles app doesn't install on your Mac, Proxyman would prompt the alert.

\4. All done

At this step, Proxyman will find the default Charles app path and trigger the command to convert the file.

Alt Text

From here, we can:

  • Repeat & Edit the request for testing
  • Set rule for Map Local & Breakpoint

Proxyman is a high-performance macOS app, which enables developers to view HTTP/HTTPS requests from apps and domains on iOS devices, iOS Simulator, and Android devices.

Get it at https://proxyman.io

Posted on by:

nghiatranuit profile

Nghia Tran

@nghiatranuit

@proxyman. Previously at @toggl

Discussion

markdown guide