jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 63065] Getting Typed variable declaration error after upgrading to jmeter 5.0
Date Wed, 09 Jan 2019 20:17:33 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=63065

--- Comment #21 from Felix Schumacher <felix.schumacher@internetallee.de> ---
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.
Mime
View raw message