步驟:html
本機執行
cp /Users/zhao/Downloads/myjmeter/createmodel.jmx /Users/zhao/Desktop/python
開發機rz上傳以後執行
tunnel ftp put --cluster nbwjw --host web1 --upload createmodel.jmx --dir testweb
/home/zhao/apache-jmeter-3.3/bin/jmeter.sh -JthreadNum=5 -JrunTimes=10 -n -t /home/zhao/apache-jmeter-3.3/script/jmxfile/createmodel.jmx apache
文件傳輸命令
在web1上起服務 python -m SimpleHTTPServer 8090
在web2上下載文件 curl -O http://10.76.3.21:8090/autojmeter.py多線程