https://issues.apache.org/bugzilla/show_bug.cgi?id=46359





--- Comment #2 from Sebb <[EMAIL PROTECTED]>  2008-12-08 07:13:15 PST ---
Thanks for the report and test case.

This appears to be due to a bug in either BSF or Rhino, not JMeter.

It does not appear to be possible to define a script variable with a null value
to Javascript using BSF. Furthermore, any variables which are defined after the
null value will also be inaccessible.

The null variable in this case is "prev", so a work-round is to ensure that
there is at least one previous sample result.

The JMeter code can be rearanged to define the "prev" variable last, but
obviously that is also only a work-round.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to