|
我测的程序是用D开发的,是三层结构的C/S程序,数据库用的是SQL,我选择的协议是winsock和SQL,单录制的脚本也是这样的,不能回放。
Action()
{
lrs_create_socket("socket0", "TCP", "LocalHost=0", "RemoteHost=61.172.196.159:211", 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);
lr_think_time(7);
请高手帮忙看一下,指点一下,不胜感激! |
|