Jmeter 5.0 遇见connection reset问题

Jmeter 专栏收录该内容
17 篇文章 0 订阅

问题:大并发时遇见java.net.SocketException: Connection reset at Jmeter

测试过程中经常遇见connection reset ,原因是大数据量发送时,服务器不能接纳那么多请求。

root cause:

I supposed it happens because server can’t handle large load. By some reason server resets connection but it is not fail of JMeter.

There are at least 3 possibles reasons:

Most probable cause : Your server (meaning web servers handling request and any components after them) is not handling the load correctly and slowing down, monitor the system and check

You have exhausted your injector ephemeral ports , you need to adjust your OS TCP settings to increase port range

You’re running load test in GUI mode with a View Results Tree in test, this is bad practice as GC will happen frequently possibly triggering Stop The World leading to this. As per best-practices use NON GUI mode:

https://jmeter.apache.org/usermanual/best-practices.html
https://www.ubik-ingenierie.com/blog/jmeter_performance_tuning_tips/

  • 0
    点赞
  • 0
    评论
  • 1
    收藏
  • 打赏
    打赏
  • 扫一扫,分享海报

参与评论 您还未登录,请先 登录 后发表或查看评论
©️2022 CSDN 皮肤主题:大白 设计师:CSDN官方博客 返回首页

打赏作者

笑笑********

你的鼓励将是我创作的最大动力

¥2 ¥4 ¥6 ¥10 ¥20
输入1-500的整数
余额支付 (余额:-- )
扫码支付
扫码支付:¥2
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值