环境准备
1.官网下载
https://jmeter.apache.org/
2.已有jdk
3.在终端中输入vim .bash_profile,编辑配置文件,将下方内容写入配置文件中,写完按esc键,输入:wq 退出编辑页面
export JMETER_HOME={{jmeter文件解压路径}} export PATH=$JAVA_HOME/bin:$PATH:.:$JMETER_HOME/bin:$PATH (这个个人没有配置)export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JMETER_HOME/lib/ext/ApacheJMeter_core.jar:$JMETER_HOME/lib/jorphan.jar:$JMETER_HOME/lib/logkit-2.0.jar
4.输入source ~/.bash_profile,直接在终端中输入jmeter,即可启动jmeter
标签:JMETER,jmeter,lib,jar,mac,export,HOME,Jmeter From: https://www.cnblogs.com/sara20200116/p/17824010.html