如何使用LR测试https协议的页面
2018-07-02 本文已影响0人
机智的小阿文
前提:录制前将https地址 在浏览器证书中添加例外,或提前将https证书导入
step1、打开LoadRunner,点击【Tools】,选择【Recoding Options】

step2、Recoding Options窗口,选择【Port Mapping】,下拉框选择“第三项”,点击【New Entry】

step3、新增项编辑窗口,选择【HTTP】、【SSL】、勾选并上传相应的https证书(证书需从浏览器中导出)

step4、点击【Update】完成New Entry设置,点击【OK】提交Recoding Options设置
step5、点击【Vuser】,选择【Run-Time Setting】

step6、Run-Time Setting弹框,选择【Preference】,勾选【Winlnet reply instead of Sockets】,点击【OK】完成设置
(如果没有勾选会报错:Error -27778。证书用于回放)

3、其他操作均与LR测试http相同,参考:
