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/03/13 19:55:11 UTC

svn commit: r1786779 - /jmeter/trunk/src/components/org/apache/jmeter/sampler/TestAction.java

Author: pmouawad
Date: Mon Mar 13 19:55:11 2017
New Revision: 1786779

URL: http://svn.apache.org/viewvc?rev=1786779&view=rev
Log:
Add information on Test element

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/sampler/TestAction.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/sampler/TestAction.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/sampler/TestAction.java?rev=1786779&r1=1786778&r2=1786779&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/sampler/TestAction.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/sampler/TestAction.java Mon Mar 13 19:55:11 2017
@@ -88,18 +88,18 @@ public class TestAction extends Abstract
         } else if (action == STOP || action == STOP_NOW || action == RESTART_NEXT_LOOP) {
             if (target == THREAD) {
                 if(action == STOP || action == STOP_NOW) {
-                    log.info("Stopping current thread");
+                    log.info("Stopping current thread from element {}", getName());
                     context.getThread().stop();
                 } else {
-                    log.info("Restarting next loop");
+                    log.info("Restarting next loop from element {}", getName());
                     context.setRestartNextLoop(true);
                 }
             } else if (target == TEST) {
                 if (action == STOP_NOW) {
-                    log.info("Stopping all threads now");
+                    log.info("Stopping all threads now from element {}", getName());
                     context.getEngine().stopTest();
                 } else {
-                    log.info("Stopping all threads");
+                    log.info("Stopping all threads from element {}", getName());
                     context.getEngine().askThreadsToStop();
                 }
             }