Jmeter报告给出了分布式模式下的错误,但是错误没有出现在结果树中 [英] Jmeter report giving errors with distributed mode but errors don`t appear in result tree

查看:683
本文介绍了Jmeter报告给出了分布式模式下的错误,但是错误没有出现在结果树中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从GUI以分布式模式运行测试.我有大约20,000个用户,两台虚拟机具有4个以上的VPCU和80 Gg的内存.我看不到任何计算机的压力,无论是从属计算机还是主计算机,还是受测服务器,在GUI中几乎看不到任何错误.但是,在报告中,我遇到以下错误:

I am running my test in distributed mode from the GUI. I have some 20,000 users and two vitual machines have more than 4 VPCUs and 80 Gg memory. I can`t see any stress on any of the machines, neither the slaves or masters, nor the server under test and I could hardly see any error in the GUI. However, in the report, I am having the following errors:

非HTTP响应代码:javax.net.ssl.SSLException/非HTTP响应 讯息:无法开始握手

Non HTTP response code: javax.net.ssl.SSLException/Non HTTP response message: Couldn't kickstart handshaking

非HTTP响应代码:javax.net.ssl.SSLException/非HTTP响应 消息:readHandshakeRecord

Non HTTP response code: javax.net.ssl.SSLException/Non HTTP response message: readHandshakeRecord

非HTTP响应代码:javax.net.ssl.SSLException/非HTTP响应 消息:连接重置

Non HTTP response code: javax.net.ssl.SSLException/Non HTTP response message: Connection reset

误差只有0.05%

任何人都可以帮助我这些错误的含义以及如何纠正它们.

Can anyone help me what these errors mean and how can I correct them.

推荐答案

  1. 您没有在GUI中看到错误,因为查看结果树侦听器仅显示500个最后结果,它可由view.results.tree.max_results JMeter属性控制,并且如果将下一行添加到 user.properties 文件中:

  1. You are not seeing the error in GUI because i.e. View Results Tree listener shows only 500 last results, it is controllable by view.results.tree.max_results JMeter Property and if you add the next line to user.properties file:

view.results.tree.max_results=0

下次运行JMeter时,您将在查看结果树"侦听器中看到每个请求.

next time you run JMeter you will see each and every request in the View Results Tree listener.

被告知GUI模式应用于测试开发和调试,

Be informed that GUI mode should be used for tests development and debugging, execution should happen in command-line non-GUI mode

对于Couldn't kickstart handshakingreadHandshakeRecord-您可以通过启用SSL的调试日志来获取一些故障排除信息,可以通过在 system.properties 文件中添加下一行来完成:

For Couldn't kickstart handshaking and readHandshakeRecord - you can get some troubleshooting information by enabling debug logging for SSL, it can be done by adding the next line to system.properties file:

javax.net.debug=ssl

  • 对于Connection reset-请参见 JMeterSocketClosed 维基文章
  • 如果您有权访问您的应用程序日志,请检查它们是否存在可疑条目
  • For Connection reset - see JMeterSocketClosed wiki article
  • If you have access to your application logs - check them for any suspicious entries
  • 更多信息:

    • Apache JMeter Properties Reference
    • Apache JMeter Properties Customization Guide

    这篇关于Jmeter报告给出了分布式模式下的错误,但是错误没有出现在结果树中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆