When you use *-1* as the "Match No" JMeter generates additional variable called *refName_matchNr* ("refname" is what you put into "Name of created variable" field)

So you will be able to refer it as *${**refName_matchNr*} where required.

References:

 * Regular Expression Extractor documentation
   
<https://jmeter.apache.org/usermanual/component_reference.html#Regular_Expression_Extractor>
 * Using RegEx (Regular Expression Extractor) with JMeter
   
<https://guide.blazemeter.com/hc/en-us/articles/207421325-Using-RegEx-Regular-Expression-Extractor-with-JMeter>
 * JMeter User Manual: Regular Expressions
   <https://jmeter.apache.org/usermanual/regular_expressions.html>


On 6/15/2022 1:46 PM, Riji K wrote:
Hi,

Is there a way to retrieve the total match count value? Also what happens
when -1 is used in Regex Match count.

Thanks in advance.

Regards,
Riji Kunhiraman

Reply via email to