Summary: | Add apache velocity as JSR223 script language | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | orimarko <orimarko> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | orimarko, p.mouawad |
Priority: | P2 | Keywords: | FixedInTrunk |
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
Add velocity JSR223 language docs comment
velocity as JSR223 script language |
Description
orimarko
2019-06-05 11:28:08 UTC
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(-) This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5096 |