You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Carol Gagne (Bug 48451):
In class: org.apache.jmeter.protocol.http.sampler.SoapSampler
Method: setPostHeaders(PostMethod post)
Source file line: 143
....
} else {
// otherwise we use "text/xml" as the default
post.addParameter(HEADER_CONTENT_TYPE, DEFAULT_CONTENT_TYPE);
}...
I believe it should be something like
} else {
// otherwise we use "text/xml" as the default
post.setRequestHeader(HEADER_CONTENT_TYPE, DEFAULT_CONTENT_TYPE);
}
How to reproduce: Make sure no header manager is null (not set).
Capture the content of the call (with TCPMon for exemple). You will see the default content type does not appear in HTTP Header but in the content.
Regards
Severity: normal
OS: Windows XP
The text was updated successfully, but these errors were encountered:
Carol Gagne (Bug 48451):
In class: org.apache.jmeter.protocol.http.sampler.SoapSampler
Method: setPostHeaders(PostMethod post)
Source file line: 143
....
} else {
// otherwise we use "text/xml" as the default
post.addParameter(HEADER_CONTENT_TYPE, DEFAULT_CONTENT_TYPE);
}...
I believe it should be something like
How to reproduce: Make sure no header manager is null (not set).
Capture the content of the call (with TCPMon for exemple). You will see the default content type does not appear in HTTP Header but in the content.
Regards
Severity: normal
OS: Windows XP
The text was updated successfully, but these errors were encountered: