Trying out the new HTTPSampler timeout configurations, I've noticed that the response timeout wasn't being read somehow. It ALWAYS timed out. Connect timeout worked correctly. At org.apache.jmeter.protocolo.http.sampler.HTTPSampler2.java, line 574: int rto = getResponseTimeout(); if (rto > 0){ httpMethod.getParams().setSoTimeout(1); } Reading the Java Socket documentation, the setSoTimeout understands miliseconds! I just replaced to: int rto = getResponseTimeout(); if (rto > 0){ httpMethod.getParams().setSoTimeout(rto); } Recompiled jmeter-2.3.3 and now it works correctly.
Created attachment 23776 [details] HTTPSampler2.java modification
Oops! That was temporary test code that should have been replaced. Thanks for the report; fixed in: URL: http://svn.apache.org/viewvc?rev=783174&view=rev Log: Bug 47321 - HTTPSampler2 response timeout not honored
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2245