Apache velocity is under Apache License Version 2.0. Latest velocity support JSR223 scripting https://velocity.apache.org/download.cgi#tools Velocity script can be executed, although there's an issue of using JMeter environment/variables: https://stackoverflow.com/questions/56456881/jmeter-velocity-jsr223-script-cant-use-jmeter-variables-environment
When using Velocity user need to add $ in front of JMeter predefined variables, e.g: $log.debug( "Hello " + $vars.get("a"));
(In reply to orimarko from comment #1) > When using Velocity user need to add $ in front of JMeter predefined > variables, e.g: > > $log.debug( "Hello " + $vars.get("a")); Hello orimarko, Thanks for analysis. What can we do about it though except document ? Would you contribute a patch amending documentation ? unless you have a better idea ? Thanks
We can add velocity core and scripting jars and support velocity by default in JSR223
What is the use case for adding velocity to our runtime dependencies? At the moment velocity is a dependency for the generation of our docs, only. Is the updated version compatible with the docs generation? Apart from that, a note about different conventions for variable syntax in script languages would be helpful in our documentation.
Created attachment 36616 [details] Add velocity JSR223 language docs comment
Thanks for the patch. You have patched the changes.html instead of the correct source changes.xml.
Created attachment 36621 [details] velocity as JSR223 script language update patch
updated patch
Thanks for the updated patch. The documentation will be visible with the next version of JMeter (probably 5.2) commit 7bbd39b026c3b638e07ca09d842f4134f902cf7a AuthorDate: Mon Jun 17 18:20:08 2019 +0200 Add notes to use Apache Velocity as JSR223 script language Based on a patch by Ori Marko (orimarko at gmail.com) Bugzilla Id: 63484 --- xdocs/changes.xml | 1 + xdocs/usermanual/component_reference.xml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-)