LoadRunner hadles the HTTPS

上一篇 / 下一篇  2013-03-05 16:06:39 / 个人分类:性能测试

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.


TAG: Certification HTTPS https loadruner LoadRuner

 

评分:0

我来说两句

日历

« 2024-04-27  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 5427
  • 日志数: 7
  • 建立时间: 2013-02-20
  • 更新时间: 2013-03-05

RSS订阅

Open Toolbar