Highlighted
Absent Member.
Absent Member.
4047 views

Unable to run the script in performance center which requires certificate authentication.

Hi,

 

Currently i am working at one of our client location, where we are using LoadRunner and performance center V12.00 is used.

 

One of the project requirement is to load test the web applicaiton, which requires client side certificate authentication.

 

We were able to convert the certificate file to .pem format and execute the script in VuGen, but when the same script is executed through performance center we are getting "InternetSetOption for INTERNET_OPTION_SECURITY_SELECT_CLIENT_CERT" error. When we investigated on the same error, we found one of the possible cause might be because of load genarator is running as service.

 

When we insisted the same to our client, they rejected our request to install the load genarator as a process as it is aginst their security policy.

 

Please let me know if you anyone faced similar kind of issue and found a solution for this.

 

Any feedback will be much accepted.

 

Note:

We are using the WinInet mode to execute the script as the recording happening through proxy.

 

Thanks,

Raghav

Tags (1)
0 Likes
3 Replies
Highlighted
Outstanding Contributor.
Outstanding Contributor.

Re: Unable to run the script in performance center which requires certificate authentication.

Hi,

 

What will hapen if you try to use socket replay mode? A script recorded using WinInet can still be replayed using socket.

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Unable to run the script in performance center which requires certificate authentication.

Hi,

 

When run the script in Socket level, it give me proxy authentication error. If Proxy details are not submitted.

 

Once the proper proxy details are submitted, we get below message. LR continuolsy tries to negotiate the SSL handshake.

 

Transaction "XDS01_Addr01_Launch" started.
web_url("Testing") started      [MsgId: MMSG-26355]
138-byte response headers for "https://*-****-uat.********.**/sdslCheck/*******.**" (RelFrameId=1, Internal ID=1)
    HTTP/1.1 200 Connection Established\r\n
    Date: Wed, 13 May 2015 12:10:08 GMT\r\n
    Proxy-Connection: Keep-Alive\r\n
    Via: 1.1 localhost.localdomain\r\n
    \r\n
t=2779ms: 138-byte response headers for "https://*-****-uat.********.**/sdslCheck/*******.**" (RelFrameId=1, Internal ID=1)
    HTTP/1.1 200 Connection Established\r\n
    Date: Wed, 13 May 2015 12:10:08 GMT\r\n
    Proxy-Connection: Keep-Alive\r\n
    Via: 1.1 localhost.localdomain\r\n
    \r\n
ssl_handle_status encounter error : SSL_ERROR_SSL, error message : error:14094415:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate expired      [MsgId: MMSG-26000]
ssl_handle_status encounter error : SSL_ERROR_SSL, error message : error:140940E5:SSL routines:SSL3_READ_BYTES:ssl handshake failure      [MsgId: MMSG-26000]
ssl_handle_status ssl_handle_status encounter error : SSL_ERROR_SSL when read, retry count = 0      [MsgId: MMSG-26000]

 

 

This repeatedly happens and throws and error.

 

Thanks,

Raghav

0 Likes
Highlighted
New Member.

Re: Unable to run the script in performance center which requires certificate au

In Runtile settings please enable use WinInet replay instead of sockets ( Windows only) under preferences

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.