How to Install Apache Jmeter on opensuse15.1

Installation of Apache Jmeter On OpenSuse 15.1

Process

To check the Installed version of os

LinuxHelp:~ # cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.1 "
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.1"
PRETTY_NAME="openSUSE Leap 15.1"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
Use the below command to check the installed java version 
LinuxHelp:~ # java -version
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-suse-lp151.2.1-x8664)
OpenJDK 64-Bit Server VM (build 11.0.3+7-suse-lp151.2.1-x8664, mixed mode)

Download the jmeter under specific directory

LinuxHelp:~ # cd /mnt
LinuxHelp:/mnt # wget http://www.gtlib.gatech.edu/pub/apache/jmeter/binaries/apache-jmeter-5.2.tgz
--2019-11-05 03:52:56--  http://www.gtlib.gatech.edu/pub/apache/jmeter/binaries/apache-jmeter-5.2.tgz
Resolving www.gtlib.gatech.edu (www.gtlib.gatech.edu)... 128.61.111.11, 128.61.111.9, 128.61.111.7, ...
Connecting to www.gtlib.gatech.edu (www.gtlib.gatech.edu)|128.61.111.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 62106843 (59M) [application/x-gzip]
Saving to: ‘apache-jmeter-5.2.tgz’

apache-jmeter-5.2.tgz        100%[=============================================>]  59.23M   548KB/s    in 79s     

2019-11-05 03:54:16 (771 KB/s) - ‘apache-jmeter-5.2.tgz’ saved [62106843/62106843]

use following command to Extract the Downloaded File

LinuxHelp:/mnt # tar xvf apache-jmeter-5.2.tgz
apache-jmeter-5.2/
apache-jmeter-5.2/LICENSE
apache-jmeter-5.2/NOTICE
apache-jmeter-5.2/licenses/
apache-jmeter-5.2/licenses/Saxon-HE-9.9.1-5.jar/
apache-jmeter-5.2/licenses/Saxon-HE-9.9.1-5.jar/LICENSE
apache-jmeter-5.2/licenses/asm-7.1.jar/
apache-jmeter-5.2/licenses/asm-7.1.jar/LICENSE
apache-jmeter-5.2/licenses/bootstrap-3.3.4/
apache-jmeter-5.2/licenses/bootstrap-3.3.4/LICENSE
apache-jmeter-5.2/licenses/bootstrap-social-4.8.0/
apache-jmeter-5.2/licenses/bootstrap-social-4.8.0/LICENSE
apache-jmeter-5.2/licenses/bsf-2.4.0.jar/
apache-jmeter-5.2/licenses/bsf-2.4.0.jar/LICENSE.txt
apache-jmeter-5.2/licenses/bsf-2.4.0.jar/NOTICE.txt
apache-jmeter-5.2/licenses/caffeine-2.8.0.jar/
apache-jmeter-5.2/licenses/caffeine-2.8.0.jar/LICENSE
apache-jmeter-5.2/licenses/checker-qual-2.10.0.jar/
apache-jmeter-5.2/licenses/checker-qual-2.10.0.jar/LICENSE

List the contents

LinuxHelp:/mnt # ls -la
total 60652
drwxr-xr-x 1 root root       76 Nov  5 03:54 .
drwxr-xr-x 1 root root      156 Oct 20 22:05 ..
drwxr-xr-x 1 root root      120 Jan  2  1970 apache-jmeter-5.2
-rw-r--r-- 1 root root 62106843 Nov  4 01:30 apache-jmeter-5.2.tgz

Change directory to apache-jmeter-5.2/bin/

LinuxHelp:/mnt # cd apache-jmeter-5.2/bin/
LinuxHelp:/mnt/apache-jmeter-5.2/bin # ls -la
total 284
drwxrwxr-x 1 root root  1236 Nov  5 03:54 .
drwxr-xr-x 1 root root   120 Jan  2  1970 ..
-rw-r--r-- 1 root root 13385 Jan  2  1970 ApacheJMeter.jar
-rw-rw-r-- 1 root root  1392 Jan  2  1970 BeanShellAssertion.bshrc
-rw-rw-r-- 1 root root  2015 Jan  2  1970 BeanShellFunction.bshrc
-rw-rw-r-- 1 root root  1186 Jan  2  1970 BeanShellListeners.bshrc
-rw-rw-r-- 1 root root  2036 Jan  2  1970 BeanShellSampler.bshrc
-rw-rw-r-- 1 root root  1109 Jan  2  1970 create-rmi-keystore.bat
-rwxr-xr-x 1 root root  1074 Jan  2  1970 create-rmi-keystore.sh
drwxrwxr-x 1 root root   180 Jan  2  1970 examples
-rw-rw-r-- 1 root root  1514 Jan  2  1970 hc.parameters
-rw-rw-r-- 1 root root  1071 Jan  2  1970 heapdump.cmd
-rwxr-xr-x 1 root root  1062 Jan  2  1970 heapdump.sh
-rw-rw-r-- 1 root root  1350 Jan  2  1970 jaas.conf
-rwxr-xr-x 1 root root  8589 Jan  2  1970 jmeter
-rw-rw-r-- 1 root root  1703 Jan  2  1970 jmeter-n-r.cmd
-rw-rw-r-- 1 root root  1700 Jan  2  1970 jmeter-n.cmd
-rwxr-xr-x 1 root root  1358 Jan  2  1970 jmeter-server
-rw-rw-r-- 1 root root  2415 Jan  2  1970 jmeter-server.bat
-rw-rw-r-- 1 root root  1595 Jan  2  1970 jmeter-t.cmd
-rw-rw-r-- 1 root root  8352 Jan  2  1970 jmeter.bat
-rw-rw-r-- 1 root root 55203 Jan  2  1970 jmeter.properties
-rwxr-xr-x 1 root root  3855 Jan  2  1970 jmeter.sh
-rw-rw-r-- 1 root root  1006 Jan  2  1970 jmeterw.cmd
-rw-rw-r-- 1 root root  1374 Jan  2  1970 krb5.conf
-rw-rw-r-- 1 root root  4190 Jan  2  1970 log4j2.xml
-rwxr-xr-x 1 root root   852 Jan  2  1970 mirror-server
-rw-rw-r-- 1 root root  1487 Jan  2  1970 mirror-server.cmd
-rwxr-xr-x 1 root root  1339 Jan  2  1970 mirror-server.sh
drwxrwxr-x 1 root root    72 Jan  2  1970 report-template
-rw-rw-r-- 1 root root 11869 Jan  2  1970 reportgenerator.properties
-rw-rw-r-- 1 root root  2638 Jan  2  1970 rmi_keystore.jks
-rw-rw-r-- 1 root root 24922 Jan  2  1970 saveservice.properties
-rw-rw-r-- 1 root root  1089 Jan  2  1970 shutdown.cmd
-rwxr-xr-x 1 root root  1080 Jan  2  1970 shutdown.sh
-rw-rw-r-- 1 root root  1090 Jan  2  1970 stoptest.cmd
-rwxr-xr-x 1 root root  1081 Jan  2  1970 stoptest.sh
-rw-rw-r-- 1 root root  4560 Jan  2  1970 system.properties
drwxrwxr-x 1 root root   596 Jan  2  1970 templates
-rw-rw-r-- 1 root root  1075 Jan  2  1970 threaddump.cmd
-rwxr-xr-x 1 root root  1066 Jan  2  1970 threaddump.sh
-rw-rw-r-- 1 root root  7377 Jan  2  1970 upgrade.properties
-rw-rw-r-- 1 root root  6707 Jan  2  1970 user.properties
-rw-rw-r-- 1 root root  1083 Jan  2  1970 utility.groovy

Use the Below command to run the Jmeter

LinuxHelp:/mnt/apache-jmeter-5.2/bin # sh jmeter.sh
Nov 05, 2019 3:56:08 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
================================================================================
Don't use GUI mode for load testing !, only for Test creation and Test debugging.
For load testing, use CLI Mode (was NON GUI):
   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
================================================================================
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.jmeter.gui.MainFrame (file:/mnt/apache-jmeter-5.2/lib/ext/ApacheJMeter_core.jar) to field sun.awt.X11.XToolkit.awtAppClassName
WARNING: Please consider reporting this to the maintainers of org.apache.jmeter.gui.MainFrame
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

With this,Installation of Apache jmeter On OpenSuse 15.1 is successfull and the tutorial comes to an end here.

FAQ
Q
List some alternative to JMeter?
A
Gatling
locust
Tsung
Katalon studio
Soap UI
Q
Advantages of JMeter?
A
opensource
Robust Reporting
Ease of use
platform-independent
Q
What is the latest version of apache JMeter?
A
Apache JMeter latest version is 4.2
Q
Can Apache JMeter analyze Dynamic web server?
A
yes, It Can Handle Both Static and Dynamic Based web server
Q
What is apache JMeter?
A
Apache JMeter is an open-source software that is mainly used to analyze overall server performance under heavy load.