51Testing软件测试论坛

标题: 错误: socket0 - 软件造成连接终止。错误代码: 10053 [打印本页]

作者: zhang_li_0723    时间: 2014-12-23 15:23
标题: 错误: socket0 - 软件造成连接终止。错误代码: 10053
Action()
{

        lrs_create_socket("socket0", "TCP", "LocalHost=0", "RemoteHost=*.*.*.*: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_send("socket0", "buf6", LrsLastArg);

        lrs_receive("socket0", "buf7", LrsLastArg);

        lrs_send("socket0", "buf8", LrsLastArg);

        lrs_receive("socket0", "buf9", LrsLastArg);

        lrs_send("socket0", "buf10", LrsLastArg);

        lrs_receive("socket0", "buf11", LrsLastArg);

        lrs_send("socket0", "buf12", LrsLastArg);

        lrs_receive("socket0", "buf13", LrsLastArg);

        lrs_send("socket0", "buf14", LrsLastArg);

        lrs_receive("socket0", "buf15", LrsLastArg);

        lrs_send("socket0", "buf16", LrsLastArg);

        lrs_receive("socket0", "buf17", LrsLastArg);

        lrs_send("socket0", "buf18", LrsLastArg);

        lrs_receive("socket0", "buf19", LrsLastArg);

        lrs_send("socket0", "buf20", LrsLastArg);

        lrs_receive("socket0", "buf21", LrsLastArg);

        lrs_send("socket0", "buf22", LrsLastArg);

        lrs_receive("socket0", "buf23", LrsLastArg);

        lrs_send("socket0", "buf24", LrsLastArg);

        lrs_receive("socket0", "buf25", LrsLastArg);

        lrs_send("socket0", "buf26", LrsLastArg);

        lrs_receive("socket0", "buf27", LrsLastArg);

        lrs_send("socket0", "buf28", LrsLastArg);

        lrs_receive("socket0", "buf29", LrsLastArg);

        lrs_send("socket0", "buf30", LrsLastArg);

        lrs_receive("socket0", "buf31", LrsLastArg);

        lrs_send("socket0", "buf32", LrsLastArg);

        lrs_receive("socket0", "buf33", LrsLastArg);

        lrs_send("socket0", "buf34", LrsLastArg);

        lrs_receive("socket0", "buf35", LrsLastArg);

        lrs_send("socket0", "buf36", LrsLastArg);

        lrs_receive("socket0", "buf37", LrsLastArg);

        lrs_send("socket0", "buf38", LrsLastArg);

        lrs_receive("socket0", "buf39", LrsLastArg);

        lrs_send("socket0", "buf40", LrsLastArg);

        lrs_receive("socket0", "buf41", LrsLastArg);

        lrs_send("socket0", "buf42", LrsLastArg);

        lrs_receive("socket0", "buf43", LrsLastArg);

        lrs_send("socket0", "buf44", LrsLastArg);

        lrs_receive("socket0", "buf45", LrsLastArg);

        lrs_send("socket0", "buf46", LrsLastArg);

        lrs_receive("socket0", "buf47", LrsLastArg);

        lrs_send("socket0", "buf48", LrsLastArg);

        lrs_receive("socket0", "buf49", LrsLastArg);

        lrs_send("socket0", "buf50", LrsLastArg);

        lrs_receive("socket0", "buf51", LrsLastArg);

        lrs_send("socket0", "buf52", LrsLastArg);

        lrs_receive("socket0", "buf53", LrsLastArg);

        lrs_send("socket0", "buf54", LrsLastArg);

        lrs_receive("socket0", "buf55", LrsLastArg);

        lrs_send("socket0", "buf56", LrsLastArg);

        lrs_receive("socket0", "buf57", LrsLastArg);

        lrs_send("socket0", "buf58", LrsLastArg);

        lrs_receive("socket0", "buf59", LrsLastArg);

        lrs_send("socket0", "buf60", LrsLastArg);

        lrs_receive("socket0", "buf61", LrsLastArg);

        lrs_send("socket0", "buf62", LrsLastArg);

        lrs_receive("socket0", "buf63", LrsLastArg);

        lrs_send("socket0", "buf64", LrsLastArg);

        lrs_receive("socket0", "buf65", LrsLastArg);

        lrs_send("socket0", "buf66", LrsLastArg);

        lrs_receive("socket0", "buf67", LrsLastArg);

        lrs_send("socket0", "buf68", LrsLastArg);

        lrs_receive("socket0", "buf69", LrsLastArg);

        lrs_send("socket0", "buf70", LrsLastArg);

        lrs_receive("socket0", "buf71", LrsLastArg);

        lrs_send("socket0", "buf72", LrsLastArg);

        lrs_receive("socket0", "buf73", LrsLastArg);

        lrs_send("socket0", "buf74", LrsLastArg);

        lrs_receive("socket0", "buf75", LrsLastArg);

        lrs_send("socket0", "buf76", LrsLastArg);

        lrs_receive("socket0", "buf77", LrsLastArg);

        lrs_send("socket0", "buf78", LrsLastArg);

        lrs_receive("socket0", "buf79", LrsLastArg);

        lrs_send("socket0", "buf80", LrsLastArg);

        lrs_receive("socket0", "buf81", LrsLastArg);

        lrs_send("socket0", "buf82", LrsLastArg);

        lrs_receive("socket0", "buf83", LrsLastArg);

        lrs_send("socket0", "buf84", LrsLastArg);

        lrs_receive("socket0", "buf85", LrsLastArg);

        lrs_send("socket0", "buf86", LrsLastArg);

        lrs_receive("socket0", "buf87", LrsLastArg);

        lrs_send("socket0", "buf88", LrsLastArg);

        lrs_receive("socket0", "buf89", LrsLastArg);

        lrs_send("socket0", "buf90", LrsLastArg);

        lrs_receive("socket0", "buf91", LrsLastArg);

        lrs_send("socket0", "buf92", LrsLastArg);

        lrs_receive("socket0", "buf93", LrsLastArg);

        lrs_send("socket0", "buf94", LrsLastArg);

        lrs_receive("socket0", "buf95", LrsLastArg);

        lrs_send("socket0", "buf96", LrsLastArg);

        lrs_receive("socket0", "buf97", LrsLastArg);

        lrs_send("socket0", "buf98", LrsLastArg);

        lrs_receive("socket0", "buf99", LrsLastArg);

        return 0;

}




虚拟用户脚本已从 : 2014-12-23 15:18:57 启动
正在开始操作 vuser_init。
正在结束操作 vuser_init。
正在运行 Vuser...
正在开始迭代 1。
正在开始操作 Action。
Action.c(4): lrs_create_socket(socket0, TCP, ...)
Action.c(6): lrs_send(socket0, buf0)
Action.c(8): lrs_receive(socket0, buf1)
Action.c(10): lrs_send(socket0, buf2)
Action.c(12): lrs_receive(socket0, buf3)
Action.c(14): lrs_send(socket0, buf4)
Action.c(16): lrs_receive(socket0, buf5)
Action.c(16): Mismatch in buffer's length (expected 59 bytes, 0 bytes actually received, difference in 59 bytes)
Action.c(18): lrs_send(socket0, buf6)
Action.c(20): lrs_receive(socket0, buf7)
Action.c(20): 错误: socket0 - 软件造成连接终止。错误代码: 10053。
从操作调用了中止。
正在结束 Vuser...
正在开始操作 vuser_end。
正在结束操作 vuser_end。
Vuser 已终止。

回放时遇到上述问题向高手请教




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