This enables you to iterate through your requests using multiple sets of input values, without modifying your request parameters each time.
Note: This feature is currently available only on the Requestly Desktop App.
Using a Data File in Collection Runner
Follow these steps to run a collection with custom data:Open Collection Runner
In the Collections sidebar, find the collection you want to execute and click the Run icon next to it..png?fit=max&auto=format&n=BcGD1R26VmBeUtbb&q=85&s=9cb3cf7cbf37c80ec1d186f675a5855e)
.png?fit=max&auto=format&n=BcGD1R26VmBeUtbb&q=85&s=9cb3cf7cbf37c80ec1d186f675a5855e)
Select a Data File
In the Runner configuration panel, click Select Data File..png?fit=max&auto=format&n=BcGD1R26VmBeUtbb&q=85&s=9aa8db70288783628d409232203b4238)
Once added, Requestly will automatically detect the file type and preview its structure.
Supports JSON & CSV files (max 100MB)
.png?fit=max&auto=format&n=BcGD1R26VmBeUtbb&q=85&s=9aa8db70288783628d409232203b4238)
Preview Data and Map Variables
After selecting the file, a preview of your data will appear..png?fit=max&auto=format&n=BcGD1R26VmBeUtbb&q=85&s=08dc968701ec99df4e78466b5ec4ad89)
- For CSV files: verify column names and types
- For JSON files: check object keys and structure
{{storyId}}..png?fit=max&auto=format&n=BcGD1R26VmBeUtbb&q=85&s=08dc968701ec99df4e78466b5ec4ad89)
How Data Files Work
When you attach a CSV or JSON file to your manual run:- Each row (CSV) or object (JSON) represents one iteration
- Variables inside your requests (like
{{storyId}}) will be replaced with the corresponding values - Requestly automatically cycles through each data set until all iterations are complete
Supported File Formats
CSV Format
- The first row defines variable names
- Each subsequent row represents one iteration
- Each row must have the same number of columns
JSON Format
- Must be an array of key-value objects
- Each object defines one iteration
Example Use Case
For a request like{{city}} with each value during the run.
Accessing Data in Scripts
You can access data file values programmatically in your pre-request and post-response scripts using therq.iterationData object. This allows you to implement conditional logic, validate responses, or perform calculations based on the input data.
Example:


.png?fit=max&auto=format&n=BcGD1R26VmBeUtbb&q=85&s=83ae6a56d4dc8533b7243718210d3191)