JMeter压测结果报错-Error in NonGUIDriver java.lang.RuntimeException: Could not find the TestPlan class!
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
问题描述:
在进行压力测试时,为了降低网络带宽对响应时间的影响,通常高并发时会采用在Windows上使用JMeter编写好测试脚本-xxx.jmx;将脚本上传到相同局域网的Linux服务器,使用JMeter对应命令进行压力测试的方法。测试有时会遇到如下报错:
问题原因:
保存测试脚本时只保存了Testplan下的部分节点,导致生成的测试脚本只是“testplan”下面的某些元素,,不包括需要运行测试所需的“TestPlan”元素。
解决方案:
在保存测试脚本时,保存整个测试计划,以下两种方式保存测试脚本,可以避免上述报错产生。
1.在文件菜单中单击“保存测试计划”或“保存测试计划为”选项;
2.鼠标选中测试计划节点,直接点击工具栏上的“保存测试计划”按钮




A beautiful web dashboard for Linux
最近提交(Master分支:18 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)