Author: pmouawad
Date: Sat Mar 12 14:44:03 2016
New Revision: 1734711

URL: http://svn.apache.org/viewvc?rev=1734711&view=rev
Log:
Bug 59076 - Test should fail if a module controller cannot find its replacement 
subtree
Take into account sebb note
Bugzilla Id: 59076

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/control/ModuleController.java

Modified: 
jmeter/trunk/src/components/org/apache/jmeter/control/ModuleController.java
URL: 
http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/control/ModuleController.java?rev=1734711&r1=1734710&r2=1734711&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/control/ModuleController.java 
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/control/ModuleController.java 
Sat Mar 12 14:44:03 2016
@@ -32,7 +32,7 @@ import org.apache.jmeter.testelement.pro
 import org.apache.jmeter.testelement.property.NullProperty;
 import org.apache.jorphan.collections.HashTree;
 import org.apache.jorphan.collections.ListedHashTree;
-import org.apache.jorphan.util.JMeterStopTestNowException;
+import org.apache.jorphan.util.JMeterStopTestException;
 
 /**
  * The goal of ModuleController is to add modularity to JMeter. The general 
idea
@@ -139,7 +139,7 @@ public class ModuleController extends Ge
             }
 
             if(isRunningVersion() && selectedNode == null) {
-                throw new 
JMeterStopTestNowException("ModuleController:"+getName()+" has no selected 
Controller, test was stopped as a consequence");
+                throw new 
JMeterStopTestException("ModuleController:"+getName()+" has no selected 
Controller (did you rename some element in the path to target controller?), 
test was shutdown as a consequence");
             }
         }
     }


Reply via email to