Skip to content
Bugwise
Menu

Which HTTP status codes should a tester know?

WebJunior

In shortKnow the groups (2xx success, 3xx redirect, 4xx client error, 5xx server error) and the common ones like 200, 201, 204, 301, 302, 400, 401, 403, 404, 409, 429, 500, 502, 503 and 504.

Model answer

Every response from the server has a status code. The first digit tells you the group:

CodeMeaningTester’s note
200 OKSuccessStill check the body; a 200 can contain an error message.
201 CreatedNew item createdExpected after a successful POST.
204 No ContentSuccess, empty bodyCommon for DELETE.
301 / 302RedirectCheck old URLs redirect correctly.
400 Bad RequestInvalid inputShould come with a clear validation message.
401 UnauthorizedNot logged in / bad tokenApp should send the user to login.
403 ForbiddenLogged in, but not allowedGood sign in access-control tests.
404 Not FoundDoesn’t existShow a friendly page, not a blank screen.
409 ConflictDuplicate or clashFor example, email already registered.
429 Too Many RequestsRate limitedExpected after many login attempts.
500 Internal Server ErrorServer crashedAlmost always a backend bug.
502 / 503 / 504Gateway, unavailable, timeoutInfrastructure or slow services.

Why it matters: in DevTools or Postman, the status code tells me where to look. A 500 goes to the backend developer; a 200 with wrong data displayed may be a front-end bug. And the UI should handle every error code gracefully.

Learn more: API Testing with Postman

What they're looking for

The meaning of the code groups, the common codes, and how they help decide who owns a bug and what the expected behavior is.

Common mistakes

  • Mixing up 401 and 403.
  • Assuming a 200 status means everything worked.
  • Not knowing that 5xx usually points to a server-side problem.

More web questions

Esc

Type to search the whole site.