Hi,

I've put a new enhancement #38778.

Best regards, 
Alex Y. 

-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 17, 2006 6:38 PM
To: JMeter Users List
Subject: Re: increment in While Controller

Thanks.

If you want to provide this as an enhancement, please create a
Bugzilla enhancement, and then attach it as a patch in unified diff
format.

I'm still not clear how you know when the correct count has been
reached - at what point is this deternined?

S.
On 17/02/06, Aliaksandr Yermakovich <[EMAIL PROTECTED]>
wrote:
> I've found a solution. I downloaded source and updated While
Controller code.
> Now it's got one more text filed, which's called Reference Name, just
like in
> several other controls. I just set name of the variable, then it gets
> increased each loop, and I can use :)
>
> I didn't test it properly yet, but it works.
>
> I think that's a good idea to add this functionality permanently, if
you think
> it will be useful for other people.
>
> Thanks.
>
> Best regards,
> Alex Y.
>
> -----Original Message-----
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 17, 2006 1:10 PM
> To: JMeter Users List
> Subject: Re: increment in While Controller
>
> So how do you know when to stop?
>
> S.
> On 17/02/06, Aliaksandr Yermakovich <[EMAIL PROTECTED]>
wrote:
> >
> > I cannot use Loop controller, because I don't know how many steps
will be.
> >
> > Best regards,
> > Alex Y.
> > -----Original Message-----
> > From: sebb [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, February 16, 2006 6:45 PM
> > To: JMeter Users List
> > Subject: Re: increment in While Controller
> >
> > On 16/02/06, Richard Gaywood <[EMAIL PROTECTED]> wrote:
> > > On 2/16/06, Aliaksandr Yermakovich
<[EMAIL PROTECTED]>
> > wrote:
> > > >
> > > > Could somebody tell me, how too create and use a variable and
increase
> > it
> > > > each
> > > > loop in While Controller? Like:
> > > >
> > > > while ( foo=="true")
> >
> > BTW, this is not a valid  expression for the While Controller - see
the
> > docs...
> >
> > > >           i++;
> > > > );
> > >
> > >
> > >
> > > Look at the Counter pre-processor. Try adding it to a While loop.
> > >
> > >
> >
> > Or why not use a Loop Controller with a variable count?
> >
> > Loop N times
> > - Counter 1 ... anything > N
> > - Sampler
> >
> > S
> >
> >
---------------------------------------------------------------------
> > 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