zoukankan      html  css  js  c++  java
  • Jmeter性能测试NoHttpResponseException (the target server failed to respond)

    采用JMeter做Http性能测试时,在高并发请求的情况下,服务器端并无异常,但是Jmeter端报错NoHttpResponseException (the target server failed to respond)

    这应该是由于服务器端的负载过高以及网络带宽占满等因素导致响应延迟加长,而Jmeter默认没有timout等待,导致出错。解决方案:

    设置bin/jmeter.properties:

    # Number of retries to attempt (default 0)
    httpclient4.retrycount=3

    # Idle connection timeout (ms) to apply if the server does not send Keep-Alive headers
    httpclient4.idletimeout=30

    在Jmeter test plan中的Http Request的Implementation选择HttpClient4

    原文链接:https://blog.csdn.net/just_lion/article/details/46923775

  • 相关阅读:
    Docker 第一章 安装测试
    时区
    操作系统层虚拟化
    KVM
    基于秘钥的登录认证
    Hypervisor
    通过域名区分不同网站服务
    硬件虚拟化
    虚拟化初识
    nginx rewrite (转发)
  • 原文地址:https://www.cnblogs.com/wu-wu/p/11394555.html
Copyright © 2011-2022 走看看