Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This guide aims at enabling the readers to be able to configure and load test multiple API’s with the ease of Apache JMeter tool.

Configuring Apache JMeter:

1) Updating Packages

If you are logged into Ubuntu 20.04, then run the following command to update your base system with the latest available packages. Windows users can skip this step.

sudo apt-get update -y

2) Install Java

Apache JMeter is a Java based application. Therefore, it requires Java to be installed in your system. Java can be downloaded from the following link:

JDK for windows

JDK for linux

3) Install Apache Web Server

Apache Web Server is required to start the Apache service, which is responsible for accepting directory (HTTP) requests from Internet users and sending them their desired information in the form of files and Web pages.

Windows users can install the Apache Web Server from the following link:

Apache Web Server for windows

Linux users can install it with the following command:

sudo apt-get install apache2 -y

After installation of the Apache Web Server, start the Apache service and enable it to start at system reboot using the following commands:

systemctl start apache2
systemctl enable apache2

Check if the service is running properly:

systemctl status apache2

4) Install and Configure Apache JMeter

You can install Apache JMeter (version 5.5 which is the latest) directly from the Apache JMeter Official Website

Windows users can follow the following link to install Apache JMeter:

Apache JMeter for windows

Linux users can directly download the zip file using the following command:

https://downloads.apache.org//jmeter/binaries/apache-jmeter-5.5.zip

Once downloaded, unzip the downloaded file using the following command:

unzip apache-jmeter-5.5.zip

Change the directory to the bin in JMeter:

cd apache-jmeter-5.5/bin

Now start the JMeter application with the following command:

./jmeter

  • No labels