51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1820|回复: 0
打印 上一主题 下一主题

[求助] Recording log 为什么显示recv failed ,用抓包工具能截取到数据

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2012-8-15 15:01:06 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
新学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”给客户端
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-9 04:54 , Processed in 0.084855 second(s), 26 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表