jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugh Hunter <hhun...@oversee.net>
Subject Re: Pre-Configuration Counter Node
Date Wed, 11 Jul 2007 16:38:02 GMT
On Wed, 2007-07-11 at 09:30 -0500, Scott Carr wrote:
> I am trying to create a task with a counter.  A friend I am trying to 
> show how to use jMeter, tried it first, and I tried it on a different 
> system.  Both are WinXP, with Java 1.6 and jMeter 2.2.
> 
> I have setup the counter as follows:
> 
> *  Add Contact  - Loop Controller
>     - Load Contacts Page
>     - Load Contact Edit Form
>     - Save Contact Information (This uses ${ContactCounter})
>     - Load Contact Edit Form
>     - Click Add Phone Number
>     - ContactCount  (Reference Name:  ContactCounter)
> 
> When the Save Contact is done, the Name is set to Bond1 which is using 
> the Counter as Bond${ContactCounter}.  If I set the Loop to 10, each 
> occurance of the Save Contact request has the same number in each loop. 
> 
> Does anyone have an idea on this?  Am I using the Counter wrong?  It 
> looks like it gets initialized to 1 properly, but it doesn't loop at all.
> 
> The Counter node is set as follows:
> 
> Name:  ContactCount
> Start:  1
> Increment:  1
> Maximum: 
> Number format:
> Reference Name:  ContactCounter
> Track counter is not checked.
> 
> Thank you
> 

I know the counter increments properly for each iteration through a
thread group.  Maybe do your looping this way instead of using the loop
controller?

--Hugh

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message