hard20 pts · first answer countsapi-testingflaky-tests
Testing an eventually consistent API
After POST /orders returns 201, a GET /orders/search call reads from a search index that updates within a few seconds. An API test that searches immediately fails sometimes. What is the right approach?
Discussion 0
Join free to post in the discussion.
Related questions
- Reading an API status codeQA Engineer
- Status code for a created resourceQA Engineer
- 401 vs 403QA Engineer
- Testing PUT idempotencyQA Engineer
- Flaky Playwright visibility checkQA Engineer
- Replacing Thread.sleep in SeleniumQA Engineer
- Chaining requests in PostmanQA Engineer
- Testing an API rate limitQA Engineer