Hi Milamber, I wish the Wiki content can be preserved, because the official JMeter documentation is quite dense already. This is more of a how-to or tips-and-tricks, perfect for Wiki and FAQ. Here is my prepared text (remove the 1st paragraph if not appropriate):
------------------- JMeter Ramp-Up Rate I can't count how many times I've explained to junior developers how to adjust the "Ramp-up Period (seconds)" when he/she increases the "Number of Threads (users)" setting of a thread group. Forgetting to do that floods the target site and the test machine itself. Here is how to use the concept of "Ramp-up Rate", which will save time in between tests and have a more consistent and reliable test plan. For most test scenarios, you set a fixed ramp-up rate (threads per second) and only adjust thread counts to increase load. The ramp-up period is then calculated by a script: 1. Add "User Defined Variables" to test plan with: THREAD_COUNT ${__P(thread.count, 1)} RAMP_UP_RATE ${__P(thread.rampupRate, 1)} 2. In each Thread Group, set "Ramp-up Period (seconds)" to: ${__javaScript(${THREAD_COUNT} / ${RAMP_UP_RATE})} or ${__jexl3(${THREAD_COUNT} / ${RAMP_UP_RATE})} 3. Add above properties to "user.properties" or a custom property file for the -q option: echo "thread.count=10">my.properties echo "thread.rampupRate=2">>my.properties jmeter -q my.properties ------------------- Thank you --Michael ________________________________ From: Milamber <milam...@apache.org> Sent: Monday, March 11, 2024 7:51 AM To: dev@jmeter.apache.org <dev@jmeter.apache.org> Subject: Re: Request Wiki permission to contribute Hi Michael, JMeter wiki is (more or less) obsolete. It is a hangover from the previous version of the Wiki (using MoinMoin app). In the JMeter documentation, we have this page about Thread Group: https://jmeter.apache.org/usermanual/component_reference.html#Thread_Group Or this page for best pratices: https://jmeter.apache.org/usermanual/best-practices.html If you provide the text about the "JMeter Ramp-up Rate" as best practices or as note into the TG page, we can change the documentation. Milamber On 07/03/2024 19:44, Michael Chen wrote: > Hi JMeter Team, > > I can't count how many times I've explained to junior developers how to > adjust the "Ramp-up Period (seconds)" when he/she increases the "Number of > Threads (users)" setting of a thread group. > > I like to contribute a Wiki or FAQ topic of "JMeter Ramp-up Rate". Even > though the solution is simple, it will help everyone save time in between > tests and have a reliable test plan. Please grant me edit permission to the > JMeter Wiki as describe in the home page (warning box "Sorry, ..."): > > https://cwiki.apache.org/confluence/display/JMETER/Home > > Thank you > > Michael Chen >