jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1661005 - in /jmeter/trunk: src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java xdocs/changes.xml
Date Thu, 19 Feb 2015 21:04:12 GMT
Author: pmouawad
Date: Thu Feb 19 21:04:12 2015
New Revision: 1661005

URL: http://svn.apache.org/r1661005
Log:
Bug 57606 - HTTPSamplerBase#errorResult changes the sample label on exception 
Bugzilla Id: 57606

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

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java?rev=1661005&r1=1661004&r2=1661005&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
Thu Feb 19 21:04:12 2015
@@ -898,7 +898,7 @@ public abstract class HTTPSamplerBase ex
      * @return the modified sampling result containing details of the Exception.
      */
     protected HTTPSampleResult errorResult(Throwable e, HTTPSampleResult res) {
-        res.setSampleLabel("Error: " + res.getSampleLabel());
+        res.setSampleLabel(res.getSampleLabel());
         res.setDataType(SampleResult.TEXT);
         ByteArrayOutputStream text = new ByteArrayOutputStream(200);
         e.printStackTrace(new PrintStream(text));

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1661005&r1=1661004&r2=1661005&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Thu Feb 19 21:04:12 2015
@@ -198,6 +198,7 @@ See  <bugzilla>56357</bugzilla> for deta
 <li><bug>57381</bug>HTTP(S) Test Script Recorder should display an error
if Target Controller references a Recording Controller and no Recording Controller exists.
Contributed by Ubik Load Pack (support at ubikloadpack.com)</li>
 <li><bug>57488</bug>Performance : Improve SSLContext reset for Two-way
SSL Authentication</li>
 <li><bug>57565</bug>SamplerCreator : Add method to allow implementations
to add children to created sampler</li>
+<li><bug>57606</bug>HTTPSamplerBase#errorResult changes the sample label
on exception </li>
 </ul>
 
 <h3>Other samplers</h3>



Mime
View raw message