jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NaveenKumar Namachivayam <catchnaveen.psgt...@gmail.com>
Subject Re: Extracting value from web page Source Code using JMeter
Date Wed, 27 Nov 2013 16:45:35 GMT
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 <rkkreddy@gmail.com> 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 <stevesenior69@gmail.com> 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: user-unsubscribe@jmeter.apache.org
>> For additional commands, e-mail: user-help@jmeter.apache.org
>>
>>
>
>
> --
> Regards,
> Kiran
>


-- 
Thank you,

Regards,
NaveenKumar N
Visit www.QAInsights.com and www.Testifications.com and www.MyTechCube.com

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


Mime
View raw message