jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus" <>
Subject RE: Javascript function
Date Tue, 04 Jul 2006 14:31:29 GMT

Thanks for the answer. The function was indeed assigned to another variable,
assigning the function direct to query parameter works fine.

-----Original Message-----
From: Vitalie Valache [] 
Sent: maandag 3 juli 2006 12:00
Subject: Re: Javascript function

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:

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

View raw message