Status Code - CI/CD Glossary Definition
A status code is the three-digit HTTP number that classifies a response as success, redirect, or error.
A status code is the three-digit HTTP number in a response that signals the result: 2xx success, 3xx redirect, 4xx client error, 5xx server error. Contract tests assert the exact code an endpoint returns.
Status codes are the first thing a test checks: a 200 versus a 500 tells you if the request succeeded. Asserting exact codes catches regressions the body alone might hide.
Classes
1xx informational, 2xx success, 3xx redirection, 4xx client error, and 5xx server error. A 429 is rate limiting; a 503 often signals a service not ready.
Related guides
Rate Limiting - CI/CD Glossary DefinitionRate Limiting: Rate limiting restricts how many requests a client can make in a time window, protecting a ser…
Health Endpoint - CI/CD Glossary DefinitionHealth Endpoint: A health endpoint is a URL (often `/health`) that reports whether a service is running, used…
Endpoint - CI/CD Glossary DefinitionEndpoint: An endpoint is a specific URL and method combination that an API exposes to perform an operation, s…