Author: sebb
Date: Sun Apr  9 17:45:45 2006
New Revision: 392859

URL: http://svn.apache.org/viewcvs?rev=392859&view=rev
Log:
Bug 39252 set SoapSampler sample result from XML data

Modified:
    
jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java
    jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml

Modified: 
jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java
URL: 
http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java?rev=392859&r1=392858&r2=392859&view=diff
==============================================================================
--- 
jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java
 (original)
+++ 
jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java
 Sun Apr  9 17:45:45 2006
@@ -153,7 +153,11 @@
                } catch (IOException e1) {
                        log.error("Bad url: " + getURLData(), e1);
                }
-               return super.sample(e);
+        // Bug 39252 set SoapSampler sample result from XML data
+               SampleResult sampleResult = super.sample(e);
+        sampleResult.setSamplerData(getXmlData());
+        sampleResult.setDataType(SampleResult.TEXT);
+        return sampleResult;
        }
 
        public String toString() {

Modified: jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml?rev=392859&r1=392858&r2=392859&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml (original)
+++ jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml Sun Apr  9 17:45:45 2006
@@ -78,7 +78,7 @@
 <li>The Post-Processor "Save Responses to a File" now saves the generated file 
name with the
 sample, and the file name can be included in the sample log file.
 </li>
-<li>Change jmeter DOS batch scripts so they work from any directory (except 
jmeter-server.bat)</li>
+<li>Change jmeter.bat DOS script so it works from any directory</li>
 </ul>
 
 <h4>Bug fixes:</h4>
@@ -120,6 +120,7 @@
 <li>Fix TestBean Examples so that they work</li>
 <li>Fix JTidy parser so it does not skip body tags with background images</li>
 <li>Fix HtmlParser parser so it catches all background images</li>
+<li>Bug 39252 set SoapSampler sample result from XML data</li>
 </ul>  
        
 <h4>Other changes</h4>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to