Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Request : Updated deprecated methods of HttpComponents to last APIs of httpclient-4.5.X #3740

Closed
asfimport opened this issue Dec 20, 2015 · 3 comments

Comments

@asfimport
Copy link
Collaborator

@pmouawad (Bug 58757):
JMeter 2.14 was migrated to 4.5.2 by #3494.
Within this migration CookieManager was migrated to new API.
But there are still many methods related to HC4 deprecated API that remain.
This bugzilla is created to fix this.

Version: Nightly
OS: All

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
Merge of PR:

#320

Author: pmouawad
Date: Sat Feb 24 18:25:40 2018
New Revision: 1825269

URL: http://svn.apache.org/viewvc?rev=1825269&view=rev
Log:
#3740 - Fix deprecated methods of HTTPCLIENT after migration to httpclient-4.5.X

Also fix #4544
#4544 - HTTP Authorization Manager : Digest works only with legacy RFC 2069 , RFC 2617 is not implemented

Contributed by UbikLoadPack Support
#3740

Added:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/api/
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/api/auth/
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/api/auth/DigestParameters.java (with props)
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/DynamicKerberosSchemeFactory.java (with props)
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/hc/LazyLayeredConnectionSocketFactory.java (with props)
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/SlowHCPlainConnectionSocketFactory.java (with props)
Removed:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/JMeterClientConnectionOperator.java
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/LazySchemeSocketFactory.java
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/MeasuringConnectionManager.java
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/hc/HttpConnPool.java
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/hc/HttpPoolEntry.java
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/hc/JMeterPoolingClientConnectionManager.java
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/hc/ManagedClientConnectionImpl.java
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/HC4TrustAllSSLSocketFactory.java
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/SlowHC4SocketFactory.java
Modified:
jmeter/trunk/bin/testfiles/TestCookieManager.csv
jmeter/trunk/bin/testfiles/TestCookieManager.xml
jmeter/trunk/bin/testfiles/TestHeaderManager.csv
jmeter/trunk/bin/testfiles/TestHeaderManager.jmx
jmeter/trunk/bin/testfiles/TestHeaderManager.xml
jmeter/trunk/build.xml
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/Authorization.java
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HttpClientDefaultParameters.java
jmeter/trunk/xdocs/changes.xml

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
Author: pmouawad
Date: Fri Apr 20 13:06:38 2018 UTC (2 minutes, 6 seconds ago)
URL: http://svn.apache.org/viewvc?view=revision&revision=1829655
Changed paths: 1
Log Message:

#3740 / HTTP Request : Updated deprecated methods of HttpComponents to last APIs of httpclient-4.5.X.
Use IgnoreSpecProvider
#3740

Modified
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
Author: pmouawad
Date: Sat May 12 20:21:34 2018
New Revision: 1831495

URL: http://svn.apache.org/viewvc?rev=1831495&view=rev
Log:
#3740 - HTTP Request : Updated deprecated methods of HttpComponents to last APIs of httpclient-4.5.X
Fix Eager instanciation of SSL Context which happens even if only HTTP is used and degrading performances
#3740

Modified:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant