When I try to install Apache JMeter in Ubuntu 15.10 using apt-get install JMeter it installs the older version 2.11. However, I tried to download the latest JMeter 3.0 version a
Looking into jmeter package details you won't be able to get latest JMeter via apt.
Follow the next simple installation steps:
sudo apt-get update
- to refresh packages metadatasudo apt-get install openjdk-7-jre-headless
- Java 7 is pre-requisite for JMeter 3.0wget -c http://ftp.ps.pl/pub/apache//jmeter/binaries/apache-jmeter-3.0.tgz
- download JMeter 3.0tar -xf apache-jmeter-3.0.tgz
- unpack JMeterapache-jmeter-3.0/bin/./jmeter -n -t apache-jmeter-3.0/extras/Test.jmx
- run a sample testIf anything goes wrong check java -version
command output, it should print something like:
ubuntu@ip-172-31-57-21:~$ java -version
java version "1.7.0_101"
OpenJDK Runtime Environment (IcedTea 2.6.6) (7u101-2.6.6-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
Make sure you have 1.7 or higher.
Just in case see How to Get Started With JMeter: Part 1 - Installation & Test Plans article for more detailed installation details
1.Download Jmeter(tgz format) from http://jmeter.apache.org/download_jmeter.cgi under binaries section.
2.Unzip the folder by running
tar -xf apache-jmeter-4.0.tgz
3.Run the following command to open JMeter
./bin/jmeter
You can download JMeter
from here.
In Apache JMeter 3.0 (Requires Java 7 or later)
download the "
apache-jmeter-3.0.tgz" package under the Binaries
section.
Go to the Downloads directory and run tar -xf apache-jmeter-3.0.tgz
Run cd apache-jmeter-3.0
Run ./bin/jmeter
or ./bin/jmeter -?
for help.
Note: Make sure that you have JAVA installed and the JAVA_HOME environment variable is set.
For Apache JMeter 5.1.1 follow the same instructions as suggested by others but these
sudo apt-get install openjdk-8-jre-headless
wget -c https://www-eu.apache.org/dist//jmeter/binaries/apache-jmeter-5.1.1.tgz