sebb 2004/02/17 04:45:52
Modified: xdocs/usermanual component_reference.xml
Log:
Update regex
Revision Changes Path
1.84 +14 -8 jakarta-jmeter/xdocs/usermanual/component_reference.xml
Index: component_reference.xml
===================================================================
RCS file: /home/cvs/jakarta-jmeter/xdocs/usermanual/component_reference.xml,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- component_reference.xml 17 Feb 2004 02:37:03 -0000 1.83
+++ component_reference.xml 17 Feb 2004 12:45:52 -0000 1.84
@@ -1634,21 +1634,27 @@
<property name="Template" required="Yes">The template used to create a
string from the matches found. This is an arbitrary string
with special elements to refer to groups within the regular expression.
The syntax to refer to a group is: '$1$' to refer to
group 1, '$2$' to refer to group 2, etc.</property>
- <property name="Match No." required="Yes">Indicates which match to use.
The regular expression may match multiple times. Use a
- value of zero to indicate JMeter should choose a match at random.
Otherwise, select the numbered match assuming they
- are ordered as they appear in the response data.<br></br>
- Negative numbers are used in conjunction with the ForEach controller - see
below.
+ <property name="Match No." required="Yes">Indicates which match to use.
The regular expression may match multiple times.
+ <ul>
+ <li>Use a value of zero to indicate JMeter should choose a
match at random.</li>
+ <li>A positive number N means to select the nth match.</li>
+ <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, the
default value is stored in the variable.</property>
</properties>
<p>
If the match number is set to a negative number, then all the possible matches
in the sampler data are processed.
- The following variables are set:
+ The variables are set as follows:
<ul>
<li>refName_matchNR - the number of matches found; could be 0</li>
<li>refName_n, where n = 1,2,3 etc - the strings as generated by the
template</li>
<li>refName_n_gm, where m=0,1,2 - the groups for match n</li>
+ <li>refName - always set to the default value</li>
+ <li>refName_gn - not set</li>
</ul>
+ Note that the refName variable is always set to the default value in this
case,
+ and the associated group variables are not set.
</p>
</component>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]