Go to the RegEx mark radio nutton "Respose headers". 

Enter your code into your RegEx Extractor  and launch the test.

DONE.

Good Luck! 

-----Original Message-----
From: Bob Meliev [mailto:[email protected]] 
Sent: Wednesday, February 04, 2015 4:30 PM
To: [email protected]
Subject: Re: How to capture value from response header using Regx in Jmeter

1. Select "Headers" from Response field to check in Regular Expression
Extractor.
2. Use this regexp: code=|(.+?)

|On 04.02.2015 19:15, Mahadev Karpe wrote:
> Hi All,
>
> I want to capture the dynamic value from header response using RegEx in
jmeter.
>
> the value is from header response
>
> Location 
> https://t2.clipspeccloud.schneider-electric.com/clipspec/?code=f86d7be
> 0170ad4dd995d511dee8d794f07b524cd
>
> I want to capture only last part i.e 
> f86d7be0170ad4dd995d511dee8d794f07b524cd
>
>
> I used RegEx as  Location
https:\/\/t2.clipspeccloud.schneider-electric.com\/clipspec\/?code=(.*?) but
unable to get it.
>
> Please help me on this. Many thanks in advance.
>
> Regards,
> Mahadev
> Information transmitted by this e-mail is proprietary to Mphasis, its 
> associated companies and/ or its customers and is intended for use 
> only by the individual or entity to which it is addressed, and may 
> contain information that is privileged, confidential or exempt from 
> disclosure under applicable law. If you are not the intended recipient or
it appears that this mail has been forwarded to you without proper
authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at [email protected] and delete this mail from
your records.
>


--
Sincerely, Bob!



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to