Creating a new data source and using the type
Paginated Data Source will let you fill out the following values.
Select the data source you want to use for pagination. Depending on the pagination type this data source needs to expose variables to control the paging process.
You can choose between 3 different pagination types:
Page-based uses a page variable which starts at 1 and will increase by one for each following page.
Page: 1, 2, 3, …
Offset-based uses an offset variable which starts at 0 and will increase by the amount of items returned by each response.
Cursor-based uses a cursor variable which starts empty and will send the cursor value from the last response.
Follow URL uses an url to request the next page
Offset / Page / Cursor Variable
Depending on the pagination type use the appropriate variable exposed by the data source. See the example below for more details.
Each page response must be added to the finished result. This JsonPath will capture the result from each page, e.g.
Defines the condition to tell that the last page has been loaded. Choose between the following:
Total Value Reached will look at a numeric value within each response to determine if the last page is reached
A Boolean (True) Value will look at a boolean (true/false) value with each response to determine if the last page is reached. The finish condition is reached if the selected value is
A Boolean (False) Value will look at a boolean (true/false) value with each response to determine if the last page is reached. The finish condition is reached if the selected value is
Empty Result will determine that the last page is reached if the response delivers an empty result.
Empty Target will determine that the last page is reached if the response delivers an empty target.
A JsonPath that points to the value used for the
The maximum amount of pages that can be loaded is defined by either the amount of items or value of maximum page size.
Below 10.000 items the max page size is 20 and above 10.000 items the max page size is 6
The total bytes of all cumulated pages cannot surpass the response limit of 15 MB