Hi,
Make sure you are using CSV Dataset Config element before the sampler or any
component where you want to use it.
In your CSV Dataset Config element make sure you have entered the variables
appropriately. providing a sample below;
Filename: <actual-path>/csv.txt (if placed in jmeter/bin directory then you
can just enter the filename)
Variable name: username
Delimiter: *,*
Leave other fields to have a default value.
If you want to use this value in a sampler (say http)
then in the send parameters field add
name: username
value: ${username}
You can verify if the value is getting fetched or not using a debug sampler
and view results tree listener.
Thanks,
Prasanna
On Wed, Mar 31, 2010 at 12:53 PM, tigertester <[email protected]> wrote:
>
> no luck on this either.
>
>
>
>
> Andrey Pohilko-2 wrote:
> >
> > I suppose your problem is "${username}" as csv variable name. Try using
> > just
> > "username".
> >
> > Shortly: variable definition in JMeter is "var_name", and variable usage
> > is
> > "${var_name}"
> >
> >
> > Good Luck
> >
> >
> > С уважением,
> > Андрей Похилько
> > -----Original Message-----
> > From: tigertester [mailto:[email protected]]
> > Sent: Wednesday, March 31, 2010 11:12 AM
> > To: [email protected]
> > Subject: Re: csv read
> >
> >
> > my csv file looks like this
> >
> > username
> > [email protected]
> > [email protected]
> >
> > --
> > View this message in context:
> > http://old.nabble.com/csv-read-tp28092017p28092166.html
> > Sent from the JMeter - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/csv-read-tp28092017p28092263.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>