You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ori Marco <or...@praxell.com> on 2007/11/08 13:23:45 UTC
Dynamic parameters
Hi
I want to take parameters from a fixed list and move forward to next
parameter while in the same thread.
If I needed a different threads than CSV Data Set Config will be best to
use.
Can I cause to move to next line of CSV data set inside thread or is
there another component which I can be used?
Thanks
Ori Marko
Quality Assurance Engineer
Praxell Inc.
http://www.praxell.com <http://www.praxell.com>
Re: Dynamic parameters
Posted by sebb <se...@gmail.com>.
Try the __split() function.
On 08/11/2007, Ori Marco <or...@praxell.com> wrote:
> Hi
>
> The problems using _StringFromFile() is that for each variable I need to
> create a file
> (not as csv where variables can be in the same file in each line)
>
> Can this be overcome?
>
> Ori Marko
> Quality Assurance Engineer
> Praxell Inc.
> http://www.praxell.com
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Thursday, November 08, 2007 4:57 PM
> To: JMeter Users List
> Subject: Re: Dynamic parameters
>
> On 08/11/2007, Ori Marco <or...@praxell.com> wrote:
> > Hi
> >
> >
> >
> > I want to take parameters from a fixed list and move forward to next
> > parameter while in the same thread.
> >
> > If I needed a different threads than CSV Data Set Config will be best
> to
> > use.
> >
> > Can I cause to move to next line of CSV data set inside thread or is
> > there another component which I can be used?
>
> CSV Dataset is a Config item, and the values only change once per
> iteration.
>
> You could use the __StringFromFile() function in a User Parameters
> Pre-Processor
> (Update once per iteration should not be checked)
>
> Note that the value will be updated for every sampler in scope,
> whether or not they use the variable. If there are other samplers
> involved, you may be able to get round this by adding a Simple
> Controller to contain the UP and its samplers.
>
> If you use the StringFromFile function directly in the sampler, then
> each sampler will read through the file separately, which is probably
> not what you want.
>
> >
> >
> >
> > Thanks
> >
> >
> >
> > Ori Marko
> > Quality Assurance Engineer
> > Praxell Inc.
> > http://www.praxell.com <http://www.praxell.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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Dynamic parameters
Posted by Ori Marco <or...@praxell.com>.
Hi
The problems using _StringFromFile() is that for each variable I need to
create a file
(not as csv where variables can be in the same file in each line)
Can this be overcome?
Ori Marko
Quality Assurance Engineer
Praxell Inc.
http://www.praxell.com
-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com]
Sent: Thursday, November 08, 2007 4:57 PM
To: JMeter Users List
Subject: Re: Dynamic parameters
On 08/11/2007, Ori Marco <or...@praxell.com> wrote:
> Hi
>
>
>
> I want to take parameters from a fixed list and move forward to next
> parameter while in the same thread.
>
> If I needed a different threads than CSV Data Set Config will be best
to
> use.
>
> Can I cause to move to next line of CSV data set inside thread or is
> there another component which I can be used?
CSV Dataset is a Config item, and the values only change once per
iteration.
You could use the __StringFromFile() function in a User Parameters
Pre-Processor
(Update once per iteration should not be checked)
Note that the value will be updated for every sampler in scope,
whether or not they use the variable. If there are other samplers
involved, you may be able to get round this by adding a Simple
Controller to contain the UP and its samplers.
If you use the StringFromFile function directly in the sampler, then
each sampler will read through the file separately, which is probably
not what you want.
>
>
>
> Thanks
>
>
>
> Ori Marko
> Quality Assurance Engineer
> Praxell Inc.
> http://www.praxell.com <http://www.praxell.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
Re: Dynamic parameters
Posted by sebb <se...@gmail.com>.
On 08/11/2007, Ori Marco <or...@praxell.com> wrote:
> Hi
>
>
>
> I want to take parameters from a fixed list and move forward to next
> parameter while in the same thread.
>
> If I needed a different threads than CSV Data Set Config will be best to
> use.
>
> Can I cause to move to next line of CSV data set inside thread or is
> there another component which I can be used?
CSV Dataset is a Config item, and the values only change once per iteration.
You could use the __StringFromFile() function in a User Parameters Pre-Processor
(Update once per iteration should not be checked)
Note that the value will be updated for every sampler in scope,
whether or not they use the variable. If there are other samplers
involved, you may be able to get round this by adding a Simple
Controller to contain the UP and its samplers.
If you use the StringFromFile function directly in the sampler, then
each sampler will read through the file separately, which is probably
not what you want.
>
>
>
> Thanks
>
>
>
> Ori Marko
> Quality Assurance Engineer
> Praxell Inc.
> http://www.praxell.com <http://www.praxell.com>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org