Bug 39252 set SoapSampler sample result from XML data

git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/branches/rel-2-1@392859 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2006-04-10 00:45:45 +00:00
parent ee7cda9e39
commit a4fdebc110
2 changed files with 7 additions and 2 deletions

View File

@ -153,7 +153,11 @@ public class SoapSampler extends HTTPSampler {
} 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() {

View File

@ -78,7 +78,7 @@ Users must explicitly check append in the sampler</li>
<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 @@ The XSL stylesheets also now accept either "rc" or "rs"</li>
<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>