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-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org