[Test Scenario] Follow this to Test Pagination of Back-end like a Pro πŸ†

Sajitha Pathirana
3 min readAug 10, 2023

Let’s assume the back-end is implemented with REST.

Test Pagination of BE like a PRO

Request β€” GET /product/search?page=1&size=10

Response

{
"metadata": {
"page": 1,
"perPage": 10,
"pageCount": 2,
"totalCount": 14
},
"results": [
{
"product": "Pen",
"quantity": "10",
"unitprice"…

--

--

Sajitha Pathirana

A Test automation enthusiast, passionate to help the teams to enhance their testing journey with his decade of experience in the field.