Rerun only the API tests that failed
A suite of 200 requests fails on three. You fix the bug, or the flaky dependency comes back, and now you want to know if those three pass. Running all 200 again takes minutes and tells you nothing new about the 197.
In a test suite
Open the suite's Runs tab after a run. The summary shows passed, failed, errors, flaky, pass rate and p95, and a row per request. Rerun failed sends only the requests that didn't pass.
Only the requests that failed are sent. Steps that passed, Setup steps included, are not run again. That's what you want for independent checks, such as a read-only smoke suite. When the failed requests depend on earlier ones (a token from a login, an id from a create), a rerun of just those may fail for a different reason, such as a 401. Then run the whole suite. Keeping setup short makes that cheap: see setup and clean-up steps.
Read the failure before you rerun
Select a failed row to see every check with its expected and actual value, failures first. Three patterns:
- Same check, same actual value every time: a real bug or a changed contract. Rerunning won't help.
- Timeout or 503: an unstable dependency. Rerun, and if it passes, look at the flaky marker.
- 401 on everything after a point: a token expired or Setup didn't save it. Fix the suite, not the API.
Flaky or fixed?
The Flaky marker appears on a request that both passed and failed on the same environment and commit in recent runs. If a rerun passes without any change to the code, that's a flaky test, and the marker says so. If you changed the code and pushed, the commit differs, and a pass is a fix.
That's why reruns are saved like other runs: they're evidence. See dealing with flaky API tests for what to do about them.
Compare with the previous run
History lists earlier runs from the app and the CLI. Open one and use Changes since… to list what newly fails, what was fixed and what got slower. After a rerun, that's the quickest summary to paste into a ticket. See comparing test runs.
Collection runs
The collection runner in the app has no rerun button of its own, but you can narrow a run:
- Run folder on the folder that holds the failing requests;
- or open the failed request and Send it, which runs its scripts and checks the same way.
In the CLI and CI
Get the failed paths from the JSON report:
requestarium run-collection "Orders API" --env Staging --out report.json || true
jq -r '.results[] | select(.status != "passed") | .path' report.jsonRun one of them again:
requestarium run "Orders API/Payments/Capture payment" --env Staging --verbose--verbose prints the request, the response and the script console, which is usually what you need for the second look.
Don't make reruns automatic in CI. A pipeline that silently reruns failures until they pass hides flaky tests instead of fixing them. If a dependency is unreliable, use --retries for network errors and 502/503/504 only, or gate on a pass rate with --min-pass-rate, and keep the flakiness visible.