No. The Constant Timer is the delay between the start of one thread to the start of the next thread. No relation among threads execution time at all. So if thread 1 starts and take 1 second to complete, and Constant Timer has 300ms delay, then the second thread will start before 1st thread ends.
Ramp-up also put this delay in your threads, the same way constant timer will do. If you want to leverage concurrency remove the timer. 2013/8/15 umesh prajapati <[email protected]> > If I put the timer, than it means 2nd request has to wait until the first > request is complete. This means if first request is taking time to process > the request than 2nd request will not start until the first request is > completed. Which means there won't be a load but I am doing a load test. > On Aug 14, 2013 12:50 PM, "Flavio Cysne" <[email protected]> wrote: > > > only in the first http sampler > > > > > > 2013/8/14 umesh prajapati <[email protected]> > > > > > one quick question do i add the timer on thread group or the http > reques > > > sampler > > > > > > > > > On Wed, Aug 14, 2013 at 9:25 AM, umesh prajapati <[email protected] > > > >wrote: > > > > > > > @ flavio Thanks ...will try it out and let you know the result. > > > > > > > > > > > > On Wed, Aug 14, 2013 at 8:35 AM, Flavio Cysne <[email protected] > > > >wrote: > > > > > > > >> I think you misunderstood me. > > > >> > > > >> "I know in my application, one user is not allowed to login multiple > > > >> times until > > > >> the session thats logged in is logged out." > > > >> > > > >> Loop 2 threads can't start until all Loop 1 threads are over. > > > >> Synchronizing > > > >> Timer with "Number of simulated users" equal to the number of > threads > > > will > > > >> ensure this. > > > >> > > > >> "@Flavio I dont need to start all my thread at once,..." > > > >> > > > >> That's why I suggest you to use a Constant timer with an expression. > > > >> > > > >> "...But I would like to test the real scenario, where 2000 users > login > > > in > > > >> 2 > > > >> hrs. So, basically 1 min 33 users." > > > >> > > > >> Modify that 300 in Constant Timer expression for the value > equivalent > > to > > > >> time gap for 33 users within 1 minute. (60000ms / 33 users = > > > ~1818ms/user) > > > >> > > > >> Regards > > > >> > > > > > > > > > > > > > >
