Skip to content

JMeter Installation

Aishwarya Vijay Sinhasane edited this page Mar 3, 2022 · 2 revisions

Performance Testing Using Jmeter

  • All of the Microservices were subjected to Apache Jmeter-based performance testing.
  • The Jmeter tool facilitates the execution of the tests with various loads.
  • Load tests are used to determine the maximum amount of requests that each service can handle, as well as the bottlenecks that cause performance to deteriorate.
  • The load testing is carried out by simulating real-world user scenarios.

Dependencies for Jmeter

  • Java version 8 or higher
  • Blazemeter (Extension from the Chrome Web Store) - optional you can run test plan manually in JMeter.

Steps for Installation of Jmeter

  • Login to https://jmeter.apache.org/download_jmeter.cgi
  • Under the Binaries Section, click on the link with the .zip extension.
  • Once the download is complete, extract the contents of the zip file into a new folder.
    • Windows
      • Place the folder into C:\Program Files
      • Navigate to the bin directory of the installation
      • Double click on the JMeter Windows Batch File to launch the application
    • Mac
      • Navigate to the bin directory of the installation
      • Execute the command sh ./jmeter.sh on the terminal

How to Run

  • With Blazemeter
    • Download and Install Blazemeter Chrome extension
    • Create new recording name it as LoginTest
    • Hit the login URL
    • Enter credentials and login to the system
    • Now stop the recording and download the .jmx file
    • Open this .jmx file in Jmeter and change the thread group accordingly.
    • Right-click on Test and add new listeners such as Graph Result, Summary Report, View Results in Tree, View Results in Table
    • Now run the test plan