Highlighted
Absent Member.
Absent Member.
4161 views

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.

4 Replies
Highlighted
Valued Contributor.. Valued Contributor..
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);

Highlighted
Frequent Contributor.
Frequent 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)

Highlighted
Valued Contributor.
Valued Contributor.

Re: Kerberos Authentication with Loadrunner 11.00

Hi Bingle

Is there any way to implement kerberos authentication with true client protocol in LR. We are stuck if you can help that would be really helpful for us.

Thanks in Advance,

Nikhil

0 Likes
Highlighted
Outstanding Contributor.
Outstanding Contributor.

Re: Kerberos Authentication with Loadrunner 11.00

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.