You get this error when attempting to replay the script in the TM ART Monitor Workbench: WebPageUrl(HTTP: 401 - access denied, RespHdrAuthNTLM) BMC Transaction Management Application Response Time Execution Server - Infrastructure Edition (version 3.0.00) |
Legacy ID:KA306874 DR: BMC Transaction Management Application Response Time Monitor WorkBench;TM ART TMART
Please look in your script. You may see comments like this:
// NTLM/Kerberos authentication to HTTP server detected.
// If you were prompted during recording to enter a username & password then you should uncomment the following line and // specify network credentials appropriately //WebSetUserAuthNtlm("Enter Username", "Enter Password"); So you need to uncomment that WebSetUserAuthNtlm line and fill in the Username and Password. Remember that domain name will proabably be needed as part of password. See also KA324567
I have another suggestion for you. Some users do not like to put a username and password in the clear in a script. So you can use "Project Attributes". In the Monitor Workbench, look under Project -> Project Attributes. Define a project attribute for user name and also for password. Make the password to have type password and it will not be in the clear, it will be obscured. See the online help.
So your code would look something like this:
sUser : string; //added code
sPassword : string; //added code begin ... AttributeGetString("MyUser",sUser); //Domain name then one or two slashes will probably be needed AttributeGetString("MyPassword",sPassword); // WebSetUserAuthNtlm(sUser, sPassword); //Do not forget Domain name.
Related Products:
|