The If controller uses Javascript (Rhino).

There's some documentation here:

http://developer.mozilla.org/en/docs/JavaScript_Language_Resources

It looks like the operator is %, so I would try:

(${COUNT} % 10) == 0


S.
On 10/07/07, Hugh Hunter <[EMAIL PROTECTED]> wrote:
Been struggling at this for a while.  I want to use an If Controller to
only call a sampler every 10 iterations through the test plan.  So I
have a counter storing as ${COUNT} and I've tried:

${COUNT} % 10 == 0

in the If Controller as well as

${COUNT} MOD 10 == 0

Any ideas?

--Hugh

--
Hugh Hunter
Sr. QA Engineer
------------------------------------
Oversee.net
818 W. 7th St. Suite 700
Los Angeles, CA 90017
Main: 213.408.0080
Fax: 213.892.1227
[EMAIL PROTECTED]
www.oversee.net
------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to