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

本秂侑毒 提交于 2020-05-15 10:11:53

问题


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

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

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

Thanks Mitesh


回答1:


  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.


来源:https://stackoverflow.com/questions/27816792/jmeter-http-response-code-org-apache-http-conn-httphostconnectexception-non-htt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!