If you are running a distributed testing, split your csv file content among as many files as is the number of remote servers used. Copy each file to a different jmeter agent, but on the same path. If needed, configure this path in your JMeter Test Plan. This way each remote server will use a distinct set of your data and you will have your requests using different parameters.
Hope it helps you. Flávio Cysne 2012/6/12 Shmuel Krakower <shmul...@gmail.com> > Put the CSV Data Set Config under the thread group and do not duplicate it > under each sampler. > This way all samplers will share the same dataset. > > Shmuel. > > On Tue, Jun 12, 2012 at 6:19 PM, hans jung <junghansm...@googlemail.com > >wrote: > > > Ok, but I have several requests. > > Each Request uses the parameter ${username}. > > What I see s that all requests use the exact same username > > I want each request to pick a new username. > > > > How can I do this in jmeter? > > > > 2012/6/12 Niraj <niraj.khatm...@gmail.com> > > > > > 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 < > junghansm...@googlemail.com > > > >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. > > > > > > > > > >