首页 > Web开发 > 详细

lr使用linux Generator测试https莫名报 SSL protocol error when attempting to connect with host

时间:2018-11-23 17:53:21      阅读:564      评论:0      收藏:0      [点我收藏+]

  接收一个性能测试任务,各种原因需要使用linux agent产生压力。诡异的事发生了,同样脚本windows回放成功,使用linux agent报如下错误,脚本回放失败。

Action.c(33): Error -27778: SSL protocol error when attempting to connect with host "xxx.xxx.xxx" 

   各种查找原因:

  方法1:lr设置如下,无效因为只在windows生效linux根本不起作用

runtime setting -> Internet protocol->perference 选中 WinINet replay instead of sockets

  方法2:在脚本添加如下内容,无效因为此命令只是告诉lr使用ssl版本

web_set_sockets_option("SSL_VERSION","TLS");

  方法3:根据错误提示修改各种ssl版本,F1后根据文档修改“The SSL version preferences 2, 3, 2 and 3, TLS.”,依然无效

  方法4:怀疑 nginx ssl配置问题,乱加了一通依然无效

ssl_protocols TLSv1 TLSv1.1 TLSv1.2;

  一通乱搞已经半天过了去,没办法只能放弃直接压力80。

 

 

  

 

lr使用linux Generator测试https莫名报 SSL protocol error when attempting to connect with host

原文:https://www.cnblogs.com/rslai/p/10008783.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!