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 2011/12/07 22:05:27 UTC
svn commit: r1211631 - in /jmeter/trunk:
src/core/org/apache/jmeter/control/TransactionController.java
xdocs/changes.xml
Author: pmouawad
Date: Wed Dec 7 21:05:26 2011
New Revision: 1211631
URL: http://svn.apache.org/viewvc?rev=1211631&view=rev
Log:
Bug 52296 - Getting ERROR sampleEnd called twice java.lang.Throwable: Invalid call sequence
Bug 52296 - TransactionController with Child ThrouputController : Getting ERROR sampleEnd called twice java.lang.Throwable: Invalid call sequence when TPC does not run sample
Rollback+comment
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=1211631&r1=1211630&r2=1211631&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/control/TransactionController.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/control/TransactionController.java Wed Dec 7 21:05:26 2011
@@ -169,8 +169,8 @@ public class TransactionController exten
}
Sampler returnValue = super.next();
-
- if (returnValue == null && !(calls == 0)) // Must be the end of the controller
+ // FIXME Broken code in case of subController that may return null (Interleave, ThroughputController, testing nullity is not enough
+ if (returnValue == null) // Must be the end of the controller
{
if (res != null) {
res.setIdleTime(pauseTime+res.getIdleTime());
Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1211631&r1=1211630&r2=1211631&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Wed Dec 7 21:05:26 2011
@@ -113,7 +113,6 @@ This behaviour can be changed with prope
<li>Bug 51865 - Infinite loop inside thread group does not work properly if "Start next loop after a Sample error" option set</li>
<li>Bug 51868 - A lot of exceptions in jmeter.log while using option "Start next loop" for thread</li>
<li>Bug 51866 - Counter under loop doesn't work properly if "Start next loop on error" option set for thread group</li>
-<li>TransactionController with Child ThrouputController : Getting ERROR sampleEnd called twice java.lang.Throwable: Invalid call sequence when TPC does not run sample</li>
</ul>
<h3>Listeners</h3>