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

--- Comment #5 from Felix Schumacher <[email protected]> ---
Created attachment 38139
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38139&action=edit
Test plan for comparison of BSH and JSR223 samplers

The attached test plan runs four different *Hello World* samplers against the
clock. On my machine the BeanShell sampler is the fastest, followed by JSR 223
Groovy (not that much slower), JavaScript (quite a lot slower) and way off
BeanShell (as JSR223).

It seems, that there is a newer version of BeanShell (2.1.0 according to
https://github.com/beanshell/beanshell/releases) which implements JSR223
Compilable interface. Sadly, I didn't find the artefacts on any maven repo.

If you wish to test the new release of Beanshell for yourself, you can remove
lib/bsh-2.0b6.jar and replace it with the bsh-2.1.0.jar. Then, you have to edit
the file META-INF/services/javax.script.ScriptEngineFactory inside the jar to
read bsh.BshScriptEngineFactory instead of bsh.engine.BshScriptEngineFactory.
(Otherwise an error message is displayed on JMeter startup and no bsh can be
found in the JSR223 sampler)

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

Reply via email to