On 13/05/2008, Fulvio Guglielmelli <[EMAIL PROTECTED]> wrote:
> there is not the possibilities to set the counter value or counter maximum 
> dynamicly, for example using beanshell.
>        vars.put("limit","10000");
>  if i can  set the variable value by beanshell, i can manage my situation
>   regards

No.
The limit is not stored as a variable. It's stored in a property of
the test element, and I don't think there's any way to get to the
Counter object.

It may be possible to use a variable as the limit, as the counter
currently fetches the limit each time. However this could perhaps
change in a future release of JMeter.

>  sebb <[EMAIL PROTECTED]> ha scritto:
>
>   Are you trying to ensure that the counter always starts from 1 each
>  time the While block is entered?
>
>  If so, then that is not possible using the Counter Pre-Processor.
>
>  You'll need to use a variable and do the counting using the __intSum
>  (or __longSum) function.
>
>
>
> On 12/05/2008, Fulvio Guglielmelli wrote:
>  > could any one help me?
>  > fulvio
>  >
>
> > Fulvio Guglielmelli ha scritto: Hi
>
> >
>  > i have this situation:
>  > i need the Counter must be reset for any loop Controller when exit from 
> while and read a new line..
>  >
>  > Loop Controller
>  > + CSV Content (any line has different total)
>  > + While Condition (total)
>  > + Java Request
>  > + Counter (1, 10 , NO MAXIMUM)
>  >
>  > now the counter continue to be increment when exit from while
>  > Regards
>  >
>  >
>  > ---------------------------------
>  > Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua 
> opinione!
>  >
>  >
>  > ---------------------------------
>  > Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua 
> opinione!
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>  ---------------------------------
>  Scopri il  Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua 
> opinione!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to