Sessions & HAR
Rockxy supports saving and restoring captured traffic in two formats: the native.rockxysession format for full-fidelity session files, and the industry-standard HAR (HTTP Archive) format for cross-tool compatibility.
Native .rockxysession Format
Rockxy’s native format preserves the full session including metadata, user annotations, and all captured transactions.| Action | How to Access |
|---|---|
| Open Session | File > Open Session… (Cmd+O) |
| Save Session | File > Save Session… (Cmd+Shift+S) |
What .rockxysession Preserves
| Data | Preserved |
|---|---|
| Transactions (URL, method, headers, body, status) | Yes |
| Timing info (DNS, TCP, TLS, TTFB, transfer) | Yes |
| WebSocket frames | Yes |
| GraphQL operation info | Yes |
| Log entries | Yes |
| User comments | Yes |
| Highlight colors | Yes |
| Pinned/saved status | Yes |
| TLS failure flags | Yes |
| Client app name | Yes |
| Session metadata (dates, version, count) | Yes |
Saving a Session
- Capture traffic as usual.
- Choose File > Save Session… (
Cmd+Shift+S). - Pick a location and filename. Rockxy writes a
.rockxysessionfile.
Opening a Session
- Choose File > Open Session… (
Cmd+O) and select a.rockxysessionfile. - Rockxy shows an Import Review sheet with file metadata (name, type, request count, file size) and a warning if the current session is non-empty.
- Click Replace Current to load the session, or Cancel to abort.
- The loaded transactions appear in the traffic list with all annotations (comments, highlights, pins) restored. The status bar shows the import source.
HAR Format
HAR is a JSON-based format supported by browser DevTools, Charles Proxy, Proxyman, mitmproxy, and other network tools.| Action | How to Access |
|---|---|
| Import HAR | File > Import HAR… (Cmd+Shift+I) |
| Export HAR | File > Export HAR… (Cmd+Shift+E) |
Importing a HAR File
- Choose File > Import HAR… (
Cmd+Shift+I). - Select a
.haror.jsonfile. - Rockxy shows an Import Review sheet with file metadata and a destructive warning if you have an active session.
- Click Replace Current to import, or Cancel to abort.
- Imported transactions appear in the traffic list. The status bar shows the import source.
Exporting to HAR
- Choose File > Export HAR… (
Cmd+Shift+E). - An Export Scope sheet lets you choose what to export:
- All Transactions — everything captured
- Visible / Filtered — only what the current filter shows
- Selected — only selected transactions
- Click Export… to open the save dialog.
- Pick a location and filename. Rockxy writes a standard HAR 1.2 file.
Exported HAR files may contain request bodies, cookies, and authorization headers. Review exports before sharing.
Other Export Options
Beyond file-level session save/export, Rockxy supports copying individual requests in several formats via the right-click context menu:- Copy as cURL — ready-to-run cURL command.
- Copy as Raw HTTP — full HTTP/1.1 text dump.
- Copy as JSON — structured JSON representation.
- Export as HAR… — save a single request as a
.harfile.
Limitations
- HAR export includes HTTP transactions only. WebSocket frames, GraphQL metadata, log entries, and user annotations (comments, highlights) are not included in HAR files. Use
.rockxysessionfor full-fidelity saves. .rockxysessionfiles are not compatible with other tools — use HAR for cross-tool sharing.- Bodies larger than 10 MB are truncated in
.rockxysessionfiles. - Large sessions with many transactions may take a few seconds to save or load.
Next Steps
Traffic Capture
How Rockxy captures HTTP, HTTPS, and WebSocket traffic.
Request Diff
Compare two captured transactions side by side.
