You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2013/11/23 23:37:07 UTC

svn commit: r1544886 - in /jmeter/trunk: src/core/org/apache/jmeter/control/TransactionController.java xdocs/changes.xml

Author: pmouawad
Date: Sat Nov 23 22:37:07 2013
New Revision: 1544886

URL: http://svn.apache.org/r1544886
Log:
Bug 55816 - Transaction Controller with "Include duration of timer..." unchecked does not ignore processing time of last child sampler
Bugzilla Id: 55816

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/control/TransactionController.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/core/org/apache/jmeter/control/TransactionController.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/control/TransactionController.java?rev=1544886&r1=1544885&r2=1544886&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/control/TransactionController.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/control/TransactionController.java Sat Nov 23 22:37:07 2013
@@ -196,6 +196,11 @@ public class TransactionController exten
         if (returnValue == null && isLast) // Must be the end of the controller
         {
             if (res != null) {
+                // See BUG 55816
+                if (!isIncludeTimers()) {
+                    long processingTimeOfLastChild = res.currentTimeInMillis()-prevEndTime;
+                    pauseTime += processingTimeOfLastChild;
+                }
                 res.setIdleTime(pauseTime+res.getIdleTime());
                 res.sampleEnd();
                 res.setResponseMessage("Number of samples in transaction : " + calls + ", number of failing samples : " + noFailingSamples);

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1544886&r1=1544885&r2=1544886&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Sat Nov 23 22:37:07 2013
@@ -139,6 +139,7 @@ A workaround is to use a Java 7 update 4
 
 <h3>Controllers</h3>
 <ul>
+<li><bugzilla>55816</bugzilla> - Transaction Controller with "Include duration of timer..." unchecked does not ignore processing time of last child sampler</li>
 </ul>
 
 <h3>Listeners</h3>