Practice API returns 200 OK on every call but hides ten bugs for testers to find
The Checkcraft team, which makes an API-checking desktop app, has released a free online-shop practice API with no sign-up required. Every response returns 200 OK, yet ten bugs are planted in the data, such as an order where the total does not equal subtotal minus discount. The exercise is meant to teach that a successful status code does not confirm a result is correct. Testers can use Postman, curl or a browser, and the guide provides a way to check answers against the planted bugs. The authors recommend testing relationships between fields and cross-checking responses against a service log rather than only checking status codes.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in