Background:
In some projects , when we use LR to record scripts, when we install the authentication We cannot start [ url = ] HTTPS [/url] IE Plugin , the page display blank, no event record, in Firefox also .
In the logging, we will find "Connection termination (by client)" Error
Analysis:
The reason is that LoadRunner does not support certificates in this format. The certificate format we installed is. er, but loadrunner only supports the format of. Pem.
Solution:
1. I installed the certificate
2. Output certificate (base64), such as: C:/test.cer
3. Use the OpenSSL tool to convert the format of the certificate
4. Download OpenSSL
5. Installing OpenSSL
6. Open the CMD command tool and enter the OpenSSL bin directory
7. Enter "OpenSSL" into OpenSSL mode
8. Enter "X509–inc:/test.cer–out C:/test.pem"
9. A certificate with a. Pem format will be generated in the C drive
10. I import a certificate with a. pem format into IE
11. Complete the above steps, LoadRunner can be executed in IE normally
2. When recording the script, use the Web_set_certificate () method to add the certificate to the script.
Connection termination (by client) "Error handling method