Loading ...
Sorry, an error occurred while loading the content.

Re: [LoadRunner] IIS 6.0 HTTP 401 Error trying to login via browser

Expand Messages
  • Rick Holmes
    It is generating a web_set_cookie when recorded, and that works fine on replay as long as I recorded in URL mode. What exactly should I be seeing in the
    Message 1 of 11 , May 3, 2010
    • 0 Attachment
      It is generating a web_set_cookie when recorded, and that works fine on replay as long as I recorded in URL mode. What exactly should I be seeing in the header?

      --- On Wed, 4/28/10, Oscar Garcia <ogarciacapetillo@...> wrote:


      From: Oscar Garcia <ogarciacapetillo@...>
      Subject: Re: [LoadRunner] IIS 6.0 HTTP 401 Error trying to login via browser
      To: LoadRunner@yahoogroups.com
      Date: Wednesday, April 28, 2010, 1:53 PM


       



      Seems a cookie header could be required as additional, try to find out at
      the headers sections,

      Cheers,
      OG

      On Tue, Apr 27, 2010 at 5:29 PM, V S S Suman Palepu <sumanpalepu@ yahoo.co. in
      > wrote:

      >
      >
      > Can you see if there is any proxy? If yes, use web_set_proxy
      >
      > Suman
      >
      > ____________ _________ _________ __
      > From: CaptainChaos <cortechs_rholmes@ yahoo.com<cortechs_rholmes% 40yahoo.com>
      > >
      > To: LoadRunner@yahoogro ups.com <LoadRunner% 40yahoogroups. com>
      > Sent: Tue, 27 April, 2010 3:57:37 PM
      > Subject: [LoadRunner] IIS 6.0 HTTP 401 Error trying to login via browser
      >
      > All,
      >
      > I am getting the error "Unauthorized Access is denied due to server
      > configuration" trying to launch an application via Web protocol which does a
      > Windows login while trying access a web page. The first few lines are:
      >
      > web_set_user( "Domain.Network\ \UserID",
      > decrypt("Encrypted\ Password" ,
      > "HOST.PORT"
      >
      > Web_URL("Default" , "URL=<URL>", "Resource=0" , "RecContentType= text\html"
      > , "Referer=", "Snapshot=t63inf" , "Mode=HTML" ...
      >
      > Now, the error is occurring on the second statement and is suggesting I use
      > web_set_user. There is no entry in the event log on the server, but you do
      > find a 401 error in the Web server log file. I have tried URL Mode, Web /
      > Winsock dual protocol, and Click and script, none of which circumvent this
      > problem. I suspect the error is some sort of network or serverside problem
      > (as this environment is prone to that sort of thing). Does anyone know how I
      > could resolve this problem?
      >
      > Also, this application queries a SQL Server database using search criteria
      > FWIW.
      >
      > [Non-text portions of this message have been removed]
      >
      >
      >

      --
      Saludos,
      Oscar García

      [Non-text portions of this message have been removed]











      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.