On 15 November 2011 18:28, Deepak Shetty <[email protected]> wrote: > your regex should have worked - a better one is > openid.ns=([^&]*)&
Or even openid\.ns=([^&]*)& as "." is a meta-character. > Did you add a debug sampler and check that the response does contain this > text(no extra spaces etc)? Is your regex post processor a child of this > sampler? > > On Tue, Nov 15, 2011 at 10:16 AM, testerinCO <[email protected]> wrote: > >> 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-tp4995226p4995226.html >> Sent from the JMeter - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
