Lines 199-205
public class DefaultSamplerCreator extends AbstractSamplerCreator {
Link Here
|
199 |
// It is the most common post request, with parameter name and values |
199 |
// It is the most common post request, with parameter name and values |
200 |
// We also assume this if no content type is present, to be most backwards compatible, |
200 |
// We also assume this if no content type is present, to be most backwards compatible, |
201 |
// but maybe we should only parse arguments if the content type is as expected |
201 |
// but maybe we should only parse arguments if the content type is as expected |
202 |
sampler.parseArguments(postData.trim(), contentEncoding); //standard name=value postData |
202 |
if (postData.trim().indexOf('=') >= 0) { |
|
|
203 |
sampler.parseArguments(postData.trim(), contentEncoding); //standard name=value postData |
204 |
} else { |
205 |
sampler.addNonEncodedArgument("", postData, ""); //used when postData has seems to be not of the format name=value |
206 |
} |
203 |
} else if (postData.length() > 0) { |
207 |
} else if (postData.length() > 0) { |
204 |
if (isBinaryContent(contentType)) { |
208 |
if (isBinaryContent(contentType)) { |
205 |
try { |
209 |
try { |