JMeter: Let’s Begin Performance Testing with it .!!


JMeter ?


Apache JMeter application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.

How to install JMeter ?

Go to

Click on Download Release, and Download the apache-jmeter-*.zip.

JMeter Download

Once you extract the zip. Go to the bin folder and double-click on the jmeter.bat file.

NOTE: Java 8+ should be installed in your system to make the JMeter start. 


Setting Up the HEAP size to avoid Out of Memory Error

While executing the test, JMeter throws a heap dump with an OUT of memory error.

You can edit the jmeter.bat file to increase the memory allocation (heap size).

Edit the jmeter.bat and search below line,

set HEAP=-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m

You can set the memory of the JMeter here.

The exception seen is shown below,

JMeter App - Heap size exception

Run the following command in the command prompt to check the total heap allocated to JVM:

java -XX:+PrintFlagsFinal -version | findstr /i “HeapSize PermSize ThreadStackSize”

JMeter App - Allocated Heap Using CMD

Once we double-click on the jmeter.bat, the JMeter application gets open with a cmd.


JMeter App

Now that the installation is complete, you can begin performing performance testing with this tool…!!!

Leave a Comment

Your email address will not be published. Required fields are marked *