Hi Garvita and Anthony,
I have tried using the regular expression provided by you. But somehow its
not working. I have tried ur expression in following ways
1. (membershipNumber">)(.+?)(<)
2. <form method="post"
action="/benefitsplus-travel-uk/en-gb/homepage/purchase/complete-payment.aspx?(membershipNumber">)(.+?)(<)
&package=471380f7-29df-4e77-906e-1cd9e5a2f5a6&lis
tOfOptionalBenefits=" id="frmMaster">
3. membershipNumber=(\d+)
4. <form method="post"
action="/benefitsplus-travel-uk/en-gb/homepage/purchase/complete-payment.aspx?membershipNumber=(\d+)&package=471380f7-29df-4e77-906e-1cd9e5a2f5a6&lis
tOfOptionalBenefits=" id="frmMaster">
Basically I am using the Regular Expression Extractor post processor. I am
giving the Reference name as Nextmembershipnumber. And I am using this
reference name as a variable in the subsequent requests like
${Nextmembershipnumber} in the subsequent requests.
So what I want to achieve is using the Regular Expression Extractor I want
to capture this value of the membership number in a variable so that i can
use in the subsequent requests.
I am attaching the response file for your reference.
Please help me in using a correct Regular Expression Extractor post
processor.
Thank You,
Regards,
Sandeep
On Tue, Dec 21, 2010 at 12:04 PM, Garvita [via JMeter] <
[email protected]<ml-node%[email protected]>
> wrote:
> Try this regular expression
> (membershipNumber">)(.+?)(<)
> with template $2$
> and match no. 0
>
> ------------------------------
> View message @
> http://jmeter.512774.n5.nabble.com/Need-help-in-regular-expression-extractor-tp3313052p3313065.html
> To unsubscribe from ***Need help in regular expression extractor***, click
> here<http://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3313052&code=c2FuZGVlcC5iaG9zYWxlQGdtYWlsLmNvbXwzMzEzMDUyfC0xNDA0ODYwNTE1>.
>
>
--
View this message in context:
http://jmeter.512774.n5.nabble.com/Need-help-in-regular-expression-extractor-tp3313052p3313077.html
Sent from the JMeter - User mailing list archive at Nabble.com.