jmter安装地址:http://jmeter.apache.org/download_jmeter.cgi
unzip apache-jmeter-5.4.zip
export PATH=/usr/local/apache-jmeter-4.0/bin/:$PATH
source /etc/profile
#!/usr/bin/env bash #!/bin/sh RESOURCE_NAME=fashioning.jmx tpid=`ps -ef|grep $RESOURCE_NAME|grep -v grep|grep -v kill|awk '{print $2}'` for id in $tpid do kill -9 $id echo "killed $id" done rm -f tpid setsid apache-jmeter-5.4/bin/jmeter -n -t $RESOURCE_NAME & sleep 5 echo Start Success!
**容易出错:
NonGuIDriver ConversionException
本地/lib/ext文件夹下,新加的jar包也要同步放到Linux服务器上**