--- src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java (revision 1498029) +++ src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java (working copy) @@ -141,6 +141,7 @@ Header hd = mngr.getHeader(idx); if (HTTPConstants.HEADER_CONTENT_LENGTH.equalsIgnoreCase(hd.getName())) {// Use this to override file length length = Integer.parseInt(hd.getValue()); + break; } // All the other headers are set up by HTTPSampler2.setupConnection() }