On 7 September 2015 at 14:11, Pratapi Hemant Patel <[email protected]> wrote: > adding simply a constant timer will not serve the purpose as it introduces > delay within each requests.
Timers are invoked before *all* samplers in scope, and are only invoked before samplers. > A workaround can be used > > Threadgroup >>>req 1 >>>req 2 >>>req 3 >>>req 4 >>>req 5 >>>req 6 >>>Simple Controller >>>>>constant timer >>>>>any dummy sampler (say debug sampler, or a http request sampler to a > dummy url) You don't need the Simple Controller. If you add the Timer as a child of a single sampler it will only be invoked before that sampler. Alternatively you can use the Test Sampler, which does not generate a sample, but can pause the test. > Thanks and Regards > Hemant > 9810752184 / 9013982184 > > On Mon, Sep 7, 2015 at 6:29 PM, Nirdesh Pachoriya <[email protected]> > wrote: > >> You can use constant timer which can help you to introduce the delay. >> >> Regards, >> Nirdesh M Pachoriya >> -----Original Message----- >> From: Amit Kumar [mailto:[email protected]] >> Sent: Monday, September 7, 2015 6:19 PM >> To: JMeter Users List >> Subject: How to add delay between Loops? >> >> Hello, >> >> I want to perform load testing for an application with following scenario: >> >> What I want to do is- >> >> I want to schedule a load test for 10 mins (loop count = forever), but >> after each loop, I need a pause of 10 secs. So, how to add pause between >> loops? Is it possible to do this in JMeter? >> >> My Thread Group setup is as follows: >> >> *Thread Properties:* >> Number of Threads: 100 >> Ram-up: 1 sec >> Loop Count: Forever >> >> *Scheduler:* >> Start Time: 2015/09/07 18:01:00 >> End Time: 2015/09/07 18:11:00 >> Duration: BLANK >> Startup Delay: BLANK >> >> And my Thread Group has 6 requests? >> >> -- >> Thanks and Regards, >> Amit >> "Legal Disclaimer: This electronic message and all contents contain >> information from Cybage Software Private Limited which may be privileged, >> confidential, or otherwise protected from disclosure. The information is >> intended to be for the addressee(s) only. If you are not an addressee, any >> disclosure, copy, distribution, or use of the contents of this message is >> strictly prohibited. If you have received this electronic message in error >> please notify the sender by reply e-mail to and destroy the original >> message and all copies. Cybage has taken every reasonable precaution to >> minimize the risk of malicious content in the mail, but is not liable for >> any damage you may sustain as a result of any malicious content in this >> e-mail. You should carry out your own malicious content checks before >> opening the e-mail or attachment." www.cybage.com >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
