I have static domain name (test.com) of site and CSV file with path to different pages like home.html, contacts.html, projects.html and other. How I have to configure Jmeter to receive data from file as variable to "PATH" to "HTTP Request" sampler?
Asked
Active
Viewed 1,450 times
1 Answers
0
Add CSV Data Set Config to your Test Plan and configure it as follows:
In the HTTP Request Sampler define "Path" element as
/${path}
See Using CSV DATA SET CONFIG article for more detailed explanation of above and other settings.
If your CSV file structure is as simple as "one line - one entry" you can even get rid of the CSV Data Set Config and use __StringFromFile() function instead.

Dmitri T
- 159,985
- 5
- 83
- 133