You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by danisade <ta...@yahoo.com> on 2007/04/17 09:55:24 UTC
Loop count > 1 doesn't works properly for thread groups
My initial configuration:
Num of users - 10
ramp up period - 60
loop count - 5
Every user should send request to my server.
I expected that every 6 sec 1 user(thread) will send request. This scenario
should executed 5 times.
Meaning the test should take 5 minutes and send 50 requests with 10 users
Actually the test takes only 1 minute (instead 5) every 6 sec 5 users send
their request together.
this is not what i want!!!
Can someone explain me what am i doing wrong?
If loop count = 1, the test runs exactly as i expected. I am using ver 2.2.
--
View this message in context: http://www.nabble.com/Loop-count-%3E-1-doesn%27t-works-properly-for-thread-groups-tf3589354.html#a10030889
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Loop count > 1 doesn't works properly for thread groups
Posted by David Schulberg <Da...@objectconsulting.com.au>.
Hi,
I would have thought that the last thread would kick in after the ramp up time had expired. The 5 requests associated with that thread would then run till completion. This would mean that the test would run for 60 secs + time taken for 5 loop requests to complete which would exceed 1 minute by the time taken to run the 5 requests..
David Schulberg
Object Consulting
________________________________
From: danisade [mailto:taype1917@yahoo.com]
Sent: Tue 17/04/2007 5:55 PM
To: jmeter-user@jakarta.apache.org
Subject: Loop count > 1 doesn't works properly for thread groups
My initial configuration:
Num of users - 10
ramp up period - 60
loop count - 5
Every user should send request to my server.
I expected that every 6 sec 1 user(thread) will send request. This scenario
should executed 5 times.
Meaning the test should take 5 minutes and send 50 requests with 10 users
Actually the test takes only 1 minute (instead 5) every 6 sec 5 users send
their request together.
this is not what i want!!!
Can someone explain me what am i doing wrong?
If loop count = 1, the test runs exactly as i expected. I am using ver 2.2.
--
View this message in context: http://www.nabble.com/Loop-count-%3E-1-doesn%27t-works-properly-for-thread-groups-tf3589354.html#a10030889
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Loop count > 1 doesn't works properly for thread groups
Posted by prateeti <pr...@kirusa.com>.
You can use constant timer.
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Constant_Timer
Dion Gillard wrote:
> It sounds like you want to add a Constant Throughput Timer:
>
> http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Constant_Throughput_Timer
>
>
> On 4/17/07, danisade <ta...@yahoo.com> wrote:
>>
>> My initial configuration:
>> Num of users - 10
>> ramp up period - 60
>> loop count - 5
>>
>> Every user should send request to my server.
>> I expected that every 6 sec 1 user(thread) will send request. This
>> scenario
>> should executed 5 times.
>> Meaning the test should take 5 minutes and send 50 requests with 10
>> users
>>
>> Actually the test takes only 1 minute (instead 5) every 6 sec 5
>> users send
>> their request together.
>> this is not what i want!!!
>>
>> Can someone explain me what am i doing wrong?
>> If loop count = 1, the test runs exactly as i expected. I am using
>> ver 2.2.
>> --
>> View this message in context:
>> http://www.nabble.com/Loop-count-%3E-1-doesn%27t-works-properly-for-thread-groups-tf3589354.html#a10030889
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
Re: Loop count > 1 doesn't works properly for thread groups
Posted by Dion Gillard <di...@trongus.com>.
Most of the load testing I do uses random waits between requests often
combining a ramp up period with a Duration for the run and a loop
forever, and I suppose it's one of those things you learn first time
round with JMeter.
Have fun!
On 4/17/07, danisade <ta...@yahoo.com> wrote:
>
> Thanks for your help!!!
> I believe that Constant_Throughput_Timer is my solution with some tuning it
> will maybe works fine. Anyway i consider this as workaround cause now i
> should do some calculations and can't control the threads order.
>
> Constant_Timer will not work - just going to postpone user's request with
> same interval.
>
> Am I the only one who thought that group properties are not efficient and
> not feet basic load requierments for loop count > 1?
>
>
> Dion Gillard-3 wrote:
> >
> > It sounds like you want to add a Constant Throughput Timer:
> >
> > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Constant_Throughput_Timer
> >
> > On 4/17/07, danisade <ta...@yahoo.com> wrote:
> >>
> >> My initial configuration:
> >> Num of users - 10
> >> ramp up period - 60
> >> loop count - 5
> >>
> >> Every user should send request to my server.
> >> I expected that every 6 sec 1 user(thread) will send request. This
> >> scenario
> >> should executed 5 times.
> >> Meaning the test should take 5 minutes and send 50 requests with 10 users
> >>
> >> Actually the test takes only 1 minute (instead 5) every 6 sec 5 users
> >> send
> >> their request together.
> >> this is not what i want!!!
> >>
> >> Can someone explain me what am i doing wrong?
> >> If loop count = 1, the test runs exactly as i expected. I am using ver
> >> 2.2.
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Loop-count-%3E-1-doesn%27t-works-properly-for-thread-groups-tf3589354.html#a10030889
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> >
> > --
> > dIon Gillard
> > Rule #131 of Acquisition: Information is Profit.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Loop-count-%3E-1-doesn%27t-works-properly-for-thread-groups-tf3589354.html#a10035587
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Loop count > 1 doesn't works properly for thread groups
Posted by danisade <ta...@yahoo.com>.
Thanks for your help!!!
I believe that Constant_Throughput_Timer is my solution with some tuning it
will maybe works fine. Anyway i consider this as workaround cause now i
should do some calculations and can't control the threads order.
Constant_Timer will not work - just going to postpone user's request with
same interval.
Am I the only one who thought that group properties are not efficient and
not feet basic load requierments for loop count > 1?
Dion Gillard-3 wrote:
>
> It sounds like you want to add a Constant Throughput Timer:
>
> http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Constant_Throughput_Timer
>
> On 4/17/07, danisade <ta...@yahoo.com> wrote:
>>
>> My initial configuration:
>> Num of users - 10
>> ramp up period - 60
>> loop count - 5
>>
>> Every user should send request to my server.
>> I expected that every 6 sec 1 user(thread) will send request. This
>> scenario
>> should executed 5 times.
>> Meaning the test should take 5 minutes and send 50 requests with 10 users
>>
>> Actually the test takes only 1 minute (instead 5) every 6 sec 5 users
>> send
>> their request together.
>> this is not what i want!!!
>>
>> Can someone explain me what am i doing wrong?
>> If loop count = 1, the test runs exactly as i expected. I am using ver
>> 2.2.
>> --
>> View this message in context:
>> http://www.nabble.com/Loop-count-%3E-1-doesn%27t-works-properly-for-thread-groups-tf3589354.html#a10030889
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>
>
> --
> dIon Gillard
> Rule #131 of Acquisition: Information is Profit.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Loop-count-%3E-1-doesn%27t-works-properly-for-thread-groups-tf3589354.html#a10035587
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Loop count > 1 doesn't works properly for thread groups
Posted by Dion Gillard <di...@trongus.com>.
It sounds like you want to add a Constant Throughput Timer:
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Constant_Throughput_Timer
On 4/17/07, danisade <ta...@yahoo.com> wrote:
>
> My initial configuration:
> Num of users - 10
> ramp up period - 60
> loop count - 5
>
> Every user should send request to my server.
> I expected that every 6 sec 1 user(thread) will send request. This scenario
> should executed 5 times.
> Meaning the test should take 5 minutes and send 50 requests with 10 users
>
> Actually the test takes only 1 minute (instead 5) every 6 sec 5 users send
> their request together.
> this is not what i want!!!
>
> Can someone explain me what am i doing wrong?
> If loop count = 1, the test runs exactly as i expected. I am using ver 2.2.
> --
> View this message in context: http://www.nabble.com/Loop-count-%3E-1-doesn%27t-works-properly-for-thread-groups-tf3589354.html#a10030889
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Loop count > 1 doesn't works properly for thread groups
Posted by Matthew Coventon <ma...@iseinc.biz>.
If there is only one request in the thread group, then it sounds like the
threads don't wait for all other threads to complete before looping. I
believe that's just how JMeter works.
-----Original Message-----
From: danisade [mailto:taype1917@yahoo.com]
Sent: Tuesday, April 17, 2007 2:55 AM
To: jmeter-user@jakarta.apache.org
Subject: Loop count > 1 doesn't works properly for thread groups
My initial configuration:
Num of users - 10
ramp up period - 60
loop count - 5
Every user should send request to my server.
I expected that every 6 sec 1 user(thread) will send request. This scenario
should executed 5 times.
Meaning the test should take 5 minutes and send 50 requests with 10 users
Actually the test takes only 1 minute (instead 5) every 6 sec 5 users send
their request together.
this is not what i want!!!
Can someone explain me what am i doing wrong?
If loop count = 1, the test runs exactly as i expected. I am using ver 2.2.
--
View this message in context:
http://www.nabble.com/Loop-count-%3E-1-doesn%27t-works-properly-for-thread-g
roups-tf3589354.html#a10030889
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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
Re: Loop count > 1 doesn't works properly for thread groups
Posted by Dion Gillard <di...@trongus.com>.
See http://jakarta.apache.org/jmeter/usermanual/test_plan.html
"The ramp-up period tells JMeter how long to take to "ramp-up" to the
full number of threads chosen. If 10 threads are used, and the ramp-up
period is 100 seconds, then JMeter will take 100 seconds to get all 10
threads up and running. Each thread will start 10 (100/10) seconds
after the previous thread was begun. If there are 30 threads and a
ramp-up period of 120 seconds, then each successive thread will be
delayed by 4 seconds."
NB: the ramp-up period does not specify a delay for the second, third
or subsequent requests of the *same* thread, it means that given your
configuration, you'll get:
User 1's thread will start immediately and begin sending requests 1 to
5 with NO DELAY between requests 2, 3, 4, and 5.
Six seconds after User 1's thread starts, User 2's thread will start
and begin sending requests 1 to 5.
etc.
Does this help?
On 4/17/07, danisade <ta...@yahoo.com> wrote:
>
> My initial configuration:
> Num of users - 10
> ramp up period - 60
> loop count - 5
>
> Every user should send request to my server.
> I expected that every 6 sec 1 user(thread) will send request. This scenario
> should executed 5 times.
> Meaning the test should take 5 minutes and send 50 requests with 10 users
>
> Actually the test takes only 1 minute (instead 5) every 6 sec 5 users send
> their request together.
> this is not what i want!!!
>
> Can someone explain me what am i doing wrong?
> If loop count = 1, the test runs exactly as i expected. I am using ver 2.2.
> --
> View this message in context: http://www.nabble.com/Loop-count-%3E-1-doesn%27t-works-properly-for-thread-groups-tf3589354.html#a10030889
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org