Bug 58757 - HTTP Request : Updated deprecated methods of HttpComponents to last APIs of httpclient-4.5.X
Summary: HTTP Request : Updated deprecated methods of HttpComponents to last APIs of h...
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: Nightly (Please specify date)
Hardware: All All
: P1 enhancement (vote)
Target Milestone: JMETER_5.0
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2015-12-20 16:14 UTC by Philippe Mouawad
Modified: 2018-05-12 20:21 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2015-12-20 16:14:28 UTC
JMeter 2.14 was migrated to 4.5.2 by bug 57319.
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.
Comment 1 Philippe Mouawad 2018-02-24 18:36:21 UTC
Merge of PR:

https://github.com/apache/jmeter/pull/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:
Bug 58757 - Fix deprecated methods of HTTPCLIENT after migration to httpclient-4.5.X

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

Contributed by UbikLoadPack Support
Bugzilla Id: 58757

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
Comment 2 Philippe Mouawad 2018-04-20 13:10:25 UTC
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: 	

Bug 58757 / HTTP Request : Updated deprecated methods of HttpComponents to last APIs of httpclient-4.5.X. 
Use IgnoreSpecProvider
Bugzilla Id: 58757

Modified
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
Comment 3 Philippe Mouawad 2018-05-12 20:21:49 UTC
Author: pmouawad
Date: Sat May 12 20:21:34 2018
New Revision: 1831495

URL: http://svn.apache.org/viewvc?rev=1831495&view=rev
Log:
Bug 58757 - 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
Bugzilla Id: 58757

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