jmeter -n -t D:\app\workspace\Jemeter\apache-jmeter-5.3\backups\订餐管理系统.jmx -l D:\app\workspace\Jemeter\apache-jmeter-5.3\backups\test001.jtl
将jmeter压缩成tar.gz格式的压缩包,上传至linux服务器
进行jmeter的环境配置 sudo vim /etc/profile
JAVA_HOME=/home/ubuntu/java/jdk1.8.0_211
JMETER_HOME=/home/ubuntu/jmeter/apache-jmeter-5.3
JRE_HOME=$JAVA_HOME/JRE
CLASS_PATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib/rt.jar:%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar:%JMETER_HOME%\lib\jorphan.jar
PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin:$JMETER_HOME/bin
export JAVA_HOME JRE_HOME CLASS_PATH