Centos6.5 Installing jmeter pressure test Tool

Source: Internet
Author: User

1. Installing the 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 Exit!


#source/etc/profile//Make the new Java environment variable effective immediately

#java-version//test Java is installed successfully

Java Version "1.8.0_45"

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 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 Exit!


#source/etc/profile

#jmeter-V//test jmeter can be used

Writing log file to:/data/jmeter.log

_    ____   _    ____ _   _ _____       _ __  __ _____ _____ _____ ____

/ \  | _ \ / \  / ___| | | |     ____|  | | \/  | ____|_   _|  ____| _ \

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

/ ___ \|  __/ ___ \ |___|  _  | |___  | |_| | |  | | |___  | | | |___| _ <

/_/   \_\_|  /_/   \_\____|_| |_|_____|  \___/|_| |_|_____| |_| |_____|_| \_\ 3.0 r1743807


Copyright (c) 1999-2016 the Apache software Foundation

I'm here to say it's done!

You can start a stress test on Tomcat using JMeter!




This article is from the "Pzhi Linux operations Note" blog, make sure to keep this source http://riven.blog.51cto.com/8147412/1870240

Centos6.5 Installing jmeter pressure test Tool

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.