sebb 2004/02/16 18:37:04
Modified: xdocs/usermanual component_reference.xml
Log:
Document new Regex behaviour when match < 0
Revision Changes Path
1.83 +17 -6 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.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- component_reference.xml 16 Feb 2004 23:51:29 -0000 1.82
+++ component_reference.xml 17 Feb 2004 02:37:03 -0000 1.83
@@ -749,8 +749,8 @@
with the return variable having the respective above values, which can then be used
in the samplers.
</p>
<p>
-It is especially suited for running with the (slightly) modified regular expression
post-processor.
-This can "create" the necessary input variables out of the return page of a
previous request.
+It is especially suited for running with the regular expression post-processor.
+This can "create" the necessary input variables out of the result data of a
previous request.
</p>
<p>Known bugs/problems</p>
<ul>
@@ -1636,9 +1636,20 @@
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.</property>
+ are ordered as they appear in the response data.<br></br>
+ Negative numbers are used in conjunction with the ForEach controller - see
below.
+ </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:
+ <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>
+ </ul>
+</p>
</component>
<component index="14.8.2" name="Result Status Action Handler"
screenshot="resultstatusactionhandler.png">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]