Author: sebb
Date: Thu Apr 30 12:12:42 2009
New Revision: 770185
URL: http://svn.apache.org/viewvc?rev=770185&view=rev
Log:
Document how to use RE PP default value
Modified:
jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
Modified: jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=770185&r1=770184&r2=770185&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml Thu Apr 30
12:12:42 2009
@@ -3839,8 +3839,16 @@
<li> Negative numbers are used in conjunction with the
ForEach controller - see below.</li>
</ul>
</property>
- <property name="Default Value" required="No">
- If no matches are found - and a default is provided - the default
value is stored in the variable.
+ <property name="Default Value" required="No, but recommended">
+ If the regular expression does not match, then the reference variable
will be set to the default value.
+ This is particularly useful for debugging tests. If no default is
provided, then it is difficult to tell
+ whether the regular expression did not match, or the RE element was
not processed or maybe the wrong variable
+ is being used.
+ <p>
+ However, if you have several test elements that set the same variable,
+ you may wish to leave the variable unchanged if the expression does
not match.
+ In this case, remove the default value once debugging is complete.
+ </p>
</property>
</properties>
<p>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]