Or, try setting the ramp up time to a high value.

-----Original Message-----
From: Johnson, Tommy [mailto:[EMAIL PROTECTED]
Sent: 22 June 2004 15:35
To: JMeter Users List; [EMAIL PROTECTED]
Subject: RE: pls help! cnt seem to retrieve a reference name :(((



Try this: Set up your ThreadGroup with the maximum number of threads you
will need.  Set up a counter that increments once for each iteration of the
loop.  Use the If Controller to conditionally execute the steps of your test
plan based on the value of the counter and the __threadNum().

Will that work?

-Tommy



-----Original Message-----
From: Michael Stover [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 22, 2004 7:59 AM
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]


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


___________________________________________________________________________

This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail in
error, please notify the sender immediately and destroy it. As its integrity
cannot be secured on the Internet, the Atos Origin group liability cannot be
triggered for the message content. Although the sender endeavours to maintain
a computer virus-free network, the sender does not warrant that this
transmission is virus-free and will not be liable for any damages resulting
from any virus transmitted. 
___________________________________________________________________________


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

Reply via email to