Skip to main content

Request Diff

Rockxy’s Diff workspace compares two captured transactions across structured sections — request line, host, query, headers, body, and timing — in a dedicated comparison window. Use it to spot regressions, compare environments, or isolate a parameter that triggers different server behavior. Rockxy ships two diff experiences:
  • Basic Compare is available in Community and is documented on this page.
  • Advanced Diff is available in Rockxy Pro and opens automatically when Pro is active.
Request diff workspace

Diff workspace comparing two captured transactions side by side

Entry Points

Workspace Layout

The Diff window is a resizable workspace (default 1240×820) with four zones:
  1. Toolbar — Swap Sides, Export, and (when FileMerge from Xcode is installed) Open in FileMerge
  2. Candidate Pool Table — dense table of comparison candidates with explicit Left/Right assignment
  3. Diff Viewer — the active comparison, showing structured sections
  4. Control Bar — compare target (Request / Response / Timing), display mode (Side by Side / Unified), and difference count

Rockxy Pro: Advanced Diff

When Rockxy Pro is active, the Diff window upgrades from Basic Compare to Advanced Diff. Advanced Diff keeps the same core comparison purpose but adds a more workflow-oriented surface, including:
  • a larger workspace layout
  • Compare History for reopening recent pairs
  • pinned comparison pairs
  • section summaries and jump navigation
  • quick follow-up actions such as Edit & Repeat, Replay, Map Local, Map Remote, Breakpoint, Network Conditions, Copy cURL, and Export HAR
If Pro is not active, the Community Compare window described below remains fully available.

How It Works

  1. Select two transactions in the traffic list (hold Cmd and click each row).
  2. Choose Compare Selected from the context menu, Diff menu, or keyboard shortcut.
  3. The Diff workspace opens with both transactions in the candidate pool, automatically assigned as Left and Right.
  4. The diff viewer shows the comparison immediately.
Reassign inside the workspace — click the L or R column on any candidate row to change the comparison sides without returning to the traffic list. Grow the pool — triggering Compare Selected again with different transactions adds them to the existing pool and makes them the active comparison. The workspace accumulates candidates across repeated comparisons. Manual text compare — open the Diff window empty (Cmd+Opt+Y) and paste text into Side A and Side B panes for freeform comparison.

Compare Targets

Switch between three comparison modes using the segmented control in the footer: Request — compares request-specific content in structured sections:
  • Request line (method + path + HTTP version)
  • Host
  • Query parameters (one per line)
  • Request headers
  • Request body
Response — compares response-specific content:
  • Status line (HTTP/1.1 + status code + reason)
  • Response headers
  • Response body
Timing — compares timing breakdowns:
  • DNS Lookup
  • TCP Connection
  • TLS Handshake
  • Time to First Byte
  • Content Transfer
  • Total

Display Modes

Side by Side — two synchronized panes with line numbers. Added lines (green) appear on the right, removed lines (red) on the left. Unchanged lines align vertically across both panes. Unified — one continuous diff stream with + and - prefixes, similar to standard unified diff format. Optimized for scanning the overall delta quickly.

Content Formatting

  • JSON bodies are automatically pretty-printed before diffing for readable output
  • Binary bodies show a placeholder: "Binary body (N bytes, content-type)" instead of garbled text
  • Empty bodies show explicit labels: "No request body" / "No response body"
  • Headers are compared one per line in Name: Value format

Interactions

Next Steps

Traffic Capture

Capture, filter, and inspect network traffic.

Request Replay

Re-send requests with modifications and compare against originals.

Rockxy Pro

Learn what Advanced Diff includes and how Pro fits into the product.

License Management

Learn how activation and license coverage affect access to Pro features.