Github user pmouawad commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/397#discussion_r213465187
--- Diff:
src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java ---
@@ -574,10 +574,12 @@ protected HTTPSampleResult sample(URL url, String
method,
handleMethod(method, res, httpRequest, localContext);
// store the SampleResult in LocalContext to compute connect
time
localContext.setAttribute(CONTEXT_ATTRIBUTE_SAMPLER_RESULT,
res);
+ Object proxy =
jMeterVariables.getObject("http.auth.proxy-scope" + this);
--- End diff --
It would be better to use HttpClientContext.PROXY_AUTH_STATE
---