Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jmeter Load testing website over a period of time/required duration

How can I simulate multiple sessions(users) staying on website for long duration (say over 15 minutes) and making multiple requests in jmeter(load testing)

like image 379
Anshuman Mohapatra Avatar asked Jan 25 '26 09:01

Anshuman Mohapatra


2 Answers

You can check the loop count as forever in the thread group, this will help you to hit the api for longer duration. Or You can use the Scheduler in the thread group and set the start and end time which meets your time requirement. Check the snapshot of the thread group

like image 175
GreyndBlue Avatar answered Jan 26 '26 21:01

GreyndBlue


You should use Ultimate Thread Group. It's a JMeter Plugin which is available in standard set.

In Ultimate Thread group you can configure like this:

enter image description here

In the above example, it holds the load for 60 seconds(1 minute) for 100 users.

To see the concurrency, you can use Active Threads Over Time Listener which will give you a better understanding.

like image 33
Masud Jahan Avatar answered Jan 26 '26 23:01

Masud Jahan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!