Understand 5xx status codes
Easy30 pts~12 min
- 5xx semantics
- Retryability
Practice app · Acme REST API
A live REST + GraphQL API with auth, validation, pagination, rate limiting and an interactive request console.
Your starter code already declares BASE_URL — call the API relative to it.
Objective
Use the status utility to receive server errors and assert your client surfaces them correctly.
Your task
- 1GET BASE_URL + "/status/500" and assert status 500 and body.status === 500.
- 2GET BASE_URL + "/status/503" and assert status 503.
- 3Make sure your client does not throw or retry silently on 5xx.
Acceptance criteria
- GET /status/500 returns 500
- GET /status/503 returns 503
- At least 2 assertions pass
Fixtures
- apiKey
- tqa_live_key_123
- basicUser
- admin
- basicPassword
- secret
- username
- qa@target.dev
- password
- Test@123
API testing · QA Automation · HTTP fundamentals