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 se...@apache.org on 2009/12/30 04:14:40 UTC

svn commit: r894535 - in /jakarta/jmeter/trunk: src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java xdocs/changes.xml

Author: sebb
Date: Wed Dec 30 03:14:39 2009
New Revision: 894535

URL: http://svn.apache.org/viewvc?rev=894535&view=rev
Log:
Bug 48451 - Error in: SoapSampler.setPostHeaders(PostMethod post) in the else branch

Modified:
    jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java
    jakarta/jmeter/trunk/xdocs/changes.xml

Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java?rev=894535&r1=894534&r2=894535&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java (original)
+++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java Wed Dec 30 03:14:39 2009
@@ -142,7 +142,7 @@
             }
         } else {
             // otherwise we use "text/xml" as the default
-            post.addParameter(HEADER_CONTENT_TYPE, DEFAULT_CONTENT_TYPE); //$NON-NLS-1$
+            post.setRequestHeader(HEADER_CONTENT_TYPE, DEFAULT_CONTENT_TYPE); //$NON-NLS-1$
         }
         if (getSendSOAPAction()) {
             post.setRequestHeader(SOAPACTION, getSOAPActionQuoted());

Modified: jakarta/jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=894535&r1=894534&r2=894535&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/changes.xml (original)
+++ jakarta/jmeter/trunk/xdocs/changes.xml Wed Dec 30 03:14:39 2009
@@ -71,15 +71,16 @@
 
 <h3>HTTP Samplers and Proxy</h3>
 <ul>
-<li>Bug 47445 -  Using Proxy with https-spoofing secure cookies need to be unsecured</li>
-<li>Bug 47442 -  Missing replacement of https by http for certain conditions using https-spoofing</li>
+<li>Bug 47445 - Using Proxy with https-spoofing secure cookies need to be unsecured</li>
+<li>Bug 47442 - Missing replacement of https by http for certain conditions using https-spoofing</li>
+<li>Bug 48451 - Error in: SoapSampler.setPostHeaders(PostMethod post) in the else branch</li>
 </ul>
 
 <h3>Other Samplers</h3>
 <ul>
 <li>Bug 47420 - LDAP extended request not closing connections during add request</li>
 <li>Bug 47870 - JMSSubscriber fails due to NPE</li>
-<li>Bug 47899 -  NullPointerExceptions in ReceiveSubscriber constructor</li>
+<li>Bug 47899 - NullPointerExceptions in ReceiveSubscriber constructor</li>
 <li>Bug 48144 - NPE in OnMessageSubscriber</li>
 <li>Bug 47992 - JMS Point-to-Point Request - Response option doesn't work</li>
 </ul>



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org