Apache JMeter

What is Apache JMeter?

A load test will simulate end-user behavior that approaches the limits of an application's specifications. Testers can use Apache JMeter to simulate varying or heavy loads on singular or multiple servers, networks or objects to test a system's strength.

Jmeter works by simulating groups of users that send requests to a server or network, then returning statistics back to a user through visual diagrams. Apache Jmeter's GUI looks similar to a browser. However, Jmeter cannot render HTML pages or the JavaScript found in the pages as a browser would. Additionally, Jmeter supports the use of plug-ins. Plug-ins JMeter supports will extend the functionality of Jmeter and can be installed through the Plugin Manager.

Uses for JMeter

In addition to load testing, testers can use Apache JMeter to perform performance, spike and unit testing.

  • Performance testing is the process of determining the speed, responsiveness and stability of a computer, network, software program or device under a workload.
  • Spike testing is a form of load testing which rapidly increases and decreases the load over short bursts of time before returning to an average load. Spike tests simulate a system where there is an unexpected increase and decrease in loads (for example an e-commerce store on Black Friday).
  • Unit tests will analyze the smallest testable parts of an application. Jmeter can be used to unit test processes and protocols such as JDBCdatabase connections, LDAPJMS and HTTP.
Apache JMeter workflow
How Apache JMeter works

Benefits of JMeter

Benefits of using Apache JMeter include:

  • Open Source code base
  • support for browser plugins
  • support for offline analysis of test results
  • displays test results in a variety of ways, including charts, trees, tables or log files
  • user-friendly graphical user interface (GUI)
  • support for multiple types of tests and basic protocols
This was last updated in October 2021

Continue Reading About Apache JMeter

Dig Deeper on Software testing tools and techniques

Cloud Computing
App Architecture