Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Loadtesting in burst mode in Jmeter

Tags:

jmeter

I am running my load test for a duration of 1 hour,in between the test I want a scenario to run for a duration of 1 minutes at regular interval of 15 minutes.

In jmeter,currently I am able to simulate for all the others scenarios except for the burst mode. How do I keep the delay for 15 minutes and trigger the request for duration of 1 min? How do I achieve the TPS for the burst? Currently I have to manually trigger jmeter script.

like image 239
user4021949 Avatar asked Sep 09 '14 08:09

user4021949


People also ask

What is burst in performance testing?

The Burst profile simulates the base number of virtual users (VUs load type) or arriving virtual users (Rate load type) during the Base period, then increases this number for the Burst period. After this burst, the simulation returns back to the Base level.

Can JMeter be used for stress testing?

Apache JMeter – Jmeter is an Open Source testing tool. It is a pure Java application for stress and Performance Testing. LoadRunner – LoadRunner from HP is a widely-used Testing tool.

What is concurrent user hits in load testing in JMeter?

Concurrent users are the number of users engaged with the app or site at a given time.


1 Answers

I would suggest doing the following:

  1. Add a separate Thread Group.
  2. Configure ramp-up and thread count as required.
  3. Add a Constant Timer, set Thread Delay to 900 000 (15 minutes = 900 seconds, 1 second = 1000 ms)
  4. Add a Runtime Controller, set Runtime to 60.
  5. Add a Loop Controller, set Loop Count to Forever.
  6. Place your burst test logic under the Loop Controller.
  7. If you need to define requests per second rate during spikes use Constant Throughput Timer
like image 199
Dmitri T Avatar answered Oct 11 '22 18:10

Dmitri T