Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JMeter understanding ramp-up

This is the configuration of my test plan thread properties:

Number of Threads (users): 100 Ramp-up Period (in seconds): 10 Loop Count : Forever Delay thread creation until needed: No Scheduler: No 

I ran the test overnight with the total duration of 14 hours and 7 minutes (approximately 50820 seconds). After loading the jtl file, The number of samples shown in summary report is 1050975. I tried to compute but I can't understand how it came up with that many sample.

If Ramp-up Period is the time taken by JMeter to create the number of threads per iteration and if the duration of the test is 50820 seconds, then I should have 508200 samples only ( 50820/10 * 100 ). I do not know how or if Loop Count affects this.

like image 884
Frank Smith Avatar asked Jun 25 '13 03:06

Frank Smith


People also ask

What is a ramp up period JMeter?

Ramp-up is the amount of time it will take Apache JMeter™ to add all test users (threads) to a test execution. Or in other words, how long it will take for JMeter to start execution of all the threads. For example: 1000 target threads with 1000 seconds ramp-up: JMeter will add one user each second.

What is ramp up in performance testing?

Ramp up is how long it takes from the start of your test (0 virtual users) to the maximum number of users you've selected. For the duration of the ramp up period, the number of users will increase at regular intervals until all intended users are running your script.

What does ramp up period mean?

Ramp-Up Period refers to the time between initial development and maximum capacity utilization of a product. Maximum capacity utilization is the maximum potential output.


Video Answer


1 Answers

The ramp-up in the Thread Group is the time JMeter should take to start the total number of threads. In your situation this means that every 0.1 second a new thread starts giving 100 running threads after 10 seconds. These 100 threads perform your test iterations back-to-back, so after the ramp-up 100 threads run continously for the duration of the test.

like image 168
rsp Avatar answered Sep 28 '22 08:09

rsp