1.jmeter 基于linux,首先看java -version 提示command not found
ok,.我们需要准备下java jdk 1.8,wmware 窗口复制黏贴不了,用xshell 7(个人和学校版,官网自己下载)连接上去
1.yum install -y java-1.8.0-openjdk-devel.x86_64,完毕后 java -version
wget 找不到命令需要安装
1.yum -y install wget
2.wget http://archive.apache.org/dist/jmeter/binaries/apache-jmeter-5.4.tgz
3.tar zxvf apache-jmeter-5.4.tgz
4.mv apache-jmeter-5.4 /usr/src
5.vi /etc/profile
结尾加上
# set Jmeter enviroment
export JMETER_HOME=/usr/etc/apache-jmeter-5.4
export PATH=${PATH}:${JMETER_HOME}/bin
6.source /etc/profile 刷新配置
7.jmeter -v,看效果