简体   繁体   English

Jmeter - .jtl 未打开

[英]Jmeter - .jtl is not opening

I ran the Non-Gui jmeter script for 3000 users load, so for this 70MB .jtl file was created.我为 3000 个用户负载运行了 Non-Gui jmeter 脚本,因此创建了这个 70MB .jtl 文件。 Now I tried to open this .jtl in View Result Tree inside jmeter Test Plan, but it doesn't open and throw error saying "Error Loding Result File - See log file".现在我尝试在 jmeter 测试计划内的查看结果树中打开这个 .jtl,但它没有打开并抛出错误,提示“错误加载结果文件 - 查看日志文件”。

Can anyone suggest me the solution for this, I want to see response body and exception for failed API's ?任何人都可以为此建议我解决方案,我想查看失败的 API 的响应正文和异常吗?

I can suggest you seeing the log file, the file is called jmeter.log and it normally lives under "bin" folder of your JMeter installation or at the place where you launch JMeter from, the reason of failure should be more or less there.我可以建议您查看日志文件,该文件名为jmeter.log ,它通常位于 JMeter 安装的“bin”文件夹下或启动 JMeter 的位置,失败的原因应该或多或少在那里。

In general if the .jtl file comes from non-GUI JMeter execution with default Results File Configuration there is not much you can get from the View Results Tree listener, you should rather consider generating HTML Reporting Dashboard from the .jtl file - it will be way more informative:通常,如果 .jtl 文件来自具有默认结果文件配置的非 GUI JMeter 执行,则您无法从“查看结果树”侦听器中获得太多信息,您应该考虑从 .jtl 文件生成 HTML 报告仪表板- 这将是更多信息:

jmeter -g /path/to/your/file.jtl -o /path/to/dashboard/folder

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM