Author: sebb
Date: Wed Apr 30 04:33:20 2008
New Revision: 652343

URL: http://svn.apache.org/viewvc?rev=652343&view=rev
Log:
Function calls now trim variable name parameters

Modified:
    jakarta/jmeter/trunk/docs/changes.html
    jakarta/jmeter/trunk/docs/usermanual/functions.html
    jakarta/jmeter/trunk/xdocs/changes.xml
    jakarta/jmeter/trunk/xdocs/usermanual/functions.xml

Modified: jakarta/jmeter/trunk/docs/changes.html
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/docs/changes.html?rev=652343&r1=652342&r2=652343&view=diff
==============================================================================
--- jakarta/jmeter/trunk/docs/changes.html (original)
+++ jakarta/jmeter/trunk/docs/changes.html Wed Apr 30 04:33:20 2008
@@ -252,6 +252,14 @@
                                                </li>
                                                                        
 
+                                                                               
                <li     >
+                                                               
+Leading and trailing spaces are trimmed from variable names in function calls.
+For example, ${__Random(1,63, LOTTERY )} will use the variable 'LOTTERY' 
rather than ' LOTTERY '.
+
+                                               </li>
+                                                                       
+
                                                </ul>
                                                                                
                                                                                
<h4     >
                                                                Bug fixes
@@ -582,6 +590,14 @@
                                                </li>
                                                                        
 
+                                                                               
                <li     >
+                                                               
+Leading and trailing spaces are trimmed from variable names in function calls.
+For example, ${__Random(1,63, LOTTERY )} will use the variable 'LOTTERY' 
rather than ' LOTTERY '
+
+                                               </li>
+                                                                       
+
                                                </ul>
                                                                                
                                                                                
<h4     >
                                                                Non-functional 
changes

Modified: jakarta/jmeter/trunk/docs/usermanual/functions.html
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/docs/usermanual/functions.html?rev=652343&r1=652342&r2=652343&view=diff
==============================================================================
--- jakarta/jmeter/trunk/docs/usermanual/functions.html (original)
+++ jakarta/jmeter/trunk/docs/usermanual/functions.html Wed Apr 30 04:33:20 2008
@@ -196,6 +196,14 @@
                                                                        
 Variables, functions (and properties) are all case-sensitive.
 
+                                                                               
                <b      >
+                                                               
+Versions of JMeter after 2.3.1 trim spaces from variable names before use, so 
for example
+${__Random(1,63, LOTTERY )} will use the variable 'LOTTERY' rather than ' 
LOTTERY '.
+
+                                               </b>
+                                                                       
+
                                                </p>
                                                                                
                                                                                
<p><table border="1" bgcolor="#bbbb00" width="50%" cellspacing="0" 
cellpadding="2">
                <tr><td>                                                

Modified: jakarta/jmeter/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=652343&r1=652342&r2=652343&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/changes.xml (original)
+++ jakarta/jmeter/trunk/xdocs/changes.xml Wed Apr 30 04:33:20 2008
@@ -96,6 +96,10 @@
 <li>The supplied TCPClient implementation no longer treats tcp.eolByte=0 as 
special.
 To skip EOL checking, set tcp.eolByte=1000 (or some other value which is not a 
valid byte)
 </li>
+<li>
+Leading and trailing spaces are trimmed from variable names in function calls.
+For example, ${__Random(1,63, LOTTERY )} will use the variable 'LOTTERY' 
rather than ' LOTTERY '.
+</li>
 </ul>
 
 <h4>Bug fixes</h4>
@@ -172,6 +176,10 @@
 To skip EOL checking, set tcp.eolByte=1000 (or some other value which is not a 
valid byte)
 </li>
 <li>JUnit sampler GUI now also finds Test classes defined in 
user.classpath</li>
+<li>
+Leading and trailing spaces are trimmed from variable names in function calls.
+For example, ${__Random(1,63, LOTTERY )} will use the variable 'LOTTERY' 
rather than ' LOTTERY '
+</li>
 </ul>
 
 <h4>Non-functional changes</h4>

Modified: jakarta/jmeter/trunk/xdocs/usermanual/functions.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/functions.xml?rev=652343&r1=652342&r2=652343&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/functions.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/functions.xml Wed Apr 30 04:33:20 2008
@@ -72,6 +72,10 @@
 For example if UNDEF is not defined as a variable, then the value of ${UNDEF} 
is ${UNDEF}.
 </b>
 Variables, functions (and properties) are all case-sensitive.
+<b>
+Versions of JMeter after 2.3.1 trim spaces from variable names before use, so 
for example
+${__Random(1,63, LOTTERY )} will use the variable 'LOTTERY' rather than ' 
LOTTERY '.
+</b>
 </p>
 <note>
 Properties are not the same as variables.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to