Hi If you want to run a test for a certain interval of time (1 hour), you use duration and you usually have loop count to forever If you want to run a test for a certain number of samples (10000 samples), you use loop count on the threadgroup and you usually dont have a duration If you want to run a test for a certain number of samples , but you want to also say that the test should complete in an 1 hour (because perhaps that represents a failure anyway ) you use both. If the loops finish first , then the test ends there , if however they dont then the test ends when the duration is exceeded
regards deepak On Wed, Feb 22, 2012 at 5:25 PM, Nirodha Pramod <[email protected]> wrote: > Hi, > > These values are confusing me. I gave thread count = 3 , time period= > 300, loops = 100. > What I could see was that It initially sent 100 requests, and it halted for > like 30 or 40 seconds. Then again another 100 requests and again waited, > again sent another 100. Even though I gave the time period as 300 seconds > (5 mins) it completed the tests in less than 3 mins. > > My observation is it creates a thread first and loop with that thread > before starting the other thread. Is this the expected behavior or am I > missing something. Really appreciate if someone can explain this. > > Thanks, > Nirodha > > > On Tue, Feb 21, 2012 at 7:50 PM, Deepak Shetty <[email protected]> wrote: > > > See duration on thread group -- > > > http://jmeter.apache.org/usermanual/component_reference.html#Thread_Group > > Use constant throughput timer for 50 reqs per second (or the one from > > jmeter-plugins) > > > > >First I tried with thread count= 3000, > > you probably wont get accurate results using a single jmeter client. > > > > > > > > On Tue, Feb 21, 2012 at 7:45 PM, Nirodha Pramod <[email protected]> > wrote: > > > > > Hi, > > > > > > I want to test an axis2 service with 50 reqs per second and for 1 hour. > > > First I tried with thread count= 3000, ramp up time= 60 and loop=60. > But > > it > > > never stops after 1 hour. Sometimes it goes beyond 1 & half hours etc. > > What > > > is the proper way to carry out this test. What values should be given > to > > > above three parameters to carry out my test. > > > > > > Thanks, > > > Nirodha > > > > > > -- > > > *Nirodha Gallage* > > > Software Engineer, QA. > > > WSO2 Inc.: http://wso2.com/ > > > Email: [email protected] Mobile: +94716429078 > > > > > > > > > -- > *Nirodha Gallage* > Software Engineer, QA. > WSO2 Inc.: http://wso2.com/ > Email: [email protected] Mobile: +94716429078 >
