Migrating from Charles Proxy
A map of Charles's tools onto Solpuga's and how to carry a recorded session over as HAR: what travels, what is lost, and the limits.
What maps to what
Charles puts everything under Tools; Solpuga has some of it under Tools, some in Settings and some in the request list's context menu.
| Charles | Solpuga |
|---|---|
| Map Local | Map Local |
| Breakpoints | Breakpoints |
| Rewrite | Rewrite, with rule import from Charles |
| SSL Proxying Settings: Include and Exclude | SSL Proxying: selected or all hosts, bypass list |
| Bypass Domains | Bypass list |
| Client Process | Originating application |
| Focus | Pin Host |
| Copy cURL Request | Copy as cURL |
| Export Session → HAR | HAR 1.2 export |
| Import Session → HAR | HAR import, read-only |
| The host tree | Grouping by host, application and device |
| Filter | Search, bodies included, and filters |
| Timing | Per-phase timing |
| Root certificate on a mobile device | Setup wizards: iOS (on macOS) and Android |
| External Proxy Settings | Partly: system proxy or PAC only, no authentication |
| WebSocket | Partly: messages recorded, none sent |
| Map Remote | Partly: via Rewrite |
Carrying sessions over as HAR
Charles's own .chlz is readable by nothing else, so HAR is the route:
Charles has exported it since 3.6, and Solpuga opens it.
In Charles. File → Export Session… → format HTTP Archive (.har) →
save. For part of a recording: select the requests and
File → Export Selected Session….
In Solpuga. Tools → Import Session from HAR…
(Cmd/Ctrl + Shift + I), or open the .har from your file manager. It opens
in a separate read-only window with its own list and inspector, so a live
capture is untouched — you can read somebody else's session without stopping
your own.
One limit: files over 500 MB are refused. A day-long Charles session passes that easily, so export a selection rather than everything.
What comes across
Request and response headers, bodies, statuses and timings — everything HAR 1.2 describes. The imported window uses the same inspector as a live capture: JSON folds into a tree, images open with zoom, binary shows as hex. Bodies and raw messages can be saved to files.
What is lost
These are limits of the format, not of anybody's implementation:
- Rules. Map Local, breakpoints and filters are not in HAR at all — the format describes traffic, not settings. Rules have to be recreated, and the fastest way is from a request in a live capture: the rule is filled in with the response that actually arrived. The HAR window does not create rules. Rewrite rules come over separately (see below).
- WebSocket. HAR has nowhere to put it.
- Binary request bodies. HAR 1.2 has no encoding field for a request body:
Solpuga's export writes such bodies as base64 and marks them with its own
_encodingfield, and an importer that does not know the field shows the base64 as text. Other exporters have size limits of their own. - Unfinished requests. Solpuga's export omits them, and failed ones go out
with status
0. - Double decompression. Bodies in Solpuga's HAR are decrypted and
decompressed, while the response headers are kept as they arrived. An importer
that believes
Content-Encodingwill try to decompress a second time. Text opening as garbage is this, not a broken file.
Carrying Rewrite rules over
Rewrite rules come over in a file.
In Charles. Tools → Import/Export Settings → the Export tab → tick
Rewrite → Export.
In Solpuga. Tools → Rewrite → Import… → choose the file. Rule sets come over with their names and locations. Solpuga skips anything it cannot carry over and says so. How the rules work is in Rewrite.
Importing does not turn on HTTPS decryption: add the rules' hosts under Settings → SSL Proxying.
What you get instead
An interface in English and Russian, and a free tier with no time limit.