You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Shih-Chen Chiang <sc...@llbean.com> on 2006/02/27 21:35:59 UTC

Which controller to use with CSV data set config

Hi All,

I am using a CSV data set config to read values into my variables.  This
CSV data set config has 10 rows.  I have one HTTP Request Sampler that
defines those variables.  I tried to use a Loop Controller with the HTTP
Request sampler as its child.  But only the first row of my CSV data
file gets used by all the iterations.  Which controller should I use
with the CSV data set in order to run through each of the 10 rows?

Thanks,
Shirley

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Variable scoping in jmeter

Posted by sebb <se...@gmail.com>.
They are local to each thread.

S.
On 28/02/06, Garry L. Thompson <gt...@attensa.com> wrote:
> What is the scope of variables in Jmeter? Are they global across all threads
> or local to each thread? In particular, if I generate a series of variables
> via the regular expression extractor do I need to do something like put the
> thread number into the variable name to be able to use multiple threads?
>
> ---------------------------------------------------------------------
> 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


Variable scoping in jmeter

Posted by "Garry L. Thompson" <gt...@attensa.com>.
What is the scope of variables in Jmeter? Are they global across all threads 
or local to each thread? In particular, if I generate a series of variables 
via the regular expression extractor do I need to do something like put the 
thread number into the variable name to be able to use multiple threads? 

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Which controller to use with CSV data set config

Posted by ZK <st...@gmail.com>.
Hi,
put the CSV data set config at the root of your loop




ZK

--
View this message in context: http://jmeter.512774.n5.nabble.com/Which-controller-to-use-with-CSV-data-set-config-tp516169p5617327.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org