https://bz.apache.org/bugzilla/show_bug.cgi?id=63065

--- Comment #21 from Felix Schumacher <[email protected]> ---
Created attachment 36369
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36369&action=edit
Simple test plan to reproduce bug

It seems this is a regression in bsh-2.0b6.

The problem is the non-declaration of untyped variables inside block scope:

if (true) {
  var1 = "some value";
}
vars.put("var", var1);

will reproduce the behaviour. If you replace the bsh-2.0b6.jar file in
$JMETER_HOME/lib with bsh-2.0b5.jar, the test plan will work (even with JMeter
version 5.1-nightly).

Even if this is a regression, I am not sure that JMeter can do anything about
it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to