In that case, either variable is misspelt, or there is some other
error  - check jmeter.log.

On 27/03/07, Josh Feldman <[EMAIL PROTECTED]> wrote:
I am using the csv data set in the sampler not in the request default.

The sampler is not picking up the variable.

Josh

-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 27, 2007 1:08 PM
To: JMeter Users List
Subject: Re: CSV Data set config problems

CSV DataSet does not read from the file until after Config elements
such as the HTTP Request default test element, so the variable is not
available until too late.

CSV Dataset is intended for samplers that need lots of variable data.

Best to use properties instead, and refer to them with the __P()
function on the HTTP RD element.

Properties can be defined on the command-line, in jmeter.properties or
in user.properties.

S.

On 27/03/07, Josh Feldman <[EMAIL PROTECTED]> wrote:
> Yeah that was a typo. This is what is set up
>
> Thread Group
>        http request default
>        CSV Data set config
>        http sampler
>        View results Tree
>
> no controllers.
>
> -----Original Message-----
> From: Christensen, Alan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 27, 2007 12:24 PM
> To: JMeter Users List
> Subject: RE: CSV Data set config problems
>
> I am assuming that the difference between the variable names (terms)
and
> the $(term) is a typo.  If not, then you need to fix this.
>
> Is the csv configuration element within the loop containing the
> reference?
>
> -----Original Message-----
> From: Josh Feldman [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 27, 2007 9:05 AM
> To: JMeter Users List
> Subject: CSV Data set config problems
>
> I have used this function in the past. Going back the scripts that
were
> working, currently are not.
>
> I am working from the GUI.
>
> I set up the CSV Data set config:
>
> Filename = abc.csv
> Variable names = terms
> Delimiter = ,
> EOF = true
>
> In the http sampler I have the parameter set q = ${term}
>
> I have the file abc.csv in the jmeter bin directory. ABC is a dummy
> file, I made in excel: A on one line, B on the second, and so forth.
> Saved in csv format.
>
> When I run the script the request is GET
> http://www.google.com/search?q=${terms}, and it doesn't seem to be
> reading the file.
>
> I downloaded Jmeter again, and got the same result.
>
> Any suggestions?
>
> Josh Feldman
>
> ---------------------------------------------------------------------
> 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]
>
>
> ---------------------------------------------------------------------
> 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]


---------------------------------------------------------------------
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]

Reply via email to