Find an item matching a condition
Medium70 pts~25 min
- Searching JSON
- Predicates
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
Search a list client-side for the item that matches a condition and assert its details.
Your task
- 1GET BASE_URL + "/users?limit=100".
- 2Find the user whose email is "grace@acme.test".
- 3Assert it exists, its name is "Grace Hopper" and its role is "editor".
Acceptance criteria
- GET /users returns 200
- At least 3 assertions pass
Fixtures
- apiKey
- tqa_live_key_123
- basicUser
- admin
- basicPassword
- secret
- username
- qa@target.dev
- password
- Test@123
API testing · QA Automation · Working with JSON