jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nermin CALUK" <ner...@atlantbh.com>
Subject RE: Help with Reg Expression
Date Wed, 16 Nov 2011 11:50:55 GMT
The regex you mentioned should work - unless you have mistakenly left a
trailing space or something like that. "&" does not require escaping but "."
usually does. 

Use View Results Tree and select RegExp Tester from the combo box in the
bottom for quicker debugging

Nermin



-----Original Message-----
From: testerinCO [mailto:cmolatch@comcast.net] 
Sent: Tuesday, November 15, 2011 7:16 PM
To: jmeter-user@jakarta.apache.org
Subject: Help with Reg Expression

Hello
How can I capture the information after the "=" sign up to the ampersand
sign.

openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&

Here is my reg exp statement

Reference Name:  OPENID.NS
Regular Expression:  openid.ns=(.+?)&
Template:  $1$
Match No:  1
Default Value:  Not found.

It always prints "Not found".   Do I have to escape certain characters?  

Thanks for your help.





--
View this message in context:
http://jmeter.512774.n5.nabble.com/Help-with-Reg-Expression-tp4995226p499522
6.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


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


Mime
View raw message