51Testing软件测试论坛

标题: 救急_在线等回复_LR的WinINet replay instead of sockets [打印本页]

作者: ivy112    时间: 2015-9-12 13:53
标题: 救急_在线等回复_LR的WinINet replay instead of sockets
有木有童鞋知道关于LR的WinINet replay instead of sockets 这个功能使用的场景。

我默认是不勾选的,不勾选这项会出现错误:

Error -26630: HTTP Status-Code=401 (Unauthorized) for "[url=http://IP:[PORT]/]http://IP:[PORT]/路径/路径[/url]"的错误;

我勾选上后,在controller里跑500用户的时候会出现
Error -27492: "HttpSendRequest" failed, Windows error code=12031的错误


查看官方文档上面的说明为:

Use WinInet replay instead of Sockets (Windows only). Instructs VuGen to use the WinInet replay engine instead of the standard Sockets replay. 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 and does not support Linux. 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.
Default value: disabled (socket-based replay engine).



作者: ivy112    时间: 2015-9-12 15:14
Error -27492: "HttpSendRequest" failed, Windows error code=12150 and retry limit (0) exceeded for URL="http://....这个是把那个 WinINet replay instead of sockets勾选上




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2