Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

LR 11.52 - Replay error: InternetSetOption for INTERNET_OPTION_SECURITY_SELECT_CLIENT_CERT

$
0
0

Dear Support Team,

 

I am getting below error while replaying script:

InternetSetOption for INTERNET_OPTION_SECURITY_SELECT_CLIENT_CERT

 

Same script is working for me on my local mahcine but not working on Load Injector.

 

I tried recording the script on LG machine  - so that certificate get recorded; but no luck.

 

Can you please help.

 

Scrip is like:

 

 

 

web_set_certificate_ex("CertFilePath=WinINetCert1.pem", 
        "CertFormat=PEM", 
        "KeyFilePath=WinINetCert1.pem", 
        "KeyFormat=PEM", 
        "Password=abcdef", 
        "CertIndex=1", 
        LAST);

 

    // Create Base64 encoded string
    
    b64_encode_string( "userid:pswd", "BasicAuth" );

 

web_custom_request("Custom_HTTP_Auth",
    "Method=GET",
    "EncType=text/xml; charset=\"UTF-8\"",
    "URL=_https url..",
     LAST);
 


 
// Add HTTP Authorization header "Authorization: Basic XXXXXXXXXXXXXXXXXX==\r\n"
web_add_header("Authorization", lr_eval_string("Basic {BasicAuth}"));


Viewing all articles
Browse latest Browse all 12134

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>