#配置jmter运行环境
sudo vi /etc/profile
export JMETER_HOME=/home/kunlun/huangqingjiao/apache-jmeter-3.0
export CLASSPATH=$JMETER_HOME/lib/ext/ApacheJMeter_core.jar:$JMETER_HOME/lib/jorphan.jar:$CLASSPATH
export PATH=$JMETER_HOME/bin:$PATH:$HOME/bin
source /etc/profile 目的让配置文件生效
chmod 777 /home/kunlun/huangqingjiao/apache-jmeter-3.0/bin/jmter
jmeter -v#验证环境
#运行测试计划
jmeter -n -t test.jmx -l test.jtl