Welcome to Learn JMeter Series! This series helps you to learn Apache JMeter in a much simpler way with the relevant examples and exercises. This article talks about downloading and installing Apache JMeter in Windows OS. Let’s get started.
Previous article Introduction to JMeter
The only prerequisite to run JMeter is to have Java 8+. In my system, I have installed Java 15.
There is no need to configure JMETER_HOME environment variable in the OS. JMeter will automatically detect it.
To verify the Java installation:
- Launch command prompt
To download the JMeter:
- Navigate to https://jmeter.apache.org/
- Click on Download Releases
- Select the closest mirror
- Click on either zip or tgz file under Binaries
This will download the binaries in your downloads folder.
Tip: Install Java JDK, not just JRE.
To verify the integrity of JMeter zip file, click on respective SHA512 link. This will give you the string e.g. `
Launch Powershell in Windows and enter the below command.
Get-FileHash .\apache-jmeter-5.4.zip -Algorithm SHA512 | Format-List
This will give you the output as shown below. Verify that the both the hash string must match before you scan and extract the zip file.
JMeter is not an exe file or installable. Instead you will use
jmeter.sh to launch the user interface.
Before extracting the contents, create a folder in your main drive e.g.
C:\JMeter. It will help you to maintain different versions of JMeter.
Move the zip/tgz file to
C:\JMeter and extract the contents.
Tip: If you are using 7z to extract, it will extract the contents faster than the native Windows Extraction.
Upon extraction, you will see the below folders by default.
bin– very critical folder which contains *.jar, *.sh, *.bat, *.properties and more. It will also have examples, report-template, and templates folders. Do not make any changes unless you know what you are doing.
docs– contains all css, images, screenshots etc for the help
extras– contains *.bsh,*.cmd,*.xsl, ant related extra files
lib– contains all the required files for JMeter
licenses– contains all the licenses information for the jars
printable_docs– contains all the user manual
Apart from the above folders, you could also see
backups and other folders based on the plugins you have installed.
README.md are the text files for your leisure time read.
You can launch JMeter in multiple ways. The recommended approach is to launch the
jmeter.bat for Windows or
jmeter.sh for Linux and macOS.
bin folder and double click on
jmeter.bat in Windows which will launch the command prompt and displays the below information.
After few seconds JMeter will get launched as shown below.
jmeter.bat there are other files which will help you to launch JMeter either in GUI mode or CLI (Command Line Interface) mode.
If you want to launch JMeter without shell console, you can do that by launching