JMeter CSV Data
If you want to use a CSV file for something like user authentication start by uploading it to your scenario. From within your test plan, the file location can be found using the files_dir
system property. For example:
${__P(files_dir)}/users.csv
Splitting CSV files across test runners
In the Files section of the scenario screen there is a checkbox, “Split CSVs across test runners”. If this box is checked the CSV file will get split across the test runners so that each JMeter instance if you want each JMeter instance to get a unique part of the CSV file. Make sure you have at least as many rows in your CSV files as there are test runners configured in your test.