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

(-)src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java (-2 / +1 lines)
Lines 681-690 Link Here
681
    public void setHeaderManager(HeaderManager value) {
681
    public void setHeaderManager(HeaderManager value) {
682
        HeaderManager mgr = getHeaderManager();
682
        HeaderManager mgr = getHeaderManager();
683
        if (mgr != null) {
683
        if (mgr != null) {
684
            log.warn("Existing HeaderManager '" + mgr.getName() + "' merged with '" + value.getName() + "'");
685
            value = mgr.merge(value, true);
684
            value = mgr.merge(value, true);
686
            if (log.isDebugEnabled()) {
685
            if (log.isDebugEnabled()) {
687
                log.debug("HeaderManager merged: " + value.getName());
686
                log.debug("Existing HeaderManager '" + mgr.getName() + "' merged with '" + value.getName() + "'");
688
                for (int i=0; i < value.getHeaders().size(); i++) {
687
                for (int i=0; i < value.getHeaders().size(); i++) {
689
                    log.debug("    " + value.getHeader(i).getName() + "=" + value.getHeader(i).getValue());
688
                    log.debug("    " + value.getHeader(i).getName() + "=" + value.getHeader(i).getValue());
690
                }
689
                }

Return to bug 50686