查看完整版本: 请问关于https的测试

volym 2004-9-9 09:38

请问关于https的测试

我用loadrunner录制脚本如下
Action1()
{
        web_set_certificate_ex("CertIndex=1",
                LAST);

        web_url("172.16.8.229",
                "URL=https://172.16.8.229/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                LAST);

        return 0;
}
在单脚本运行的时候出现了错误:
Action1.c(9): Error: SSL protocol error when attempting to connect with host "172.16.8.229"
Action1.c(9): web_url highest severity level was "ERROR", 0 body bytes, 0 header bytes
请问高手这是什么原因啊?

volym 2004-9-9 11:10

没人测过么?版主救我!

zerocci 2004-9-9 11:17

一般的https的security都是比较高的,你试试在脚本里加上“允许通过”的,看看行不行。

sunhongdongkun 2005-5-17 09:21

有针对https进行测试的工具吗?

vege2001 2006-1-21 10:32

web_set_certificate_ex("CertIndex=1",
                LAST);
   删除就可以了

liangjz 2006-7-28 19:48

在vugen 内, run-time settings->preferences->勾上WININET replay instead of Sockets。

我花了几天时间才尝试到这个选项。

allismine 2006-7-28 21:22

关注

Darkcoming 2006-9-2 14:46

好像是你的端口可能不是通用的8443
这样你可能要自己写上,我就是加上端口就直接脸上的

fulihuan 2006-11-3 14:48

这样的问题主要是选择证书不正确,可以使用web_set_certificate_ex其他模式,使用openssl命令将pfx转换为pem格式

wuhuawu09 2006-11-3 18:02

172.16.8.229 不对吧...

gaobugu 2007-4-17 10:29

楼主结束怎么样?能说一下吗?
页: [1]
查看完整版本: 请问关于https的测试