Introduction to Apache JMeter - A Quick guide

As we all know Apache JMeter is a pure JAVA based open source tool to measure performance and to test functional behaviour of the applications. As it is used to simulate a heavy load on a server, group of servers, network or object to test its strength or to analyze overall performance under different load conditions.

apache-jmeter

Features of Apache JMeter

  1. Supports many protocols and can load test different servers or applications.
  2. Allows to record the test flows of the applications and debugging.
  3. Has support for many scripting languages to execute a Test Plan like Groovy, Beanshell.
  4. Command-line mode/Non GUI to load test from any Java compatible OS (Linux, Windows, Mac OSX).
  5. Capability to do correlation for any kind of Response Data formats like HTML, JSON, XML, etc.
  6. JMeter has in-built functions which are used for inputs and data manipulation to do a test.
  7. JMeter Listener allows us to view and analyze the response/results of the request in Graphical, Table and in Tree formats.

Installation:

  1. Setting up Apache JMeter is very simple, as we just need to go to the official website of Apache JMeter and download the latest version (zip or tgz) and unzip the file to the local folder.
  2. Also download the latest version of JAVA, as JMeter is pure JAVA desktop application and setup Java Environment Variable Path.
  3. Now go to JMeter-bin folder and run jmeter.bat file if it is windows OS and jmeter.sh for Linux and Mac OS.
  4. FrugalTesting uses Apache JMeter 3.3, which has more number of features compared to older.

JMeter 3.3 Features:

  1. JAVA 8 version is required to run JMeter 3.3.
  2. The Function Helper Dialog has some improvements, on click of generate we can now be able to preview result of the function. And also two more functions have been introduced in the version: __timeShift and __RandomDate.
    function-helper
  3. Now, HTTP sampler supports Brotli decompression. You can add br encoding value in the Header manager.
  4. InfluxDB Backend Listener now supports sending results to InfluxDB through UDP protocol.
  5. The Default implementation is removed from Cookie manager as it only supports only one HTTP client implementation.
  6. JDBC connection configuration element has been improved by adding select boxes for drivers and validation queries.
    jdbc-connection-configuration
  7. The UX/UI of IF and While controllers have been improved.

These are some of the features improved in JMeter 3.3 and apart from these there are lot of bug fixes.


People Also View