jmeter HTTP响应代码:org.apache.http.conn.HttpHostConnectException,非HTTP响应消息:连接被拒绝错误 [英] jmeter HTTP response code: org.apache.http.conn.HttpHostConnectException,Non HTTP response message: Connection refused Error

查看:1169
本文介绍了jmeter HTTP响应代码:org.apache.http.conn.HttpHostConnectException,非HTTP响应消息:连接被拒绝错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在与JMeter一起测试负载.我正在使用Amazon Server.当我向400个并发用户测试负载时,我收到错误消息

I am working to JMeter for testing the load.I am using Amazon Server.when I test the load to 400 Concurrent users, I am getting the error message

HTTP response code: org.apache.http.conn.HttpHostConnectException,Non HTTP response message: Connection refused

直到400个线程请求,它都可以正常工作并向我们提供响应.

Till the 400 Threads Request, it is working fine and provide us the response.

我们正在使用Xammp和apache服务器.有人可以帮我吗?

We are using Xammp and apache server.Can anyone help me out?

谢谢 米特什

推荐答案

  1. 确保已将Apache配置为接受多达400多个并发用户.有关计算和设置的说明.
  2. 确保已将JMeter配置为产生多达400个以上的并发用户.这是有关正确进行JMeter调整的指南.
  3. 确保您的Apache和JMeter系统没有过载,并具有足够的备用CPU,RAM,网络和磁盘IO,磁盘空间,交换空间等.您可以使用
  1. Make sure that your Apache is configured to accept as many as 400+ concurrent users. Here are instructions on calculating and setting.
  2. Make sure that your JMeter is configured to produce as many as 400+ concurrent users. Here is the guide on proper JMeter tuning.
  3. Make sure that your Apache and JMeter systems are not overloaded and have enough spare CPU, RAM, Network and Disk IO, disk space, swap, etc. You can use PerfMon JMeter Plugin for monitoring systems health.

这篇关于jmeter HTTP响应代码:org.apache.http.conn.HttpHostConnectException,非HTTP响应消息:连接被拒绝错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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