Background
In some project, after we install the certification we can’t launch the HTTPS pagein
IE while we recording by LR, the page displayed blank and no events were
recorded in fireFox while recording.
In
the record log, there are “Connection termination(by client)” errors
Analysis
The reason is the loadrunner didn’t
support the format of certification. We installed the format of certification
is .cer, but the loadRunner just support the format is .pem.
Solution
Recording
1. I Install the certification
2. Export the certification (base64),
eg:c:/test.cer
3. Excharge the format of the certification by OpenSSL
tool
Download the OpenSSL(windows version)
Install the OpenSSL
Open the “CDM” command line, and entery
OpenSSL bin directory
Input the “openssl” entery the OpenSSL mode
Input the “x509 –inC:/test.cer–out
C:/test.pem”
The .pem certification will generate in C
disk
4. I mport the .pem certification into the IE
Replay
1. Complete
above the step, the loadrunner can recording normally in IE
2. When replay the script, use the
web_set_certificate() to add the certification in script.