【Loadrunner】SSL protocol error when attempting to connect with host

转载:https://www.pianshen.com/article/9933354317/
1、问题背景:
在执行请求为https的脚本时报错SSL protocol error when attempting to connect with host
2、问题原因:
Loadrunner默认发送是通过sockets(将http转换为sockets)发送的,而sockets默认SSL的版本为SSL2和SSL3。HTTPS协议录制的脚本以SSL3版本回放时使sockets端口连接失败,会被服务器拒绝连接。
3、解决方案:
在virtual user generator 内,vuser->run-time settings->preferences->advanced里勾上WININET replay instead of Sockets(windows only)。(设置之后使用winlnet的引擎回放脚本,但此方法仅适用于windows)
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_46475607/article/details/124748519
今日推荐