jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit Kumar <amit.sr...@gmail.com>
Subject Re: How to add delay between Loops?
Date Tue, 08 Sep 2015 07:18:53 GMT
Hello,

As Sebb suggested, I changed the setup as-

>>req1
>>req2
>>req3
>>req4
>>req5
>>req6
>>req7
>>Test Action (Action: Pause, Duration: 10secs).

It's working perfectly fine.

@Pratapi, the workaround you suggested is also working, but it was
generating an additional sample for dummy sampler.

On Tue, Sep 8, 2015 at 12:38 PM, Amit Kumar <amit.srpce@gmail.com> wrote:

> Thank you for your help guys, really appreciate.
>
> On Mon, Sep 7, 2015 at 8:37 PM, sebb <sebbaz@gmail.com> wrote:
>
>> On 7 September 2015 at 14:11, Pratapi Hemant Patel
>> <hemantsonu20@gmail.com> 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 <nirdeshp@cybage.com>
>> > wrote:
>> >
>> >> You can use constant timer which can help you to introduce the delay.
>> >>
>> >> Regards,
>> >> Nirdesh M Pachoriya
>> >> -----Original Message-----
>> >> From: Amit Kumar [mailto:amit.srpce@gmail.com]
>> >> 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: user-unsubscribe@jmeter.apache.org
>> For additional commands, e-mail: user-help@jmeter.apache.org
>>
>>
>
>
> --
> Thanks and Regards,
> Amit
>



-- 
Thanks and Regards,
Amit

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message