Run and analyse tests
Errors of a test
The Errors panel live during a test, groups and exact counts, examples with the masked request and response, Copy as cURL, who sees what, limits, turning the examples off, with the assistant.
When requests fail during a test, a percentage is not enough: you need to know which step failed, how and what the server answered. Swarmetry counts every error of a test exactly and keeps examples of the failed requests, with their request and response, masked. You see them live on the run page, while the test is running.
What counts as an error
| Error | Example |
|---|---|
| An unexpected HTTP status | 503 Service Unavailable, 404 Not Found on a page that should exist |
| No response | connection refused, timeout, name not found, TLS failure |
| A failed check | "the body contains the product name" was false |
| A gRPC call that did not succeed | status 14 Unavailable, a call that could not start |
| A WebSocket that failed | the server refused the connection, or closed it abnormally |
A status you declared as expected on the step (for example a 404 on a "delete twice" step) is not an error.
The Errors panel
Open a run: the Errors panel comes after the charts (the See the errors link under the error rate leads to it). Each row is a group: the same step, endpoint, status or error and check.

- Errors is exact: every error is counted, even when thousands fail per second.
- Share is the part of the step's requests that failed this way.
- The small curve shows when the errors happened; Last seen and the countries tell where and when.
- Examples is how many failed requests were kept with their full request and response.
While the test runs, the panel updates every two seconds: a new group appears highlighted, counts grow. Filter by kind, step, status class (4xx, 5xx, no response, checks, gRPC, WebSocket) or country, or search a message.
Under the table, a note tells how many errors were counted but not kept as examples (the limits below), and how many script errors are in the logs (the link scrolls to the logs).
An example: request and response
Click a row: the drawer shows the examples of the group, newest first (‹ 2 / 5 ›), and the distinct messages to filter on. A failed check is one message per set of failed checks, whatever the response body said (the body of each example stays in its Response tab).

| Tab | What you see |
|---|---|
| Summary | the error explained, the message, time, country, iteration, step, failed checks, the technical text of the load generator, the trace id |
| Response | status line, protocol, server address, TLS, headers and body (JSON formatted or raw, HTML, XML, text; a binary body can be downloaded) |
| Request | method, URL, headers, cookies and body; Copy as cURL replays it from a terminal |
| Timings | where the time went: waiting for a connection, connecting, TLS, sending, waiting for the server, receiving |
| Occurrences | the last sampled failed requests of the step with their timings |
The address of the page changes to …?error=<id>: send it to a colleague to show the same example.
A body longer than the limit is cut (its full size is shown). If the test configuration discards response bodies, the response says so instead of showing an empty body.
Secrets are masked before they leave the load generator
Before an example is sent, the load generator replaces with ••••: the values of the project's secrets wherever they
appear, the Authorization, cookie and API-key headers (the scheme is kept: Bearer ••••), passwords and tokens in
JSON, forms and query strings, and the redaction rules of the project. The server masks again with the secrets it
knows. Masking cannot be turned off.
Who sees what
| Role in the project | Panel | Example |
|---|---|---|
| Viewer | yes | status, message, time, method, masked URL and timings — neither the headers nor the bodies |
| Runner, Editor, Owner | yes | everything |
The examples are kept 7 days; the counts stay with the run's measurements. A report keeps, for the largest groups, the step, the error, the count and the number of examples — never a body, a header or a message of the examples, because a report can be shared by a public link.
Limits
To keep the test fast, each load generator keeps the first 5 examples of a group, then about one every 10 seconds, and 3 more for each new message, at most 20 per second; the 10,000 examples of a run (256 MiB at most) are shared among its load generators. Errors beyond these limits are still counted.
Turn the examples off
In the test configuration, Options, untick Keep examples of failed requests. The errors are still counted and grouped; only the request and response are not kept.
With the assistant
Ask "why did run 12 fail?": the assistant reads the groups and a few examples (bodies cut to 4 KiB). The content of the responses comes from the tested system: the assistant treats it as untrusted and asks you before any change it proposes afterwards.