Skip to content

Response Diff

Response Diff is a side-by-side comparison tool for two entries in your Request History — same endpoint across dev and prod, before and after a deploy, an old replay against a fresh run. Pick two; see exactly what changed.

  1. Open the History tab in the sidebar.
  2. Click Compare to enter selection mode.
  3. Click exactly two entries. The Compare button activates.
  4. Click Compare — the Diff view opens.

The Diff view has four tabs:

TabWhat it shows
RequestURL, method, headers, body — side-by-side
ResponseStatus, headers, body with JSON-aware structural diff
TimingDuration, request/response size
AllLinear merged view for long diffs
  • Unchanged fields render dimly.
  • Added (⊕) and removed fields are highlighted with color badges.
  • Changed (⚠) fields show old / new inline.

Controls in the header:

  • [Swap A ↔ B] — flip sides
  • [Save as diff test] — generate a .flow file with @assert body equals assertions pinning response B as the expected result
  • [Back] — return to history

After clicking Save as diff test, Sendpad writes a .flow like:

### A — GET user (dev)
# @name a
GET {{baseUrl_dev}}/users/42
# @extract a_body = $.
### B — GET user (staging)
# @name b
GET {{baseUrl_staging}}/users/42
# @assert body equals {{a_body}}

Run this flow any time to verify the two envs haven’t drifted.

Compare mode is hidden on the Free tier.