On Sat, 2018-12-15 at 00:40 +0100, Philippe Mouawad wrote: > 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?
You need to make sure the route is marked as TunnelType.TUNNELLED. Secure `https` routes are marked TunnelType.TUNNELLED by default. Oleg > 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 <[email protected]> > 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/%[email protected] > > %3e > > > > > > It seems hc4 swaps the request stored in local context leading to > > the > > issue. > > > > > > Regards > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
