jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prasanna bhat <prasannabha...@gmail.com>
Subject Re: csv read
Date Wed, 31 Mar 2010 07:33:46 GMT
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 <john.bejoy@gmail.com> 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:john.bejoy@gmail.com]
> > Sent: Wednesday, March 31, 2010 11:12 AM
> > To: jmeter-user@jakarta.apache.org
> > Subject: Re: csv read
> >
> >
> > my csv file looks like this
> >
> > username
> > demo@demo.com
> > demo1@demo1.com
> >
> > --
> > 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: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
>
> --
> 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: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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