Carlos Aguni

Highly motivated self-taught IT analyst. Always learning and ready to explore new skills. An eternal apprentice.


Jmeter Study

09 Jun 2022 »

Save Responses to a file

Filename prefix :C:\Users\User\Documents\Apps\apache-jmeter-5.4.3\apache-jmeter-5.4.3\bin\resp\run_${__samplerName}_

[x] Add timestamp

or

Filename prefix: C:\Users\User\Documents\Apps\apache-jmeter-5.4.3\apache-jmeter-5.4.3\bin\resp\run_${__time(YMDHMS,)}_${__samplerName}

[x] Don’t add number of prefix

https://jmeter.apache.org/usermanual/functions.html#predefinedvars

What’s the Max Number of Users You Can Test on JMeter?

Heap Size

HEAP="-Xms512m -Xmx512m"

Allocated 2GB HEAP="-Xms512m -Xmx2048m"

JMeter and Load Testing Best Practices

https://www.seleniumtests.com/2015/11/jmeter-and-load-testing-best-practices.html

/etc/security/limits.conf

* soft nofile 20000
* hard nofile 30000

Out of memory Exception

JVM_ARGS="-Xms512m -Xmx512m" jmeter.sh

JVM_ARGS="-Xms2G -Xmx4G" jmeter.sh

-Xmx1024k

-Xmx512m

-Xmx8g