51Testing软件测试论坛
标题:
超头大的Error10053,大家一起来看看
[打印本页]
作者:
water0661
时间:
2006-8-24 15:25
标题:
超头大的Error10053,大家一起来看看
用winsocket录制测试c/s系统,以下是登陆的脚本
Action()
{
lrs_create_socket("socket0", "TCP", "RemoteHost=jasonxie.fusion-system.local:1433", LrsLastArg);
lrs_send("socket0", "buf0", LrsLastArg);
lrs_receive("socket0", "buf1", LrsLastArg);
lrs_send("socket0", "buf2", LrsLastArg);
lrs_receive("socket0", "buf3", LrsLastArg);
lrs_send("socket0", "buf4", LrsLastArg);
lrs_receive("socket0", "buf5", LrsLastArg);
lrs_create_socket("socket1", "TCP", "RemoteHost=jasonxie.fusion-system.local:1433", LrsLastArg);
lrs_send("socket1", "buf6", LrsLastArg);
lrs_receive("socket1", "buf7", LrsLastArg);
lrs_send("socket0", "buf8", LrsLastArg);
lrs_send("socket1", "buf9", LrsLastArg);
lrs_receive("socket0", "buf10", LrsLastArg);
lrs_receive("socket1", "buf11", LrsLastArg);
lrs_send("socket1", "buf12", LrsLastArg);
lrs_receive("socket1", "buf13", LrsLastArg);
lrs_create_socket("socket2", "TCP", "RemoteHost=jasonxie.fusion-system.local:1433", LrsLastArg);
lrs_send("socket2", "buf14", LrsLastArg);
lrs_receive("socket2", "buf15", LrsLastArg);
lrs_send("socket2", "buf16", LrsLastArg);
lrs_receive("socket2", "buf17", LrsLastArg);
lrs_send("socket2", "buf18", LrsLastArg);
lrs_receive("socket2", "buf19", LrsLastArg);
lrs_send("socket2", "buf20", LrsLastArg);
lrs_receive("socket2", "buf21", LrsLastArg);
lrs_send("socket2", "buf22", LrsLastArg);
lrs_receive("socket2", "buf23", LrsLastArg);
lrs_create_socket("socket3", "TCP", "RemoteHost=gorsterkwo.fusion-system.local:10000", LrsLastArg);
lrs_send("socket2", "buf24", LrsLastArg);
lrs_receive("socket2", "buf25", LrsLastArg);
lrs_send("socket2", "buf26", LrsLastArg);
lrs_receive("socket2", "buf27", LrsLastArg);
lrs_send("socket2", "buf28", LrsLastArg);
lrs_receive("socket2", "buf29", LrsLastArg);
lrs_send("socket2", "buf30", LrsLastArg);
lrs_receive("socket2", "buf31", LrsLastArg);
lrs_send("socket2", "buf32", LrsLastArg);
lrs_receive("socket2", "buf33", LrsLastArg);
lrs_send("socket2", "buf34", LrsLastArg);
lrs_receive("socket2", "buf35", LrsLastArg);
lrs_send("socket2", "buf36", LrsLastArg);
lrs_receive("socket2", "buf37", LrsLastArg);
lrs_send("socket3", "buf38", LrsLastArg);
return 0;
}
/* New recording mechanism */
14:49:09.198 /* Start section (Action) */
14:49:10.558 /* WSAStartup(): process 2624 using flags 0 */
14:49:10.558 /* ReadCommWindowInfo: HttpInterceptMode = 0 */
14:49:10.573 /* socket(): created with handle: 2624:872, address format 2, type 1, protocol 0. */
14:49:10.573 /* connect(): socket 2624:872 tried to connect with family 2, port 1433, and address 0xc0a8123a. Return value: 0 */
14:49:10.573 /* setsockopt(): socket 2624:872, level: 0x6, optname: 0x1, optval: 1 */
14:49:10.589 /* send(): 47 bytes were sent to socket 2624:872 using flags 0 */
(send_0, 47, 872)
"\x12\x01\x00"
"/"
"\x00\x00\x01\x00\x00\x00\x1a\x00\x06\x01\x00"
" "
"\x00\x01\x02\x00"
"!"
"\x00\x01\x03\x00"
"\""
"\x00\x04\x04\x00"
"&"
"\x00\x01\xff"
"\t"
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
"\f"
"\x00"
14:49:10.589 /* Error - WSPrecv: asynchronous receive call */
14:49:14.464 /* recv failed */
录制的时候有错误,回放的时候就出Error10053
Action.c(36): Error : socket0 - Software caused connection abort. Error code : 10053.
请问这个如何解决呀?sdlkfj9
作者:
lindongfeng
时间:
2006-8-24 17:05
一个已建立的连接被你的主机上的软件终止,可能是因为一次数据传输超时或是协议错误
作者:
water0661
时间:
2006-8-29 09:53
那这个要如何解决呢?
作者:
hmglly
时间:
2006-8-29 10:40
还有可能是因为同一个地址发送数据量过大,被主机上的网络安全防护软件怀疑这是网络冲击,被当成病毒拦截,解决方式可以尝试IP地址欺骗
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2