Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install latest JMeter in Ubuntu 15.10?

Tags:

ubuntu

jmeter

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 and when tried to run jmeter.jar file it won't open.

I am trying to install this on a Ubuntu 15.10 server. I can't upgrade to the latest version.

Could anyone guide me how to install or open the latest release of JMeter in Ubuntu 15.10?

like image 858
Deepesh Thapa Avatar asked May 19 '16 20:05

Deepesh Thapa


1 Answers

Looking into jmeter package details you won't be able to get latest JMeter via apt.

Follow the next simple installation steps:

  1. sudo apt-get update - to refresh packages metadata
  2. sudo apt-get install openjdk-7-jre-headless - Java 7 is pre-requisite for JMeter 3.0
  3. wget -c http://ftp.ps.pl/pub/apache//jmeter/binaries/apache-jmeter-3.0.tgz - download JMeter 3.0
  4. tar -xf apache-jmeter-3.0.tgz - unpack JMeter
  5. apache-jmeter-3.0/bin/./jmeter -n -t apache-jmeter-3.0/extras/Test.jmx - run a sample test

If 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

like image 115
Dmitri T Avatar answered Oct 09 '22 04:10

Dmitri T