如何解决使用 JMeter 时遇到的问题

Posted Jason Kwok

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了如何解决使用 JMeter 时遇到的问题相关的知识,希望对你有一定的参考价值。

这是对 JMeter 官方网站上一篇文章的翻译。
点击这里可以访问原文JMeterTroubleShooting。
• check the log file. This is normally in the launch (i.e. bin) directory, and is called "JMeter.log".
• 查看 JMeter 的日志文件,通常这个日志文件在你启动 JMeter 的目录下,例如%JMeter_HOME%\bin 目录,文件名通常是 JMeter.log。(这个日志文件中的内容只是与 JMeter 本身运行有关的日志信息,与脚本的执行没有直接关系,脚本执行的情况请查看 JMeter result 文件,扩展名为 .jtl——译者注)
• check the JMeter documentation to ensure that the test script has been set up correctly
• 查看 JMeter 的文档并确认测试脚本的设置是正确的
• check the JMeterFAQ.
• 查看 JMeter 官方网站上的 FAQ(常见问题列表)
• check the mailing lists to see if anyone else has had the same or a similar problem
• 查看 JMeter 的用户邮件列表中是否别人已经遇到过跟你一样或者类似的问题(JMeter 是一个很受欢迎的开源性能测试工具,有很多人在使用它进行性能测试,所以很多问题都可以在邮件列表中找到答案。——译者注)
• check Bugzilla - you might have hit a known bug, and there may be a workround documented in Bugzilla
• 查看 JMeter 官方网站的 Bugzilla(一个著名的缺陷跟踪管理系统——译者注)——你可能遇到了一个已知的bug,并且已经记录在 Bugzilla 中了。
• try setting the logging level to DEBUG for some or all of the JMeter packages (details are in the JMeter.properties file)
• 尝试修改 JMeter 的日志级别为 DEBUG,以获得更多的有关 JMeter 运行的信息,来确认问题的原因。(修改 JMeter 日志级别请在 JMeter.properties 文件中搜索 log_level 并修改相应的选项——译者注)
If all the above fail to provide an answer, please read How To Ask Questions The Smart Way before posting a message on the the JMeter User mailing list.
如果上面这些都无法帮你解决你遇到的问题,请发送一个信息到 JMeter 的用户邮件列表——发送前请先看一下“如何聪明的提问 http://www.catb.org/~esr/faqs/smart-questions.html”。

以上是关于如何解决使用 JMeter 时遇到的问题的主要内容,如果未能解决你的问题,请参考以下文章

Jmeter遇到的问题

JMeter学习 JMeter使用中遇到的问题:Jmeter Debug - "Unrecognized VM option '+HeapDumpOnOutOfMemoryEr

如何解决jmeter(cli)中的转换错误

jmeter如何解决乱码问题

Jmeter分布式测试过程中遇到的问题及摘抄前辈问题汇总

jmeter调用时如何改变已定的变量名称