You can define the urls in the csv data format and have Jmeter loop through it.
The csv file can be defined and loaded with the CSV data config.
The variable names stand for each of the columns in the csv file, and can be referred in the loop controllers.
Example:
- Define an while controller with the Condition as
${url} - Define an child
CSV Data Set Config, with the file path and the variable name url which stands for the column listing the urls. - Use the
${url}with the http request handler to fire the request. - To stop execution after the end of the CSV file is reached: within the
CSV Data Set ConfigsetRecycle on EOF? = FalseandStop thread on EOF? = True.