|
下面是录制的脚本,请问还需要设置什么参数、怎样赋值才可以运行的呢?是#include "lrs.h"vuser_init(){ lrs_startup(257); return 0;}Action(){ lr_think_time(11); lrs_create_socket("socket0", "TCP", "RemoteHost=xxxxx", 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); lr_think_time(52); lrs_send("socket0", "buf5", LrsLastArg); lrs_receive("socket0", "buf6", LrsLastArg); lrs_send("socket0", "buf7", LrsLastArg); lrs_disable_socket("socket0", DISABLE_SEND_RECV); lrs_close_socket("socket0"); return 0;}我刚刚接触LOADRUNER ,请各位高手帮帮忙。谢谢!! |
|