Skip to content

Inspect error response bodies

A status code tells you something failed. The response body tells you what. Maxoperf captures error response bodies during a run and shows them on the run detail page so you can debug from real data instead of guessing.

  • A 4xx burst that looks like an auth issue but might be a validation error.
  • A 5xx that lists a specific upstream service in the body.
  • A test scenario that produces unexpected redirects or HTML error pages.
  1. Open the run and switch to the Errors tab.

    Run detail Errors tab — the summary bar shows total and distinct error counts before you drill into a row.
  2. Filter by status code or by request label to narrow down the slice you care about.

  3. Click a row to open the error detail panel. The captured response body appears, along with the request method, URL, and the timestamp of the failing sample.

  4. Look at the body content. Most APIs return structured JSON with a clear error code or message — that is usually the fastest path to the root cause.

  5. Cross-reference with logs. The Logs tab shows what the runner did around the same timestamp; together with the response body you usually have enough to act.

  • The response body is captured for failed requests (non-2xx status codes and assertion failures).
  • A configurable cap on body size keeps the captured payload reasonable. Very large bodies are truncated with a marker.
  • Request headers and bodies you sent are not captured by default to avoid leaking secrets. The exact request shape is in the test files you uploaded.

If the captured body is empty or unhelpful (for example, an HTML error page that does not name the cause), the next step is usually: