you can take a look at http://jakarta.apache.org/oro/demo.html
I think it is a good tool to try you reg exps.

for your case, I think you need clientKey \|\| "(.+\d)"

Alex

On Sep 11, 2009, at 10:26 PM, ramnik wrote:


Hello,

I m using Jmeter for Performance Testing and facing issue with extracting
the variable using REGEX extractor.

Code -
<script id="baseState">
clientKey = clientKey || "123844275807432328";

I used teh regex - \clientKey \ || \ (.+\d) to extract the client key

But, this is not working as it is returning null as value of expression.

Can anybody please help me ?
--
View this message in context: 
http://www.nabble.com/Jmeter---regex-expression-for-variable-from-script-tp25406993p25406993.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org


Reply via email to