jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erez Naim" <e...@theneura.com>
Subject RE: How to capture value from response header using Regx in Jmeter
Date Wed, 04 Feb 2015 15:18:57 GMT
Please uncheck "Follow Redirects" from the HTTP request sampler.  

-----Original Message-----
From: Mahadev Karpe [mailto:Mahadev.Karpe@mphasis.com] 
Sent: Wednesday, February 04, 2015 5:02 PM
To: JMeter Users List
Subject: RE: How to capture value from response header using Regx in Jmeter

Hi Bob,Erez Thank you very much..

My request contains redirect_uri as a parameter and this redirected request
sends a response header.

I have tried with your suggestion but getting blank(values as H).

Please let me how to go with this.

Regards,
Mahadev

-----Original Message-----
From: Erez Naim [mailto:erez@theneura.com]
Sent: Wednesday, February 04, 2015 8:14 PM
To: 'JMeter Users List'
Subject: RE: How to capture value from response header using Regx in Jmeter

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:b.meliev@gmail.com]
Sent: Wednesday, February 04, 2015 4:30 PM
To: user@jmeter.apache.org
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 mailmaster@mphasis.com and delete this mail from
your records.
>


--
Sincerely, Bob!



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

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
mailmaster@mphasis.com and delete this mail from your records.


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



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


Mime
View raw message