jmeter icon indicating copy to clipboard operation
jmeter copied to clipboard

Java Implementation not sending `Authorization` and `Host` header

Open dudumiquim opened this issue 1 year ago • 1 comments

Expected behavior

I'm using Java implementation because it is faster than HttpClient4. I expected that my headers would be sent independently of the implementation.

Actual behavior

When I change from HttpClient4 to Java, some headers are not sent.

Steps to reproduce the problem

My Config:

db3d72-e78d2c70-0d6d-4867-b5a7-b9135328de14

When I run using Java Implementation, the Authorization and Host header is not sent

image

When I change from Java to HttpClient4 implementation, Authorization and Host header is sent

image

JMeter Version

5.6.3

Java Version

Java(TM) SE Runtime Environment (build 1.8.0_411-b09)

OS Version

Microsoft Windows [versão 10.0.22631.3737]

dudumiquim avatar Jun 27 '24 16:06 dudumiquim