jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalie Valache" <>
Subject Re: Javascript function
Date Mon, 03 Jul 2006 09:59:52 GMT
Nothing wrong with your function,  I've tested and it works!
I think maybe the "NaN" value is a result of accessing/assigning  wrong  value to variable

Make sure you're not doing this

VarA	10
VarB	${__javaScript((9000 * (parseInt('${VarA}') + (parseInt('${VarB}') % 10000))) % 9800)}

best of all,
Any e-mail messages from the National Bank of Moldova are sent in good faith, but shall not
be binding nor construed as constituting any obligation on the part of the Bank.
The information transmitted is intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material. If you received this in error, please
contact the sender and delete the material from any computer.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message