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=f86d7be0170ad4dd995d511dee8d794f07b524cd

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!

Reply via email to