LoadRunner Practitioners Forum
cancel

Kerberos Authentication with Loadrunner 11.00

Highlighted
AjayBisht
New Member.

Kerberos Authentication with Loadrunner 11.00

I have created a document that elaborates Kerberos authentication and how to create HTTP/HTML protocol scripts for applications that uses Kerberos authentication.

Please let me know if you have any questions or comments.

2 REPLIES
ToanPegasie
Valued Contributor.

Re: Kerberos Authentication with Loadrunner 11.00

Hi, I just tried with LoadRunner 12.53 and Windows 2012 R2 server with all your steps and manually add the krb5.ini file, but got the Internal Error - can't get initial credentials for username/password,..... Can you please tell me where's the error in LR 12.53 script?

    web_set_user("xxxPP\\userXXX", 
        "pwdXXX", 
        "xxpp.local\\iam-pp.xxx:80");
    
    lr_start_transaction("Kerberos_Login");

    web_url("Login", 
        "URL=https://iam-admin-pp.xxxxx/em/", 
          "Resource=0",
        "RecContentType=text/html", 
        "Referer=", 
        "Snapshot=t2.inf", 
        "Mode=HTML", 
        EXTRARES, 
        LAST);

        lr_end_transaction("Kerberos_Login", LR_AUTO);

BingleW
Outstanding Contributor.

Re: Kerberos Authentication with Loadrunner 11.00

Hello,

This message indicate a call to krb5_get_init_creds_password() failed, but unfortunately we do not have the detailed Kerberos error code in log.   

You can set the KRB5_TRACE environment variable  to a filename to enable Kerberos log and see whether it gives more hint.

Refer to https://web.mit.edu/kerberos/krb5-1.13/doc/admin/troubleshoot.html And

https://web.mit.edu/kerberos/krb5-1.13/doc/appdev/refs/api/krb5_get_init_creds_password.html#c.krb5_get_init_creds_password

for more details.

Regards,

Bingle(LoadRunner R&D)