sebb 2003/10/10 09:12:04
Modified: xdocs/usermanual functions.xml
src/functions/org/apache/jmeter/functions
IterationCounter.java
Log:
__counter() requires second argument
Revision Changes Path
1.7 +2 -2 jakarta-jmeter/xdocs/usermanual/functions.xml
Index: functions.xml
===================================================================
RCS file: /home/cvs/jakarta-jmeter/xdocs/usermanual/functions.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- functions.xml 8 Oct 2003 18:49:41 -0000 1.6
+++ functions.xml 10 Oct 2003 16:12:04 -0000 1.7
@@ -129,7 +129,7 @@
<property name="First argument" required="Yes">TRUE if you wish each
simulated user's counter
to be kept independent and separate from the other users. FALSE for a
global counter.</property>
-<property name="Second argument" required="No">A reference name for reusing the
value created by this function.<br></br>
+<property name="Second argument" required="Yes">A reference name for reusing the
value created by this function.<br></br>
Stored values are of the form ${refName}. This allows you to keep
one counter and refer to its value in
multiple places.</property>
</properties>
1.11 +1 -1
jakarta-jmeter/src/functions/org/apache/jmeter/functions/IterationCounter.java
Index: IterationCounter.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/functions/org/apache/jmeter/functions/IterationCounter.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- IterationCounter.java 16 Aug 2003 15:03:50 -0000 1.10
+++ IterationCounter.java 10 Oct 2003 16:12:04 -0000 1.11
@@ -81,7 +81,7 @@
if (variables.length < 2)
{
- throw new InvalidVariableException();
+ throw new InvalidVariableException("Fewer than 2 parameters");
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]