Java Implementation not sending `Authorization` and `Host` header
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
### 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:

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

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

### 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]
Contributor guide
Research direction
Reproduce the issue in JMeter 5.6.3 using the Java implementation and the provided configuration, then compare the request headers with the HttpClient4 implementation. Done means the Java implementation sends the configured Authorization and Host headers consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100