Match number -1 return all matches under the pattern
<variableName>_<matchIndex>_g<groupNumber>
The total number of matches is available in <variableName>_matchNr variable
Example: variableName = myVar
${myVar} will return default value or null if none was defined
${myVar_1_g1} will return the first match of the first group
${__V(myVar_${myVar_matchNr}_g1)} will return the value of the last match
of the first group
2013/8/27 guru <[email protected]>
> I have tried match No: -1 but it gives null. It is not extracting all the
> possible matches.
>
> Regular
>
> Expression:<ns6:UserId>(.+?)</ns6:UserId>.*<ns6:UserName>(.+?)</ns6:UserName>
> Template: $1$ $2$
> Match No: -1
> Default Value:
>
>
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Is-possible-extract-a-group-of-values-with-Regular-Expression-extractor-tp531174p5717997.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>