you cannot attach files to the mailing list , you must upload them somewhere and send a link. In any case did you add the view results tree listener and verify the sampler response has the form html exactly as you have posted or not?
On Mon, Dec 20, 2010 at 11:27 PM, sbhosale <[email protected]>wrote: > > Hi Deepak, > > I have rechecked with the Anthonys regex. I have also confirmed that the > post processor is a chlid of the same sampler. > I have added the post processor after that but I am not able to see the > variable name Nextmembershipnumber which is defined in the Regular > expression extractor's reference name. Please refer attached response of > the > post processor debugger. > > Thanks > Sandeep > > On Tue, Dec 21, 2010 at 12:38 PM, Deepak Shetty [via JMeter] < > [email protected]<ml-node%[email protected]> > <ml-node%[email protected]<ml-node%[email protected]> > > > > wrote: > > > Anthony's regex should work.(your option 3) > > Can you confirm > > a. Your regex post processor is a child of the sampler that is returning > > the > > form value > > b. Add a debug sampler immediately following the above sampler. Add a > view > > results tree listener. Check the response of the sampler has the form > > exactly as you are posting. Check the value of the variable in the debug > > sampler response > > > > regards > > deepak > > > > On Mon, Dec 20, 2010 at 11:01 PM, sbhosale <[hidden email]< > http://user/SendEmail.jtp?type=node&node=3313082&i=0>>wrote: > > > > > > > > > > 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] < > > > [hidden email] <http://user/SendEmail.jtp?type=node&node=3313082&i=1 > ><[hidden > > email] <http://user/SendEmail.jtp?type=node&node=3313082&i=2>> > > > <[hidden email] <http://user/SendEmail.jtp?type=node&node=3313082&i=3 > ><[hidden > > email] <http://user/SendEmail.jtp?type=node&node=3313082&i=4>> > > > > > > > > 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 > < > http://jmeter.512774.n5.nabble.com/Need-help-in-regular-expression-extractor-tp3313052p3313065.html?by-user=t > > > > > > 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 > < > http://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3313052&code=c2FuZGVlcC5iaG9zYWxlQGdtYWlsLmNvbXwzMzEzMDUyfC0xNDA0ODYwNTE1&by-user=t > > > > > >. > > > > > > > > > > > > > > -- > > > View this message in context: > > > > > > http://jmeter.512774.n5.nabble.com/Need-help-in-regular-expression-extractor-tp3313052p3313077.html > < > http://jmeter.512774.n5.nabble.com/Need-help-in-regular-expression-extractor-tp3313052p3313077.html?by-user=t > > > > > > > Sent from the JMeter - User mailing list archive at Nabble.com. > > > > > > > > > ------------------------------ > > View message @ > > > http://jmeter.512774.n5.nabble.com/Need-help-in-regular-expression-extractor-tp3313052p3313082.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-tp3313052p3313092.html > Sent from the JMeter - User mailing list archive at Nabble.com. >

