https://bz.apache.org/bugzilla/show_bug.cgi?id=58201
Bug ID: 58201
Summary: Usage of port from host header in http sampler
inconsistent
Product: JMeter
Version: 2.13
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: [email protected]
Reporter: [email protected]
Created attachment 32949
--> https://bz.apache.org/bugzilla/attachment.cgi?id=32949&action=edit
Don't strip port from http Host header in httpclient 3 and use port from header
in httpclient 4
The port numbers in a user defined http Host header differ by client
implementations in http sampler.
* httpclient 4 will replace the port number with the port number extracted from
the sampler
* httpclient 3 will remove the port number entirely
* javaclient will leave the port number untouched
This behaviour is inconsistent and the httpclient behaviour is probably not
wanted by the users (see http://jmeter.markmail.org/thread/457kefpz4cmtlqvd)
The implementation was updated in response to bug #51775. In my tests the
attached patch does not exhibit the described double port number when using a
proxy and specifying the host header explicitly. Maybe the httpclient
implementations where changed in between.
--
You are receiving this mail because:
You are the assignee for the bug.