Small correction not HTTP AM it is HTTP HM -----Original Message----- From: Samaraweera, Ravinda Sent: Thursday, August 23, 2012 12:09 PM To: 'JMeter Users List' Subject: RE: How to login to internal network through jmeter
Thanks Niraj it works like this for me, When I close the jmeter and open it , it waits for 3 to 4 minutes then run the script (HTTP HM authentication seems works) but still it waits for along time, when I access the site through FF browser it is very fast. (2sec). If I run the script without closing and opening jmeter for 1 more time then it quite fast (runs normal) I have just put HTTP HM just after the Thread group, also tried putting the same under 1st HTTP request. But still needs to wait 4 to 5 minutes. Why is that. thanks -----Original Message----- From: Niraj [mailto:niraj.khatm...@gmail.com] Sent: Thursday, August 23, 2012 11:26 AM To: JMeter Users List Subject: Re: How to login to internal network through jmeter To allow the test plan to authenticate with each request, you need to add an HTTP Header Manager configuration element to the Thread Group. In it you add one field named "Authorization". The only thing left is to set the header value, which can be obtained by looking at the requests of a browser. In Firefox<http://www.mozilla.com/en-US/firefox/personal.html> this can be done with the Live HTTP Headers Add-on<https://addons.mozilla.org/en-US/firefox/addon/3829> . Just download that Add-on and manually access the site keep add-on open. You will get the Authentication value. Just add the same in front of Authorization field in HTTP Header manager config element. On Thu, Aug 23, 2012 at 11:19 AM, Samaraweera, Ravinda < ravindasamarawe...@kpmg.com> wrote: > yes > > -----Original Message----- > From: Niraj [mailto:niraj.khatm...@gmail.com] > Sent: Thursday, August 23, 2012 11:16 AM > To: JMeter Users List > Subject: Re: How to login to internal network through jmeter > > Is it HTTP authentication? > > On Thu, Aug 23, 2012 at 11:11 AM, Samaraweera, Ravinda < > ravindasamarawe...@kpmg.com> wrote: > > > What are the steps to follow in order to login to internal network > (not > > proxy server) through jmeter. > > > > Thanks. > > > > > *********************************************************************** > > Disclaimer > > > > The information contained in this communication is confidential and > may be > > legally privileged. > > It is intended solely for the use of the individual or entity to whom > it > > is addressed and others authorised to receive it. > > If you are not the intended recipient you are hereby notified that any > > disclosure, copying, > > distribution or taking action in reliance of the contents of this > > information is strictly prohibited and may be unlawful. > > KPMG is neither liable for the proper, > > complete transmission of the information contained in this > communication > > nor any delay in its receipt. > > > *********************************************************************** > > > > > *********************************************************************** > Disclaimer > > The information contained in this communication is confidential and may be > legally privileged. > It is intended solely for the use of the individual or entity to whom it > is addressed and others authorised to receive it. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, > distribution or taking action in reliance of the contents of this > information is strictly prohibited and may be unlawful. > KPMG is neither liable for the proper, > complete transmission of the information contained in this communication > nor any delay in its receipt. > *********************************************************************** > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org > For additional commands, e-mail: user-h...@jmeter.apache.org > > *********************************************************************** Disclaimer The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful. KPMG is neither liable for the proper, complete transmission of the information contained in this communication nor any delay in its receipt. *********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org