jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Pre-Configuration Counter Node
Date Wed, 11 Jul 2007 18:11:08 GMT
That reminds me: this has been fixed in the latest code - if the
maximum is omitted, it will default to Long.MAX_VALUE.

S.
On 11/07/07, Scott Carr <scarr@progbits.com> wrote:
> Thanks for the example.  I found out what the problem is.
>
> If you do not set a Maximum value, the Counter does NOT increment.
>
> It will stay at the initial value for each iteration.
>
> sebb wrote:
> > Using the proxy service to create a test should not make any
> > difference; it only does what you can do manually anyway.
> >
> > I'll send the JMX separately.
> >
> > S.
> > On 11/07/07, Scott Carr <scarr@progbits.com> wrote:
> >> If you want to send directly that's fine.  I did create the test using
> >> the Proxy service.  Should that make a difference?
> >>
> >> sebb wrote:
> >> > If the Counter is a child of the Loop Controller, it should be
> >> > incremented for each loop.
> >> >
> >> > Works for me in a simple test - I can send you the JMX privately if
> >> > you want.
> >> >
> >> > S.
> >> > On 11/07/07, Hugh Hunter <hhunter@oversee.net> wrote:
> >> >> 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
> >> >>
> >> >>
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >> >
> >>
> >>
> >> --
> >> Scott Carr
> >> OpenOffice.org
> >> Documentation Co-Lead
> >> http://documentation.openoffice.org
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
>
>
> --
> Scott Carr
> OpenOffice.org
> Documentation Co-Lead
> http://documentation.openoffice.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
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