|
刚在执行CS架构的登录测试,录制完后回放,提示10053。选择的协议为:MS SQL Server+socket,但无放回放,请大侠多多帮忙,万分感激,急!!!!
回放脚本:
虚拟用户脚本已启动
正在开始操作 vuser_init。
vuser_init.c(12): lrs_create_socket(socket0, TCP, ...)
vuser_init.c(14): lrs_send(socket0, buf0)
vuser_init.c(16): lrs_receive(socket0, buf1)
vuser_init.c(18): lrs_send(socket0, buf2)
vuser_init.c(20): lrs_receive(socket0, buf3)
vuser_init.c(22): lrs_send(socket0, buf4)
vuser_init.c(24): lrs_receive(socket0, buf5)
vuser_init.c(24): Mismatch (expected 51 bytes, 0 bytes actually received)
vuser_init.c(26): lrs_send(socket0, buf6)
vuser_init.c(28): lrs_receive(socket0, buf7)
vuser_init.c(28): 错误: socket0 - 软件造成连接终止。错误代码: 10053。
从操作调用了中止。
录制脚本为:
vuser_init()
{
lrs_create_socket("socket0", "TCP", "LocalHost=0", "RemoteHost=vphr-96067aac06: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);
lr_think_time(6);
lrs_send("socket0", "buf22", LrsLastArg);
lrs_receive("socket0", "buf23", LrsLastArg);
return 0;
}
请大侠帮忙~~~~ |
|