I did put them in the single quotes for the original problem in question:
${__javaScript(${VARONE}*${VARTWO}/${VARTHREE})}
is now
${__javaScript('${VARONE}'*'${VARTWO}'/'${VARTHREE}')}
And there were no errors.
On Tue, Apr 7, 2009 at 9:20 AM, sebb wrote:
> On 07/04/2009, Marc Chiarini (Tufts)
On 07/04/2009, Marc Chiarini (Tufts) wrote:
>
> Currently, both of these expressions in my UDVs work properly for me,
> though according to you they shouldn't:
OK, I stand corrected.
> ${__javaScript('${__P(delay)}'*'${__P(mythreads)}')}
> ${__javaScript(Math.floor('${__property(maxcnt,,512)}'
Currently, both of these expressions in my UDVs work properly for me,
though according to you they shouldn't:
${__javaScript('${__P(delay)}'*'${__P(mythreads)}')}
${__javaScript(Math.floor('${__property(maxcnt,,512)}'/'${__P(mythreads)}'))}
I suspect that Javascript is doing implicit type con
On 06/04/2009, bzaks1...@gmail.com wrote:
> Hey Sebb -
>
> I double checked for trailing spaces, and it does not appear that there are
> any.
> If I replace the variables with direct numbers, it doesn't seem to have a
> problem though.
In that case, there must be a problem with the variables.
Hey Sebb -
I double checked for trailing spaces, and it does not appear that there are
any.
If I replace the variables with direct numbers, it doesn't seem to have a
problem though.
The variables are defined within the User Defined Variables on the Test
Plan node.
I had the same problem
On 04/04/2009, Marc Chiarini (Tufts) wrote:
>
> Hi Michael,
>
> Try putting your variables in quotes, for example:
> ${__javaScript('${VARONE}'*'${VARTWO}'/'${VARTHREE}')}
>
> I'm not sure why this is necessary, but it's the only thing that worked for
> me when I had a similar problem.
That d
Hi Michael,
Try putting your variables in quotes, for example:
${__javaScript('${VARONE}'*'${VARTWO}'/'${VARTHREE}')}
I'm not sure why this is necessary, but it's the only thing that worked
for me when I had a similar problem.
The relevant reference is in the bottom green box at
http://jakarta.
On 02/04/2009, Michael P. McDonnell wrote:
> When utilizing the Javascript function in Jmeter 2.3.2 (r665936):
>
> I have a Thread Group set up as follows:
>
> WebService (SOAP) Request
> -XPath Assertion
> -Counter
> Constant Throughput Timer
>
> First of all I would like to note th
When utilizing the Javascript function in Jmeter 2.3.2 (r665936):
I have a Thread Group set up as follows:
WebService (SOAP) Request
-XPath Assertion
-Counter
Constant Throughput Timer
First of all I would like to note that the WebService Sampler rocks. Thank
you for making it. The cou
9 matches
Mail list logo