I guess Web page source code and response is the same. Please check the number of occurence in the response.
Thank you! On 11/27/13, KIRAN <[email protected]> wrote: > Thank you for a quick reply. > > I have already tried that option and failed to get the value. > I think Regular Expression Extractor only search for text in the response > text and not in the web page's source code. > I want to read value from web page's source code which we see by right > clicking on the web page and selecting 'View Source' option. > > > On Wed, Nov 27, 2013 at 10:42 AM, ZK <[email protected]> wrote: > >> Hi, >> you would need to use a Post Processor: >> Regular Expression Extractor >> >> This Regular Expression would extract the SessionId: >> >> 'SessionId': '(\d+?)', >> >> >> So in the Regular Expression Extractor the settings would be: >> Reference Name: >> sessionId >> >> Regular Expression: >> 'SessionId': '(\d+?)', >> >> Template: >> $1$ >> >> Match No.: >> 1 >> Default Value: >> NOT_FOUND >> >> >> >> >> ZK >> >> >> >> >> >> -- >> View this message in context: >> http://jmeter.512774.n5.nabble.com/Extracting-value-from-web-page-Source-Code-using-JMeter-tp5718772p5718773.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] >> >> > > > -- > Regards, > Kiran > -- Thank you, Regards, NaveenKumar N Visit www.QAInsights.com and www.Testifications.com and www.MyTechCube.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
