Simulate a slow response
Medium70 pts~25 min
- Latency simulation
- Timeouts
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 slow endpoint to test latency handling and a client-side timeout.
Your task
- 1GET BASE_URL + "/slow?delay=1500" and assert { delayedMs: 1500 } and elapsed ≥ 1500 ms.
- 2Call BASE_URL + "/slow?delay=3000" with a 1000 ms client timeout and assert it times out.
Acceptance criteria
- GET /slow returns 200
- At least 2 assertions pass
Fixtures
- apiKey
- tqa_live_key_123
- basicUser
- admin
- basicPassword
- secret
- username
- qa@target.dev
- password
- Test@123
API testing · API Testing · Mocking & virtualization