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

(-)src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java (+4 lines)
Lines 129-134 Link Here
129
				Header hd = mngr.getHeader(idx);
129
				Header hd = mngr.getHeader(idx);
130
				connection.setRequestProperty(hd.getName(), hd.getValue());
130
				connection.setRequestProperty(hd.getName(), hd.getValue());
131
			}
131
			}
132
            // If the soap action is not specified in the header manager 
133
            if(getSendSOAPAction() && connection.getRequestProperty("SOAPAction") == null) {
134
                connection.setRequestProperty("SOAPAction", "\"" + getSOAPAction() + "\""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
135
            }
132
		} else {
136
		} else {
133
			// otherwise we use "text/xml" as the default
137
			// otherwise we use "text/xml" as the default
134
			connection.setRequestProperty(HEADER_CONTENT_TYPE, "text/xml"); //$NON-NLS-1$
138
			connection.setRequestProperty(HEADER_CONTENT_TYPE, "text/xml"); //$NON-NLS-1$

Return to bug 39656