setting httpclient.socket.http.cps=50 httpclient.socket.https.cps=50 jmx with <HTTPSamplerProxy ... <stringProp name="HTTPSampler.implementation">HttpClient4</stringProp> </HTTPSamplerProxy> when using https urls the cps setting is ignored likely cause is an unused parameter in src/protocol/http/org/apache/jmeter/protocol/http/util/HC4TrustAllSSLSocketFactory.java (not verified) ---snip-- protected HC4TrustAllSSLSocketFactory(javax.net.ssl.SSLSocketFactory factory) throws GeneralSecurityException { super(TRUSTALL, SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER); this.factory = new HttpSSLProtocolSocketFactory((JsseSSLManager)JsseSSLManager.getInstance()); } ---snip-- the factory parameter is ignored and a default socket factory newly created without the cps setting
*** Bug 55456 has been marked as a duplicate of this bug. ***
Date: Tue Aug 20 19:51:55 2013 New Revision: 1515950 URL: http://svn.apache.org/r1515950 Log: Bug 55455 - HTTPS with HTTPClient4 ignores cps setting Bugzilla Id: 55455 Modified: jmeter/trunk/src/core/org/apache/jmeter/util/JsseSSLManager.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/HC4TrustAllSSLSocketFactory.java jmeter/trunk/xdocs/changes.xml jmeter/trunk/xdocs/usermanual/component_reference.xml
Note the Java Sampler now also supports the speed limitation. Your feedback on this is welcome.
Date: Tue Aug 20 20:01:43 2013 New Revision: 1515953 URL: http://svn.apache.org/r1515953 Log: Bug 55455 - HTTPS with HTTPClient4 ignores cps setting Remove deprecated note Bugzilla Id: 55455 Modified: jmeter/trunk/src/core/org/apache/jmeter/util/JsseSSLManager.java
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3201