Start a Project

Apache JMeter – Installation and Overview

What is APACHE JMeter ?

The Apache JMeter™ application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.

Apache JMeter is used to test performance both on static and dynamic resources, Web dynamic applications.
It can be 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 types.

The protocols supported by JMeter are −

Prerequisites to Install Jmeter :-

JMeter is a pure Java desktop application. It requires a fully compliant JVM 6 or higher. You need to download and install the latest version of Java SE Development Kit.

The Operating Systems compatible with JMeter are:

In this blog we are using the following versions :-

INSTALLATION :-

Step1 : Install Java

Step2 :  Download Jmeter

Go to : – https://jmeter.apache.org/download_jmeter.cgi and choose the latest version.

Latest version is 5.2. You can choose from the given binaries.

Step3 :- Untar the apache-jmeter-5.2.1.tgz

Step4 :- Just go  to bin folder inside apache-jmeter-5.2.1 directory and run the following command 

now JMeter will launch:-

Now that you have understood the installation process, now you can create your own test plan in JMeter with the help of different elements.

Elements of JMeter :-

The different components of JMeter are called Elements. Each Element is designed for a specific purpose. Some of the main elements are :

1. Thread Group

A Thread Group is a set of threads executing the same scenario . Each thread represents one user using the application under test. It simulates one real user request to the server. The controls for a thread group also allow you to set the number of threads for each group.

2. Samplers

JMeter supports testing HTTP, FTP, JDBC, and many more protocols. Thread Groups simulate user request to the server. Samplers help the Thread Group to know which type of requests (HTTP, FTP, etc.) it needs to make.

3. Listeners

Listeners show the results of the test execution. They can show results in a different format such as a tree, table, graph or log file.

4. Configuration Elements

Configuration Elements are used to set up defaults and variables for later use by samplers.

Now you are familiar with JMeter, in the upcoming blogs we will see how to perform simple load tests with JMeter.

In case of any help or query, please contact us or raise a ticket at

 support@webkul.com.

Exit mobile version