Skip to content

Failures

These commands find what went wrong in a capture: requests that failed, were redirected over and over, took too long, or were rejected for their credentials. Each one explains the failure in the terms the server used, so you can tell a bug from a decision.

Failed and slow requests

Command The question Page
errors Which calls returned an error, and what did the server say? Errors
redirects Which routes redirect again and again, or send the client to another host? Redirects
transitions Which failed calls were followed by a success, and which by another failure? Status transitions
slowest Which calls were slowest, and which phase took the time? Slowest calls
startup What happened in the first seconds, and what ran in sequence? Startup profile
cascade What failed first, and what failed after it? Cascade

Auth

Command The question Page
auth Which calls were rejected, did the token change, did a refresh go wrong? Auth failures and refresh
jwt What do the tokens say, and had they expired? JWTs

A habit worth having

A failure in a capture is a fact about one request. The cause may be in the server, in the client, in the network or in the capture itself. Before you act, read the response body with errors, open one request with show-entry, and check validate that the capture has the bodies and headers you are relying on.

Recipes

  • Repeats covers calls that happen too often.
  • Inspect opens one request in full.