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/10/14 12:08:26 UTC

Knowing current iterations number in loop

Hi

 

How can I know number of iteration in loop so far (And assign if needed
to loop counter variable)

 

Thanks

 

Ori Marko 
Quality Assurance Engineer 
Praxell Inc.
http://www.praxell.com <http://www.praxell.com> 


Re: Knowing current iterations number in loop

Posted by sebb <se...@gmail.com>.
If you know how many loops there are, then a Counter Pre-Processor in
the loop can be used to provide a loop counter:

Loop N
+ Counter C = 1 to N by 1
+ C will be incremented once for each loop; and will reset itself at the end.

This only works if you know the loop count, as the max has to be set
to the loop count.

On 14/10/2007, sebb <se...@gmail.com> wrote:
> Not easy currently.
>
> But you could try:
>
> http://www.nabble.com/counter-per-users-per-loop-tf4612434.html
>
> On 14/10/2007, Ori Marco <or...@praxell.com> wrote:
> > Hi
> >
> >
> >
> > How can I know number of iteration in loop so far (And assign if needed
> > to loop counter variable)
> >
> >
> >
> > 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


Re: Knowing current iterations number in loop

Posted by sebb <se...@gmail.com>.
Not easy currently.

But you could try:

http://www.nabble.com/counter-per-users-per-loop-tf4612434.html

On 14/10/2007, Ori Marco <or...@praxell.com> wrote:
> Hi
>
>
>
> How can I know number of iteration in loop so far (And assign if needed
> to loop counter variable)
>
>
>
> 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