API Testing · Junior · Question 49 of 75
Why test pagination with page and limit parameters?
- 1Pagination only affects the UI, so it needs no API tests
- 2To make sure every page returns exactly the same items
- 3To check limits, last pages, empty pages and no duplicates
Show the answer
Correct answer: To check limits, last pages, empty pages and no duplicates
Explanation
Typical bugs: missing or repeated items between pages, limit=0 or huge limits accepted, wrong total counts.