Github user pmouawad commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/413#discussion_r228741947
--- Diff:
src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java ---
@@ -1037,7 +1044,7 @@ private CloseableHttpClient
setupClient(JMeterVariables jMeterVariables, URL url
// Set up proxy details
if(useProxy) {
- HttpHost proxy = new HttpHost(proxyHost, proxyPort);
+ HttpHost proxy = new HttpHost(proxyHost, proxyPort,
proxyScheme);
--- End diff --
If proxyScheme is empty, then it should be passed as null so that default
(HTTP) is used.
---