Update for JMeter 3: in HTTPSampler configuration you can use entries
<boolProp name="HTTPSampler.concurrentDwn">true</boolProp> <stringProp name="HTTPSampler.concurrentPool">10</stringProp>
to specify the connection pool size according to this code fragment (from http://svn.apache.org/viewvc/jmeter/tags/v3_0/src/protocol/http/org/apache/jmeter/protocol/http/sampler/ HTTPHC4Impl.java?view=markup line 785ff)
if(this.testElement.isConcurrentDwn()) { try { int maxConcurrentDownloads = Integer.parseInt(this.testElement.getConcurrentPool()); connManager.setDefaultMaxPerRoute(Math.max(maxConcurrentDownloads, connManager.getDefaultMaxPerRoute())); } catch (NumberFormatException nfe) {
Configuration through JMeter UI is a bit bizarre:
Switch the HTTP probe configuration view to “Advanced,” check “Get all embedded resources,” then “Parallel downloads,” and enter a number. After that, you can turn off "Get all embedded resources" if you do not want JMeter to process your responses for images
source share