Re: Help with authentication
Ouray Viney <[email protected]> Tue, 25 Nov 2014 10:09:34 -0500
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <CAM5wVfgD_ZfTFEPdAkLr1+=YF-woTcO3887mm0cgmj1NxLZyoQ@mail.gmail.com> |
Hi, Welcome to the Grinder community. Some recommendations: Step 1) I highly recommend you try configuring your browser to use an HTTP debugging proxy. Run the test case manually through the browser, observe and inspect the traffic that shows up. It is possible that Grinder is not recording the required authentication tokens. Step 2) Run your script, though it is failing and compare the manual request in the HTTP debugging proxy to the one your script generated. I am sure you'll find the issue, likely just a header or something similar. HTH, Ouray On Tue, Nov 25, 2014 at 9:39 AM, Sean Tiley <[email protected]> wrote: > Hello, I am struggling with load testing a site. > I am using the Grinder (3.11) to successfully test several other sites but > I am having difficulty with one particular site that requires > authentication, (NTLM I think). The site requires authorization - when one > first browses to the site - the browser opens a pop up that requires a > username and password to be entered (my AD credentials). > > I tried recording a script using the TCPProxy as described on the Grinder > FAQ here but no luck (http://grinder.sourceforge.net/faq.html#spnego) I > just get the 401 - Unauthorized response when I run the recorded script. > > Manually, in Firefox or Chrome I can create the url as follows > http://USERNAME:PASSWORD@accomtstsrv/ and I am not presented with the > authentication prompt. > > I tried editing the recorded script to pass the username and password in > the URL as above but am still getting 401-Unauthorized. > > I would appreciate any help if someone has been able to solve this issue > > Thanks > -- > Sean Tiley > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > grinder-use mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/grinder-use > > -- Ouray Viney http://www.viney.ca ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ grinder-use mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/grinder-use