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 2017/11/21 21:37:31 UTC

svn commit: r1815990 - /jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java

Author: pmouawad
Date: Tue Nov 21 21:37:30 2017
New Revision: 1815990

URL: http://svn.apache.org/viewvc?rev=1815990&view=rev
Log:
Bug 61762 - Start Next Thread Loop should be used everywhere
Replace deprecated method
Bugzilla Id: 61762

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java?rev=1815990&r1=1815989&r2=1815990&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java Tue Nov 21 21:37:30 2017
@@ -253,10 +253,10 @@ public class JMeterThread implements Run
                     // restart of the next loop 
                     // - was requested through threadContext
                     // - or the last sample failed AND the onErrorStartNextLoop option is enabled
-                    if (threadContext.isRestartNextLoop()
+                    if (threadContext.isStartNextThreadLoop()
                             || (onErrorStartNextLoop
                             && !TRUE.equals(threadContext.getVariables().get(LAST_SAMPLE_OK)))) {
-                        if (log.isDebugEnabled() && onErrorStartNextLoop && !threadContext.isRestartNextLoop()) {
+                        if (log.isDebugEnabled() && onErrorStartNextLoop && !threadContext.isStartNextThreadLoop()) {
                             log.debug("StartNextLoop option is on, Last sample failed, starting next loop");
                         }