Manual Pagination Loop vs CSV‑Driven Page Tokens: Which Minimizes Memory Footprint?
We need to load a large dataset from an API that exposes pagination via ?page=1&size=50 . The test must iterate over all pages until a nextPage token disappears. Two documented approaches exist in k6: (1) a manual loop that updates the page token or number on each iteration, and (2) a data‑driven method that reads a CSV or JSON file of page tokens and us