jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1432525 - in /jmeter/trunk: src/core/org/apache/jmeter/samplers/DataStrippingSampleSender.java xdocs/changes.xml
Date Sat, 12 Jan 2013 21:55:26 GMT
Author: pmouawad
Date: Sat Jan 12 21:55:26 2013
New Revision: 1432525

URL: http://svn.apache.org/viewvc?rev=1432525&view=rev
Log:
Bug 54413 - DataStrippingSampleSender returns 0 for number of bytes of any response
Bugzilla Id: 54413

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/samplers/DataStrippingSampleSender.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/core/org/apache/jmeter/samplers/DataStrippingSampleSender.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/samplers/DataStrippingSampleSender.java?rev=1432525&r1=1432524&r2=1432525&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/samplers/DataStrippingSampleSender.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/samplers/DataStrippingSampleSender.java Sat Jan
12 21:55:26 2013
@@ -73,6 +73,8 @@ public class DataStrippingSampleSender e
         //Strip the response data before writing, but only for a successful request.
         SampleResult result = event.getResult();
         if(result.isSuccessful()) {
+            // Compute bytes before stripping
+            result.setBytes(result.getBytes());
             result.setResponseData(new byte[0]);
         }
         if(decoratedSender == null)

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1432525&r1=1432524&r2=1432525&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Sat Jan 12 21:55:26 2013
@@ -193,6 +193,7 @@ and right angle bracket (>) in search
 <li><bugzilla>54172</bugzilla> - Duplicate shortcut key not working and
CTRL+C / CTRL+V / CTRL+V do not cancel default event</li>
 <li><bugzilla>54057</bugzilla> - Proxy option to set user and password
at startup (-u and -a) not working with HTTPClient 4</li>
 <li><bugzilla>54267</bugzilla> - Start Next Thread Loop setting doesn't
work in custom thread groups</li>
+<li><bugzilla>54413</bugzilla> - DataStrippingSampleSender returns 0 for
number of bytes of any response</li>
 </ul>
 
 <!-- =================== Improvements =================== -->



Mime
View raw message