Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Centos6.5 installs jmeter stress testing tool

Shulou Source: shulou.com Published: 2022-06-03 07:21:16 11月23日 Update

1. Install JDK

# wget http://download.oracle.com/otn-pub/java/jdk/8u111-b14/jdk-8u111-linux-x64.tar.gz

# tar zxf jdk-8u111-linux-x64.tar.gz-C / usr/local/

# vim / etc/profile / / New JAVA environment variable

Export JAVA_HOME=/usr/local/jdk

Export JRE_HOME=/usr/local/jdk/jre

Export PATH=$JAVA_HOME/bin:$PATH

Export CLASSPATH=./:/usr/local/jdk/lib:/usr/local/jdk/jre/lib

Save and exit!

# java-version / / Test whether JAVA is installed successfully

Java version "1.8.045"

Java (TM) SE Runtime Environment (build 1.8.0_45-b14)

Java HotSpot (TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

2. Download apache-jmeter

# wget http://apache.fayea.com//jmeter/binaries/apache-jmeter-3.0.tgz

# tar zxf apache-jmeter-3.0.tgz-C / data/

# vim / etc/profile / / add jmeter to the environment variable

Export JMETER=/data/jmeter

Export CLASSPATH=$JMETER/lib/ext/ApacheJMeter_core.jar:$JMETER/lib/jorphan.jar:$JMETER/lib/logkit-2.0.jar:$CLASSPATH

Export PATH=$JMETER/bin/:$PATH

Save and exit!

# source / etc/profile

# jmeter-v / / Test whether jmeter can be used

Writing log file to: / data/jmeter.log

_ _ _

/\ | _ / / _ | _ |\ / | _

/ _\ | | _) / _\ | | _ | | _ |\ / | | _ | | | _) |

/ _\ | _ _ / _\ | _ | _ _ | | _ _

Tags: Testing variables environment success stress tools testing tools Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Shulou Tech Info OPPO Reno Xiaomi vpn