diff --git a/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler2.java b/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler2.java index 912ba1a016..b2bce9f29a 100644 --- a/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler2.java +++ b/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler2.java @@ -262,6 +262,7 @@ public class HTTPSampler2 extends HTTPSamplerBase { if ( httpClient == null ) { httpClient = new HttpClient(new SimpleHttpConnectionManager()); + httpClient.setHostConfiguration(hc); map.put(hc, httpClient); }