LoadRunner Support Forum
Showing results for 
Search instead for 
Do you mean 

Authenication Issue in Loadrunner

Occasional Contributor

Authenication Issue in Loadrunner

Hi All,

I 've faced a issue in loadrunner  while reply back the script .

Here are the setps that followed.



1. In SoapUi we are getting a valid response with the request but in the same when we are trying with loadrunner it is failing with authentication error.(we passed web_set_user() method for authentication)

2. Used 3 ways to prepare the script but every time we are getting the same error.

· Importing wsdl file and prepare the script

· Importing the soapxml and prepared the script

· Used web_custom_request() and passing therequest xml on it

we are using IIS7.0 as server and the authentication is used NTLM\kerberos.


Error message:


Action.c(93): \r\n

Action.c(93): <HTML><HEAD><TITLE>You are not authorized to view this page</TITLE>\r\n

Action.c(93): <META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">\r\n


Action.c(93): \r\n

Action.c(93): <h1>You are not authorized to view this page</h1>\r\n

Action.c(93): You do not have permission to view this directory or page using the credentials that you s

Action.c(93): upplied.\r\n

Action.c(93): <hr>\r\n

Action.c(93): <p>Please try the following:</p>\r\n

Action.c(93): <ul>\r\n

Action.c(93): <li>Contact the Web site administrator if you believe you should be able to view this dire

Action.c(93): ctory or page.</li>\r\n

Action.c(93): <li>Click the <a href="javascript&colon;location.reload()">Refresh</a> button to try again with

Action.c(93): different credentials.</li>\r\n

Action.c(93): </ul>\r\n

Action.c(93): <h2>HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.<br>Inter

Action.c(93): net Information Services (IIS)</h2>\r\n

Action.c(93): <hr>\r\n

Action.c(93): <p>Technical Information (for support personnel)</p>\r\n

Action.c(93): <ul>\r\n

Action.c(93): <li>Go to <a href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product Support

Action.c(93): Services</a> and perform a title search for the words <b>HTTP</b> and <b>401</b>.</li>\r\n

Action.c(93): <li>Open <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr),\r\n

Action.c(93): and search for topics titled <b>Authentication</b>, <b>Access Control</b>, and <b>About C

Action.c(93): ustom Error Messages</b>.</li>\r\n

HPE Expert

Re: Authenication Issue in Loadrunner



You need to set up the security according to the required by your application, check on security settings inside "protocol and security" tab in "manage services"