Bug 57242 - HTTP Authorization is not pre-emptively set with HttpClient4
Summary: HTTP Authorization is not pre-emptively set with HttpClient4
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.11
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-20 16:56 UTC by Walter Kacynski
Modified: 2017-01-28 19:59 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 2 The ASF infrastructure team 2022-09-24 20:37:58 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3482