|
脚本录制完是这样的,
Action()
{
lrs_create_socket("socket0", "TCP", "RemoteHost=PITTXIA:8000", 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);
lr_think_time(20);
lrs_receive("socket0", "buf6", LrsLastArg);
lr_think_time(6);
lrs_receive("socket0", "buf7", LrsLastArg);
lr_think_time(3);
lrs_receive("socket0", "buf8", LrsLastArg);
return 0;
} |
|