Hello , As a complement if you read the thread. It appears TestProxy doesn’t enter in Tunnel_target mode while JMeter does which triggers the issue.
How can I make HttpClient enter this mode using TestProxy code (in thread) below so that I can provide a reproducer for issue? I tried debugging but I don’t understand, it seems it depends on number of Hop in httpRoute, but javadocs is very succinct. Thanks On Friday, December 14, 2018, Philippe Mouawad <pmoua...@apache.org> wrote: > Hello, > We have a bug report at JMeter where request headers are lost when a proxy > is used for a request. > > You can see thread discussion here: > > http://mail-archives.apache.org/mod_mbox/jmeter-dev/ > 201812.mbox/%3cf1831746-eeb7-c0df-75e2-565cc2c56...@internetallee.de%3e > > > It seems hc4 swaps the request stored in local context leading to the > issue. > > > Regards >