You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by waseemfa <fa...@gmail.com> on 2013/04/26 08:07:22 UTC
Re: Regular Expression Extractor....not giving proper result....
Did u try it with a debug sampler or a BSF sampler printing the value of
VariableName_matchNr?
--
View this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-not-giving-proper-result-tp5716728p5716794.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: Regular Expression Extractor....not giving proper result....
Posted by Flavio Cysne <fl...@gmail.com>.
maybe between key and colon and/or colon and value there's a space
character (or more than one). You should try this:
"extFxdDomCd"\s*:\s*"(.+?)"
If you want the number of matches for the RegEx above then what Waseen said
is what you have to do.
You said that you want total count, but was not clear to me if you want the
value of "totalCount" attribute or the number of matches for that RegEx.
Any way, RegEx to get totalCount value is:
"totalCount"\s*:\s*(\d+)
2013/4/26 waseemfa <fa...@gmail.com>
> Did u try it with a debug sampler or a BSF sampler printing the value of
> VariableName_matchNr?
>
>
>
>
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-not-giving-proper-result-tp5716728p5716794.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>