Bug 57242

Summary: HTTP Authorization is not pre-emptively set with HttpClient4
Product: JMeter Reporter: Walter Kacynski <walter.kacynski>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement CC: p.mouawad
Priority: P2    
Version: 2.11   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Walter Kacynski 2014-11-20 16:56:45 UTC
When using a Test Plan with the HTTP Auth Manager the HTTP "Authorization" header is per-emptivly sent only with HttpClient3.1.  When using HttpClcient4, it is not sent.
Comment 1 Philippe Mouawad 2017-01-28 19:59:31 UTC
Author: pmouawad
Date: Sat Jan 28 19:58:05 2017
New Revision: 1780739

URL: http://svn.apache.org/viewvc?rev=1780739&view=rev
Log:
Bug 57242 - HTTP Authorization is not pre-emptively set with HttpClient4
Fix test failuredue to mistakingly using 2 threads
Bugzilla Id: 57242

Modified:
    jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.csv
    jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.jmx
    jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.xml
    
Author: pmouawad
Date: Sat Jan 28 15:24:19 2017
New Revision: 1780708

URL: http://svn.apache.org/viewvc?rev=1780708&view=rev
Log:
Bug 57242 - HTTP Authorization is not pre-emptively set with HttpClient4
Add property
Bugzilla Id: 57242

Modified:
    jmeter/trunk/bin/jmeter.properties
    
Author: pmouawad
Date: Sat Jan 28 15:23:59 2017
New Revision: 1780707

URL: http://svn.apache.org/viewvc?rev=1780707&view=rev
Log:
Bug 57242 - HTTP Authorization is not pre-emptively set with HttpClient4
Bugzilla Id: 57242

Added:
    jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth-data.csv
    jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.csv
    jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.jmx
    jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.xml   (with props)
Modified:
    jmeter/trunk/build.xml
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
    jmeter/trunk/xdocs/changes.xml