You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by pm...@apache.org on 2011/10/10 21:56:57 UTC

svn commit: r1181183 - /jakarta/jmeter/trunk/xdocs/usermanual/functions.xml

Author: pmouawad
Date: Mon Oct 10 19:56:57 2011
New Revision: 1181183

URL: http://svn.apache.org/viewvc?rev=1181183&view=rev
Log:
Bug 52006 - Create a function RandomString to generate random Strings

Modified:
    jakarta/jmeter/trunk/xdocs/usermanual/functions.xml

Modified: jakarta/jmeter/trunk/xdocs/usermanual/functions.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/functions.xml?rev=1181183&r1=1181182&r2=1181183&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/functions.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/functions.xml Mon Oct 10 19:56:57 2011
@@ -101,6 +101,7 @@ and need to be referenced using the __P 
         <tr><td>Calculation</td><td> <a href="#__intSum">intSum</a></td><td>add int numbers</td></tr>
         <tr><td>Calculation</td><td> <a href="#__longSum">longSum</a></td><td>add long numbers</td></tr>
         <tr><td>Calculation</td><td> <a href="#__Random">Random</a></td><td>generate a random number</td></tr>
+        <tr><td>Calculation</td><td> <a href="#__RandomString">RandomString</a></td><td>generate a random string</td></tr>
         <tr><td>Scripting</td><td> <a href="#__BeanShell">BeanShell</a></td><td>run a BeanShell script</td></tr>
         <tr><td>Scripting</td><td> <a href="#__javaScript">javaScript</a></td><td>process JavaScript (Mozilla Rhino)</td></tr>
         <tr><td>Scripting</td><td> <a href="#__jexl">jexl</a></td><td>evaluate a Commons Jexl expression</td></tr>
@@ -542,6 +543,17 @@ the comma after 7 is escaped.</note>
 </properties>
 </component>
 
+<component index="&sect-num;.5.8" name="__RandomString">
+<description><p>The RandomString function returns a random String of length using characters in chars to use.</p></description>
+
+<properties>
+        <property name="Length" required="Yes">A number length of generated String</property>
+        <property name="Characters to use" required="No">Chars used to generate String</property>
+        <property name="Variable Name" required="No">A reference name for reusing the value
+                computed by this function.</property>
+</properties>
+</component>
+
 <component index="&sect-num;.5.8" name="__CSVRead">
 <description><p>The CSVRead function returns a string from a CSV file (c.f. <a href="#_StringFromFile">StringFromFile</a>)</p>
 	<p>NOTE: versions up to 1.9.1 only supported a single file. 



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org