How to install Apache JMeter in Ubuntu 16.04
To install Apache JMeter in Ubuntu 16.04
The Apache JMeter application is open source software which is used for performing load test and to measure the performance of the system. Although it was initially designed for testing Web Applications, it is now capable of performing other test functions too. This article guides you through the installation of Apache JMeter on Ubuntu 16.04
JMeter supports the load and performance testing om many different server/protocol types such as:
- Web Servers are HTTP, HTTPS
- SOAP / REST
- FTP
- Database via JDBC
- LDAP
- Mail - SMTP, POP3, and IMAP
- MongoDB (NoSQL)
- Native commands or shell scripts
- TCP
Step by step installation Apache JMeter
Installing Java
The installation of JMeter on Ubuntu requires prior installation of JAVA. If you do not have Java installed, you can follow our guide here :
Installing Apache JMeter.
After ensuring the presence of Java in your system, download the latest stable version of Apache JMeter from Apache JMeter download page.
root@linuxhelp:~# wget http://redrockdigimark.com/apachemirror//jmeter/binaries/apache-jmeter-3.1.tgz
--2016-12-27 06:24:23-- http://redrockdigimark.com/apachemirror//jmeter/binaries/apache-jmeter-3.1.tgz
Resolving redrockdigimark.com (redrockdigimark.com)... 119.18.61.94
Connecting to redrockdigimark.com (redrockdigimark.com)|119.18.61.94|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 47080967 (45M) [application/x-tar]
Saving to: ‘ apache-jmeter-3.1.tgz’
apache-jmeter-3.1.t 100%[===================> ] 44.90M 485KB/s in 79s
2016-12-27 06:25:42 (584 KB/s) - ‘ apache-jmeter-3.1.tgz’ saved [47080967/47080967]
Now, use the following command to extract the downloaded JMeter file.
[root@linuxhelp ~]# tar -xf apache-jmeter-3.1.tgz
Once it is downloaded, change its directory to apache-jmeterxxx > bin
[root@linuxhelp ~]# cd apache-jmeter-3.1/bin/
root@linuxhelp:~/apache-jmeter-3.1/bin#
Run the following command to install Apache JMeter.
root@linuxhelp:~/apache-jmeter-3.1/bin# ./jmeter
Writing log file to: /root/apache-jmeter-3.1/bin/jmeter.log
================================================================================
Don' t use GUI mode for load testing, only for Test creation and Test debugging !
For load testing, use NON GUI Mode & adapt Java Heap to your test requirements
================================================================================
Comments ( 1 )