jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59174] Host header gets ignored when doing basic authentication in HC4
Date Sat, 28 Jan 2017 22:03:02 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59174

--- Comment #3 from Philippe Mouawad <p.mouawad@ubik-ingenierie.com> ---
(In reply to Felix Schumacher from comment #2)
> Created attachment 34691 [details]
> Test case demonstrating the behaviour with 3.1

Thanks
> 
> Test against the tomcat manager app which runs on localhost. But as this is
> a test case to demonstrate the usage of a host header, it is thought of
> running on example.com.
> 
> What I think is the expected behaviour:
>  Authorization manager should be asked for credentials of "example.com"
> It is asking for "localhost"
> 
> Java client is working with 3.1 (it is asking for localhost, though)
> HttpClient 4.x is not working (neither asking for localhost nor example.com)
> 
> (This whole business of specifying a host header by hand to simulate virtual
> hosts seems wrong. We should be looking at giving a dns resolver, that
> resolves "example.com" to localhost (don't know how to change the port))

So is this a real problem or is it due to the host hack ?
Did you try with current build on jenkins ?
Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message