Hi i have few queries: 1. Delay thread creation util needed: if i select this text box then all users will be created first and then the execution will start. then what will be use of ramp up period. 2. Unable to understand what exactly is startup delay. are we giving this time as warm up period for server. Thank you in advance
1. Just to correct you when you select the option 'Delay Thread Creation Until Needed' then threads are created in system memory only when they required. To clarify it more, let's say you unchecked this option and given 1000 threads which will ramp-up in 100 seconds. When the test starts at t=0 then 1000 threads' memory will be allocated to JMeter, but at t=0 only 10 threads are required which means JMeter reserved the memory of 990 threads in advanced.
To eliminate this situation, 'Delay Thread Creation Until Needed' option is provided. As per our example memory is allocated to JMeter to accommodate only 10 threads at t=0 and when ramp-up increase more memory is provided by the system to JMeter. This setting reduce the memory requirement at the very initial stage of test start. This is the only advantage of this option.
2. Start-up delay helps in scheduling a test. You can provide a delay time (say 300 seconds) then test will start after 5 minutes.
Refer the link to get more clarification: https://perfmatrix.blogspot.com/2017/01/apache-jmeter-thread-group.html
Very helpful post
ReplyDeleteHelp full post
ReplyDeleteHello, There is little mistake in local1 and local 2
ReplyDeleteThanks Badal,
DeleteMistake corrected
Hi i have few queries:
ReplyDelete1. Delay thread creation util needed: if i select this text box then all users will be created first and then the execution will start. then what will be use of ramp up period.
2. Unable to understand what exactly is startup delay. are we giving this time as warm up period for server.
Thank you in advance
Hi Ruchi,
Delete1. Just to correct you when you select the option 'Delay Thread Creation Until Needed' then threads are created in system memory only when they required. To clarify it more, let's say you unchecked this option and given 1000 threads which will ramp-up in 100 seconds. When the test starts at t=0 then 1000 threads' memory will be allocated to JMeter, but at t=0 only 10 threads are required which means JMeter reserved the memory of 990 threads in advanced.
To eliminate this situation, 'Delay Thread Creation Until Needed' option is provided. As per our example memory is allocated to JMeter to accommodate only 10 threads at t=0 and when ramp-up increase more memory is provided by the system to JMeter. This setting reduce the memory requirement at the very initial stage of test start. This is the only advantage of this option.
2. Start-up delay helps in scheduling a test. You can provide a delay time (say 300 seconds) then test will start after 5 minutes.
Refer the link to get more clarification:
https://perfmatrix.blogspot.com/2017/01/apache-jmeter-thread-group.html