jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] 02/03: Add notes to use Apache Velocity as JSR223 script language
Date Mon, 17 Jun 2019 16:22:52 GMT
This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit 7bbd39b026c3b638e07ca09d842f4134f902cf7a
Author: Felix Schumacher <felix.schumacher@internetallee.de>
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(-)

diff --git a/xdocs/changes.xml b/xdocs/changes.xml
index 9caca77..fe57a6c 100644
--- a/xdocs/changes.xml
+++ b/xdocs/changes.xml
@@ -183,6 +183,7 @@ to view the last major behaviors with the version 5.1.1.
 <h3>Documentation</h3>
 <ul>
     <li><bug>63513</bug>Add MariaDB examples to JDBC documentation. Contributed
by Ori Marko (orimarko at gmail.com)</li>
+    <li><bug>63484</bug>Add notes to use Apache Velocity as JSR223 script
language. Based on a patch by Ori Marko (orimarko at gmail.com)</li>
 </ul>
 
 <h3>General</h3>
diff --git a/xdocs/usermanual/component_reference.xml b/xdocs/usermanual/component_reference.xml
index d57edd1..c01388b 100644
--- a/xdocs/usermanual/component_reference.xml
+++ b/xdocs/usermanual/component_reference.xml
@@ -1159,7 +1159,9 @@ props.put("PROP1","1234");</source>
     <property name="Name" required="No">Descriptive name for this sampler that is shown
in the tree.</property>
     <property name="Scripting Language" required="Yes">Name of the JSR223 scripting
language to be used.
       <note>There are other languages supported than those that appear in the drop-down
list.
-        Others may be available if the appropriate jar is installed in the JMeter lib directory.
+        Others may be available if the appropriate jar is installed in the JMeter lib directory.<p>
+        Notice that some languages such as Velocity may use a different syntax for JSR223
variables,
+        e.g. <source>$log.debug("Hello " + $vars.get("a"));</source> for Velocity.
       </note>
     </property>
     <property name="Script File" required="No">Name of a file to be used as a JSR223
script, if a relative file path is used, then it will be relative to directory referenced
by "<code>user.dir</code>" System property</property>


Mime
View raw message