What broke since yesterday? Compare two API test runs
"12 failed" is a number. "3 started failing since this morning's deploy, 1 was fixed, and checkout got 400 ms slower" is a diagnosis. The second is what you need when you open a failed run, and it comes from comparing it with an earlier one.
Get runs into the history
Comparisons need runs to compare. Runs from the app's suite runner are saved when you can send requests in the workspace. From the CLI and CI, add --save-run:
requestarium run --suite "Orders/Regression" --env Staging --save-run --junit results.xmlA saved CI run records the branch, the commit and a link to the job. That's what makes "since the last run on main" a meaningful comparison.
Compare
Open the suite in Tests, go to Runs, then History, and open a run. Changes since… lets you pick an earlier run and lists:
- Newly failing: passed then, fails now. Start here.
- Fixed: failed then, passes now.
- Slower: passes in both, but takes noticeably longer now.
The full results of each run are still there, one row per request, if you need the whole picture.
Which run to compare with
| Question | Compare with |
|---|---|
| Did the deploy break anything? | The last run before the deploy, same environment |
| Did my branch break anything? | The last run on main |
| Is the dependency upgrade safe? | A run from before the upgrade, same commit otherwise |
| Is staging drifting from production? | A production smoke run against the same suite |
Comparing runs on different environments mostly shows environment differences, which is sometimes exactly the point and usually noise.
Slower is a regression too
"Slower" catches what pass/fail doesn't. A request that went from 120 ms to 900 ms still passes a 1-second budget, and is a bug. When something shows up in the slower list, check the trend column in the Runs tab, which shows each request's recent results and timings, to tell a one-off from a step change.
For a hard limit across the whole run, add a p95 gate in CI: --max-p95 800. See performance budgets with p95.
Share it
The change list is the short version of a failed run, which is what people want in a ticket or a chat thread. For the full details, download the run as an HTML report or JUnit from the Runs tab. Jira on failure can file the issue from CI with the failed requests included.
Collections, too
Every suite run also appears in the run history of each collection it touched, and collection runs saved from the CLI land there as well. requestarium runs "Orders API" lists them in a terminal, newest first, with branch, commit and counts:
requestarium runs "Orders API" --limit 10