jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary K. Avery" <garyav...@verizon.net>
Subject user parameters pre-processor JavaScript function
Date Wed, 03 Jan 2007 15:45:44 GMT
hello,

i seem to have run into a snag and not sure whether it is a timing
restriction or something else.

i have a thread group with a CSV Data Set Config element which
is reading in from a file and assigning some variables (e.g., A, B, C).
that seems to be working fine.

i then have a User Parameters Pre-Processor element immediately following
the config element which is trying to perform arithmetic on two of the 
variables, e.g.:
      ${__javaScript(${A} + ${B})}

however, this is not working.
works fine if the values are static numerics or even other variables 
defined in
an earlier User Defined Variables config element.  but, not the 
pre-processor element.

why??

thanks in advance.

gary avery

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message