background img
banner
Apr 2, 2014
967 Views
0 0

How to run overnight endurance test consecutively using jmeter

Written by
banner

Endurance Test:

Performing a long run load test and finding the performance bottleneck of the given server is called Endurance Test.

Often in performance testing  testers would face the following 2 scenarios,

1) Running single testplan for more than 8 hours

2) Running Multiple testplans one after another for more than 8 hours or overnight (without much of manual effort, just click run and go , take the report in the next day morning )

So what is the method of implementing the above 2 scenarios? Here is my suggestion though it depends entirely on your workload model requirement.

Scenario1:

To Run a single testplan ,

a) first calculate the hours that your test has to run in milliseconds

b) Add constant timer/uniform random timer to the samplers wherever it is required to pause the run and release it together.

c) Divide the time that you have in milliseconds from step #a , and put it in each timer.

d) Now Run the Test and make your life easy 🙂

jmee1

 Scenario2:

Here it comes a simple feature and readily available in our Iron Man, JMETER.

a) Put all your thread groups under single test plan.

b) Right click on Testplan and check ‘Run Thread Groups consecutively’

jmeter2

 Happy testing 🙂 🙂 🙂

Article Categories:
Performance Testing
banner

Comments to How to run overnight endurance test consecutively using jmeter

  • using constant timers only we are doing Endurance test..or any other option is there..?
    i think in thread group using schedulers it is possible..plz rectify my doubt

    anku August 6, 2014 6:39 pm Reply
    • It depends on the requirement. You can even try with synchronization timer which releases the requests at the same time after the waiting period.

      Sandeep Sadanandan August 13, 2014 1:52 pm Reply
  • How to Handle dynamic boundary in jmeter?plz give neat clarity of this..?

    anku August 6, 2014 6:53 pm Reply
    • Dynamic boundaries or dynamic inputs can be handled by csv data config element, will be soon updating a post on this.

      Sandeep Sadanandan August 13, 2014 2:15 pm Reply
  • Pingback: Apache JMeter HTTP(S) Test Script Recorder – CN testing

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.