Hi Tom,
ur idea might actually work.
i'm working on it now and let u know if it does.

Johnson, Tommy wrote:

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]




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



Reply via email to