问题
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:
- Make sure that your Apache is configured to accept as many as 400+ concurrent users. Here are instructions on calculating and setting.
- Make sure that your JMeter is configured to produce as many as 400+ concurrent users. Here is the guide on proper JMeter tuning.
- 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