You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2009/12/28 17:12:15 UTC
DO NOT REPLY [Bug 48451] New: Error in:
SoapSampler.setPostHeaders(PostMethod post) in the else branch
https://issues.apache.org/bugzilla/show_bug.cgi?id=48451
Summary: Error in: SoapSampler.setPostHeaders(PostMethod post)
in the else branch
Product: JMeter
Version: 2.3.4
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
AssignedTo: jmeter-dev@jakarta.apache.org
ReportedBy: carol.gagne@matyce.com
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
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 48451] Error in:
SoapSampler.setPostHeaders(PostMethod post) in the else branch
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48451
Sebb <se...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Sebb <se...@apache.org> 2009-12-29 19:16:57 UTC ---
Thanks for the report and suggested fix.
This has been applied to SVN:
URL: http://svn.apache.org/viewvc?rev=894535&view=rev
Log:
Bug 48451 - Error in: SoapSampler.setPostHeaders(PostMethod post) in the else
branch
and will be in nightly builds after r894535
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org