my thoughts on test automation
JMeter – org.apache.http.NoHttpResponseException: the target server failed to respond
I’ve been executing same set of tests using JMeter 2.12 against same test environment, but from different locations. Depending on network location (and network latency), I found a number of tests to fail without a good reason, with following exception:
org.apache.http.NoHttpResponseException: the target server failed to respond
I tried a couple of tricks and finally found a solution. In HTTP Request Defaults, I selected HttpClient4. In user.properties, I set httpclient4.idletimeout=120. This finally got rid of network-dependent execution errors.