jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hans jung <junghansm...@googlemail.com>
Subject Re: Updatiung CSV Parameters in Each reauest in Iteration
Date Tue, 12 Jun 2012 15:19:23 GMT
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.khatmode@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 <junghansmega@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.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message