API Testing · Middle · Question 20 of 75
What should you test for cursor-based pagination?
- 1Following cursors returns all items once, and bad cursors give 400
- 2That page numbers can be skipped by changing the cursor
- 3That the cursor is always a number in increasing order
Show the answer
Correct answer: Following cursors returns all items once, and bad cursors give 400
Explanation
Check the last page has no next cursor, tampered cursors are rejected, and the order stays stable.