View | Details | Raw Unified | Return to bug 60575
Collapse All | Expand All

(-)a/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java (-4 / +4 lines)
Lines 384-398 public abstract class HTTPSamplerBase extends AbstractSampler Link Here
384
        if (getPostBodyRaw()) {
384
        if (getPostBodyRaw()) {
385
            return true;
385
            return true;
386
        } else {
386
        } else {
387
            boolean noArgumentsHasName = true;
387
            boolean hasArguments = false;
388
            for (JMeterProperty jMeterProperty : getArguments()) {
388
            for (JMeterProperty jMeterProperty : getArguments()) {
389
                hasArguments = true;
389
                HTTPArgument arg = (HTTPArgument) jMeterProperty.getObjectValue();
390
                HTTPArgument arg = (HTTPArgument) jMeterProperty.getObjectValue();
390
                if (arg.getName() != null && arg.getName().length() > 0) {
391
                if (arg.getName() != null && arg.getName().length() > 0) {
391
                    noArgumentsHasName = false;
392
                    return false;
392
                    break;
393
                }
393
                }
394
            }
394
            }
395
            return noArgumentsHasName;
395
            return hasArguments;
396
        }
396
        }
397
    }
397
    }
398
398

Return to bug 60575