51Testing软件测试论坛

标题: Recording log 为什么显示recv failed ,用抓包工具能截取到数据 [打印本页]

作者: 萨安娜    时间: 2012-8-15 15:01
标题: Recording log 为什么显示recv failed ,用抓包工具能截取到数据
新学loadrunner,有些看不懂Recording log,不知道问题出哪。
我录制的时候抓包工具是能抓到数据的但回放脚本就没有数据回传,且Recording log显示recv failed 。Recording log如下:
/* New recording mechanism */

14:27:52.687 /* Start section (vuser_init) */

14:28:05.046 /* Start section (Action) */

14:28:12.265 /* WSAStartup(): process 1712 using flags 0 */

14:28:12.265 /* ReadCommWindowInfo: HttpInterceptMode = 0 */

14:28:12.265 /* socket(): created with handle: 1712:496, address format 2, type 1, protocol 6. */

14:28:12.265 /* closesocket(): socket 1712:496 closed successfully */

14:28:12.281 /* socket(): created with handle: 1712:664, address format 2, type 1, protocol 0. */

14:28:12.281 /* setsockopt(): socket 1712:664, level: 0xffff, optname: 0x1001, optval: 0 */

14:28:12.281 /* setsockopt(): socket 1712:664, level: 0xffff, optname: 0x1002, optval: 0 */

14:28:12.281 /* bind(): socket 1712:664 bound with family 2, port 0, and address 0x0 */

14:28:12.281 /* setsockopt failed */

14:28:12.281 /* setsockopt(): socket 1712:664, level: 0xffff, optname: 0x7010, optval: 0 */

14:28:12.281 /*  */

14:28:12.281 /* send failed */

14:28:12.281 /*  */

14:28:12.281 /* recv(): 6 bytes were received from socket 1712:664 using flags 0 (1024 were asked for) */

(recv_0, 1024, 664)
        "123456"


14:28:12.281 /*  */

14:28:12.281 /* recv failed */

14:28:23.125 /* lr_think_time(): wait 11 seconds */

14:28:23.125 /* closesocket(): socket 1712:664 closed successfully */

14:28:23.125 /* WSACleanup() was called on process 1712 */

求各位帮忙分析分析,流程很简单,建立一个TCP/IP协议,服务端回“123456”给客户端




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