mayxiao00 发表于 2010-7-31 13:37:36

sockect协议录制的脚本回放问题!

录制的sockect协议的脚本 没保存的时候可以正常回放,但是保存后在回放就直接结束,没有任何报错。有谁知道这是为什么啊?
Action()
{
    lrs_create_socket("socket0", "TCP", "RemoteHost=192.168.0.208:1333",LrsLastArg);
    lrs_receive("socket0", "buf0", LrsLastArg);
    lrs_send("socket0", "buf1", LrsLastArg);
    lrs_receive("socket0", "buf2", LrsLastArg);
    lr_think_time(11);
    lrs_send("socket0", "buf3", LrsLastArg);
    lrs_receive("socket0", "buf4", LrsLastArg);
    lrs_close_socket("socket0");
    return 0;
}
;WSRData 2 1
recvbuf0 91
"<cross-domain-policy><allow-access-from domain=\"*\" to-ports=\"1333\"/></"
"cross-domain-policy>"
"\x00"
sendbuf1 119
"<root from='sam5' to='sam5' type='login' time='2010-7-31 11:20:03' call='c"
"f51ace0-e60d-43a7-b69d-1257ace22bd5'say='' />"
recvbuf2 124
"<root from='sam5' to='sam5' type='loadUser' time='2010-7-31 11:20:03' call"
"='cf51ace0-e60d-43a7-b69d-1257ace22bd5' say='' />"
"\x00"
sendbuf3 126
"<root from='sam5' to='sam5' type='text' time='2010-7-31 11:20:14' call='8c"
"1c6f93-280b-4ce9-a16b-bd787089362e' say='hello.' /> "
recvbuf4 126
"<root from='sam5' to='sam5' type='text' time='2010-7-31 11:20:14' call='8c"
"1c6f93-280b-4ce9-a16b-bd787089362e' say='hello.' />"
"\x00"

-1

msnshow 发表于 2010-8-1 11:21:20

应该是某些内容需要关联
页: [1]
查看完整版本: sockect协议录制的脚本回放问题!