But he wants to dynamically change the number of threads in mid run
using a counter. It's not going to work.
-Mike
On Tue, 2004-06-22 at 09:33, BAZLEY, Sebastian wrote:
> The property functions should work, so one can do:
>
> jmeter ... -Jthreads=123
>
> And use:
>
> ${__P(threads)}
>
> in the Thread Group element
>
> __P() defaults to the value 1 if the property is not defined.
>
> S.
> -----Original Message-----
> From: Michael Stover [mailto:[EMAIL PROTECTED]
> Sent: 22 June 2004 13:59
> To: JMeter Users List
> Subject: Re: pls help! cnt seem to retrieve a reference name :(((
>
>
> You'll never be able to use a counter element value in a ThreadGroup
> element. ThreadGroups are initialized once at the start of the test.
> Only user-defined variables from the TestPlan object are available at
> that point.
>
> -Mike
>
> On Tue, 2004-06-22 at 01:03, nlunebur wrote:
> > can someone pls help me with this?
> >
> > i have a pre-processor Counter element with a reference name
> 'threadcount',
> >
> > when i try to access it via a javaScript or intSum function like
> > ${threadcount}, it doesn't work!
> > i have also tried just $threadcount
> >
> > eg.
> >
> > ${__intSum(${threadcount},2,)}
> >
> > the javaScript and intSum functions work but not if i have the
> > threadcount variable.
> >
> > can someone pls help? i've been trying to fix this for hours!!!
> >
> > thanku!
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
--
Michael Stover <[EMAIL PROTECTED]>
Apache Software Foundation
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]