You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2009/05/06 15:31:27 UTC
svn commit: r772242 -
/jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/util/CompoundVariable.java
Author: sebb
Date: Wed May 6 13:31:26 2009
New Revision: 772242
URL: http://svn.apache.org/viewvc?rev=772242&view=rev
Log:
Warn if no functions found
Modified:
jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/util/CompoundVariable.java
Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/util/CompoundVariable.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/util/CompoundVariable.java?rev=772242&r1=772241&r2=772242&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/util/CompoundVariable.java (original)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/util/CompoundVariable.java Wed May 6 13:31:26 2009
@@ -80,6 +80,12 @@
functions.put("_StringFromFile", tempFunc.getClass());//$NON-NLS-1$
}
}
+ final int functionCount = functions.size();
+ if (functionCount == 0){
+ log.warn("Did not find any functions");
+ } else {
+ log.debug("Function count: "+functionCount);
+ }
} catch (Exception err) {
log.error("", err);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org