LR回放报错GENERAL_MSG_CAT_SSL_ERROR 的解决办法

上一篇 / 下一篇  2016-08-05 11:08:46 / 个人分类:性能测试

https的站点,能够成功录制,回放后报错(并不是所有的https站点都会报错)

Error -27778: [GENERAL_MSG_CAT_SSL_ERROR]connect to host "www.expedia.com" failed: [10054] Connection reset by peer

在vugen 内, run-time settings->preferences->勾上WININET replay instead of Sockets,完美解决。
---------------以下为备忘,暂时还没看-------------------------

原理:

vugen  user's  guide 提到 Advanced Web run-time options 
WinInet Replay (instead of Sockets): Instructs VuGen to use the WinInet 
replay engine. VuGen has two HTTP replay engines: Sockets-based (default) 
or WinInet based. The WinInet is the engine used by Internet Explorer and 
it supports all of the features incorporated into the IE browser. The 
limitations of the WinInet replay engine are that it is not scalable, nor does 
it support UNIX. In addition, when working with threads, the WinInet 
engine does not accurately emulate the modem speed and number of 
connections. 


VuGen's proprietary sockets-based replay is a lighter engine that is scalable 
for load testing. It is also accurate when working with threads. The 
limitation of the sockets-based engine is that it does not support SOCKS 
proxy. If you are recording in that type of environment, use the WinInet 
replay engine. 


从上可知,winInet replay 支持集成如IE的所有特征。回放时,底层的winInet函数完成SSL握手过程。同时每种mode均有优劣。 
另外,找到一些说明: 


Any Web script. can be replayed in LoadRunner in two modes: 

1. WinInet Mode - Using the WinInet.dll provided by Internet Explorer. 
2. Socket mode - Using the Sockets Replay engine developed by Mercury.

---------http://bbs.51testing.com/thread-107301-1-1.html------


TAG:

 

评分:0

我来说两句

Open Toolbar