1、开发帮忙再服务器上配置jmeter
2、测试电脑链接linux服务器
3、我这边用的是Xshell,很好用,无需配置,直接问运维要链接ip和密码即可。(xshell的常用命令可以参考上一篇文章)
4、配置好后点击打开jmeter,点击链接
5、链接后顺利进入service!
6、查看jmeter版本,一般服务端jmeter版本需要和本地一致,这样才不会报错。
查看版本命令:jmeter -v
7、把本地jmx脚本文件上传到服务器(一般本地自己调试好,没有报错后,把具体脚本导出保存到电脑)
8、上传成功后,输入ll命令可以查看具体文件里面有哪些内容。
9、运行脚本:jmeter -n -t recommend.jmx
10、查看log:tail -f stdout.logs。即可以查看到具体的log日志。
没更新完。
后续持续更新,有问题欢迎讨论!!