Add "CSV Data Set Config" below thread group. Provide the CSV file
name\path (if not placed in Bin folder) in filename.
Now for ex if you want new user name for each iteration, then add Users in
CSV. Add variable names in "CSV Data Set Config" element say Username.
Then in all your requests replace user name with ${Username}. You are good
to go.
On Tue, Jun 12, 2012 at 5:57 PM, hans jung <[email protected]>wrote:
> Hi There,
>
> I have a thread group with several requests in it. All request have the
> same parameter in them.
> I also have a csv file with values for that parameter.
>
> How can I link my jmeter project to the csv file, so that each request
> sends a new value from the file?
> I tried the csv dataset config(by putting under each request), but that one
> seems to send the same parameter value with all requests per thread
> iteration.
>
> This is not enough. I need a fresh value read from the csv file with every
> single request.
> How can I accomplish this?
>
> Is it possibel, to make jmeter pick a random line from that csv file?
>
>
> Regards, thanks in advance.
>