Use variable in request URL with CSV data file

Original post: Use variable in request URL

I am able to use PUT to a single assetID (โ€œ273โ€), which is in the URL.

I then want to use a CSV data file as a runner, to make the assetID a variable in the URL (instead of static โ€œ273โ€).

So I created a CSV file where row 1 = โ€œassetIDโ€ and below are all the assetID numbers.

I then created variable {{assetID}} in the URL, and uploaded the CSV file to form-data. But I get an error in return.

@danny-dainton can you please assist? Or anyone? :slight_smile:

Hey @lewism1992 :wave:

You pass the datafile into the Collection Runner by selecting this in the configuration. This wouldnโ€™t go in to the request.

@danny-dainton Now working correctly- thanks very much!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.