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.
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 🙂
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’
Happy testing 🙂 🙂 🙂
5 replies on “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
It depends on the requirement. You can even try with synchronization timer which releases the requests at the same time after the waiting period.
How to Handle dynamic boundary in jmeter?plz give neat clarity of this..?
Dynamic boundaries or dynamic inputs can be handled by csv data config element, will be soon updating a post on this.
[…] How to run overnight endurance test consecutively using jmeter […]