[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jmeter-user
Subject:    Re: Regular Expression Extractor....not giving proper result....
From:       Flavio Cysne <flaviocysne () gmail ! com>
Date:       2013-04-26 11:19:31
Message-ID: CADiMt-UYy7GO10L+Yu19PZGX3F_WLghJ7i6m+SY8N39y82UQ4A () mail ! gmail ! com
[Download RAW message or body]


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 <fazal.waseem@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
> 
> 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic