• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install apache jmeter on ubuntu 18.04

{{postValue.id}}

To install Apache JMeter on Ubuntu 18.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. The method to install Apache JMeter on Ubuntu 18.04 is covered here.

Installation
Apache JMeter requires java to be pre-installed on the machine so, Before you install apache jmeter make sure you have java installed on your machine and you can verify that by using the following command.

root@linuxhelp:~# java --version
java 9.0.4
Java(TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)

After installing java Download the latest stable version of Apache JMeter from its official site through wget command from the terminal.

root@linuxhelp:~# wget http://www.gtlib.gatech.edu/pub/apache/jmeter/binaries/apache-jmeter-4.0.tgz
--2018-04-16 19:29:20--  http://www.gtlib.gatech.edu/pub/apache/jmeter/binaries/apache-jmeter-4.0.tgz
Resolving www.gtlib.gatech.edu (www.gtlib.gatech.edu)... 128.61.111.11, 128.61.111.7, 128.61.111.10, ...
Connecting to www.gtlib.gatech.edu (www.gtlib.gatech.edu)|128.61.111.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48520962 (46M) [application/x-gzip]
Saving to: ‘ apache-jmeter-4.0.tgz’ 

apache-jmeter-4.0.tgz          100%[====================================================> ]  46.27M   585KB/s    in 2m 10s  

2018-04-16 19:31:30 (366 KB/s) - ‘ apache-jmeter-4.0.tgz’  saved [48520962/48520962]

Now, extract the downloaded JMeter file.

root@linuxhelp:~# tar xf apache-jmeter-4.0.tgz

after extracting the apache jmeter archive, navigate to the bin directory of apache jmeter.

root@linuxhelp:~# cd apache-jmeter-4.0/bin/
root@linuxhelp:~/apache-jmeter-4.0/bin#

Now run the following script to install apache jmeter.

 root@linuxhelp:~/apache-jmeter-4.0/bin# sh jmeter.sh 

================================================================================
Don' t use GUI mode for load testing !, only for Test creation and Test debugging.
For load testing, use NON GUI Mode:
   jmeter -n -t [jmx file] -l [results file] -e -o [Path to web report folder]
&  increase Java Heap to meet your test requirements:
   Modify current env variable HEAP=" -Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m"  in the jmeter batch file
Check : https://jmeter.apache.org/usermanual/best-practices.html
================================================================================

The following screen will appear, which is apache-jmeter 4.0 .

jmeter_application

With this, the method to install apache jmeter on ubuntu 18.04 comes to an end.

Tags:
aiden
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How to check the version of "Apache" web server on the system?

A

You can use execute the following command on the terminal to get a version of "Apache" web server on the system. For syntax: "apache2 -V"

Q

What is the minimum requirement to install "Apache GUI" on the system?

A

Here you can see the pre-requirement to install "ApacheGUI",

1. Install and configure "Java" on the system,

2. Install and configure "LAMP" setup on the system,

3. Then you can install "ApacheGUI" on your system.

Q

while execute jmeter . It will not run and also didn’t open a application

A

To check jmeter file is in execute permission

Q

What is the alternative tool available for the "ApacheGUi"?

A

An alternative is given below for "ApacheGUI",

1. Webmin

2. UwAmp

3. ServerPilot.io

4. Sentora

Q

What is the default Administration credential for "Apache jmeterI"?

A

The default credential of Administration console for the "ApacheGUI",

username: "admin"

password: "admin"

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Isaiah ?
What is the use of SUID & SGID commands

How to set the special permissions to the files and folders using SUID and SGID commands...

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.