https://blog.csdn.net/u011037681/article/details/104611928
终端进入jmeter/bin 目录下
执行命令:
./jmeter -n -t /Users/yuanyuanhe/Desktop/jmeter/用户登录.jmx -l /Users/yuanyuanhe/Desktop/jmeter/report1/result0.html -e -o /Users/yuanyuanhe/Desktop/jmeter/report1/
其中:
jmeter 脚本:
/Users/yuanyuanhe/Desktop/jmeter/用户登录.jmx
测试结果:
/Users/yuanyuanhe/Desktop/jmeter/report1/result0.html
存放测试结果文件夹,需在指令执行前创建好,且该文件夹必须为空
/Users/yuanyuanhe/Desktop/jmeter/report1/
查看实时结果:Jmeter+influxdb+Grafana