Business analysis glossary
Pagination
What it is
Pagination is returning a large list from an API in smaller pages, such as fifty records at a time, with parameters like limit and offset, page and size, or a cursor. The response usually includes the total count and a link or token for the next page.
Why it matters
Returning thousands of records at once makes APIs slow and can crash apps. Pagination keeps responses fast and predictable. Analysts specify the default and maximum page size, the sort order and how the client gets the next page, and they include these in acceptance criteria and test cases.
Example
The order history API at Parcel Bazaar returns twenty orders per page, newest first, with a maximum page size of fifty and a next link. The analyst adds a test case for a customer with exactly fifty orders to check the last page and the empty next link behave correctly.