Introduction


In this tutorial, we will learn step by step process of how to Install and start JMeter 3.1 on Windows 7 machine. At the same time, we will also learn about the basic knowledge of what JMeter is and why we use JMeter.

What is JMeter?

  • The Apache JMeter application is open source software.
  • It is 100% pure Java application designed to load test.
  • It is designed for analyzing and measuring the performance of a variety of applications, with a focus on web applications.

Why JMeter?

Some of the benefits of using JMeter are:

  1. It is open source testing tool.
  2. It is the most popular performance tool.
  3. It is very easy to Install. All you need is internet connection to download into your machine and start working.
  4. It is very userfriendly.
  5. Besides HTTP protocol it is compatible with multiple protocols.
  6. Finallly, it is very well documented and has a Big community support.In this way you can easily get help when you need it.

Before you begin this tutorial you’ll need the following:

  • Windows 7 machine with internet access to Install JMeter on your machine.

Prerequisites

  • Apache JMeter 3.1 (Requires Java 7 or later).
  • Operating Systems:Any operating system that has a compliant Java implementation.

Step 1 — Check whether Java Runtime Environment (JRE) is installed on your computer.

Steps to check whether Java Runtime Environment (JRE) is installed in your computer.

There are several ways to check whether Java Runtime Environment (JRE) is installed in your computer.Few of the Tips are presented below.

The options listed below are for Windows 7.

Using the Command-line to find Java Versions

Open the Terminal window and type java -version

Java Version under Windows Start Menu

  1. Launch the Windows Start menu
  2. Click on Programs
  3. Find the Java program listing
  4. Click About Java to see the Java version

Java Version in Windows Programs

  1. Click Start
  2. Select Control Panel
  3. Select Programs
  4. Click Programs and Features
  5. The installed Java version(s) are listed.

By Navigating to the browser

Navigate to this link: https://www.java.com/en/download/installed8.jsp

Note:If Java is not installed at all on your machine then you can follow this download link and install Java  https://www.java.com/en/download/

Let us verify by Navigating to the browser.

Steps to follow:

  1. Navigate to this URL: https://www.java.com/en/download/installed8.jsp

    01_install_jmeter__verifyjava

  2. Click on the big red button Verify Java Version.

    05a_install_jmeter__run

  3. The Java detection app will ask for permission to run. Click Run to allow the verification process to continue.

    03_install_jmeter__congratulation

  4. If Java is already installed on your computer and is up to date then you will get this Congratulation Massage.

    NOTE: If you see this message then you need not follow the below steps. You may proceed with Step 2 –

    03_install_jmeter__installed

    Note: if the Java is installed and if it’s not up to date then you will get this screen.

    05a_install_jmeter__run

  5. If you wish to update with the latest version then go ahead and click on Run to update.

    downloadjavanow

  6. Click on big red Download Java Now button.

    install_jmeter_agreeandinstall

  7. Follow the Java install wizard dialog and complete the download process.

    Now we have verified,updated and Installed Java 7 or later version in our system, we are ready to kick off with our Apache JMeter 3.1 installation.

Step 2 — Install Apache JMeter 3.1 on Windows 7

  1. Navigate to this URL: http://jmeter.apache.org/

    01_installjmeter_drealeases

  2. Under Download, click on Download Releases.

    01_binaryzip-2

  3. Under Binaries,choose and click (apache-jmeter-3.1.zip md5 sha pgp) to download the zip file as shown in figure above.

    02_zipfiledownloaded

  4. Zip file is downloaded.

    03_showinfolder

  5. Double click or click on the drop down arrow. Select and Click on Show in folder

  6. Double click on apache-jmeter-3.1.zip folder.

    05_delectdesfilesdialog

  7. Now you have to unzip the file. Click on Extract all files

  8. Select a Destination and Extract Files dialog box opens.

06_selectandextract

  1. Click on Browse , select a destination where you want to place your JMeter File and Click on *Extract

         Note: In my case I have selected C:/Software
    

    07_extractionprocessstarts

  2. Extraction Process Continues …

    08_extractsundersoftware

  3. Extraction Process completes and you can see the extracted apache-jemeter-3.1 folder under C:\Software directory.

Congratulation ! You have successfully installed JMeter 3.1 on Wondows 7. We will learn how to open the JMeter tool in Step 3.

Step 3 — Open JMeter

![08_extractsundersoftware](https://cloud.githubusercontent.com/assets/10678180/23039370/ee0d4a9e-f452-11e6-99d6-bb3532d4b245.png)
  1. Navigate to the folder where you had previously unzipped and saved your JMeter file. For Example: In my case - I navigate to windows >Computer>Windows7_OS(C:)>Software

    08_extractsundersoftware

  2. Select apache-jemeter-3.1 folder and double click.

    09_bin-2

  3. Double Click on bin folder

    10_bat

  4. Double Click on jmeter.bat file

    11_run

  5. Click on Run from the pop up window.

    12_commandline

  6. Command line interface pops up.

Note: Do not close the command line pop up.Minimize it.

13_jmeterinterface

  1. After couple of seconds, Apache JMeter interface opens.

Conclusion

Congratulation! In this article you learned how to download and Install JMeter successfully on Windows 7.Thank you for taking out your time and going through the turorial.

Follow the blog for the next JMeter step by step Tutorial on how to sett up the proxy and Work with our First JMeter Script.