API Testing · Middle · Question 60 of 75
What should you check when an API returns lists of items?
- 1Only the first item, since all items look alike
- 2Only that the response is an array in JSON
- 3Item structure, count, order, limits and total fields
Show the answer
Correct answer: Item structure, count, order, limits and total fields
Explanation
Bugs often hide in later items: nulls, missing fields, wrong types for some records.