jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 63065] Getting Typed variable declaration error after upgrading to jmeter 5.0
Date Wed, 09 Jan 2019 20:17:33 GMT

--- Comment #21 from Felix Schumacher <> ---
Created attachment 36369
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

You are receiving this mail because:
You are the assignee for the bug.
View raw message