|
9#
楼主 |
发表于 2007-5-15 15:46:26
|
只看该作者
在录制的脚本里找不到输入数据的接口,怎么改随机啊?
我看脚本里都是些网络协议
这个是action的脚本
/*********************************************************************
* Created by Mercury Interactive Windows Sockets Recorder
*
* Created on: Tue May 15 14:42:52
*********************************************************************/
#include "lrs.h"
Action()
{
lrs_create_socket("socket0", "TCP", "LocalHost=0", "RemoteHost=sin-proxy.apac.fedex.com:3128", LrsLastArg);
lrs_send("socket0", "buf0", LrsLastArg);
lrs_receive("socket0", "buf1", LrsLastArg);
lrs_send("socket0", "buf2", LrsLastArg);
lrs_receive("socket0", "buf3", LrsLastArg);
lrs_close_socket("socket0");
lr_think_time(18);
lrs_create_socket("socket1", "TCP", "LocalHost=0", "RemoteHost=sin-proxy.apac.fedex.com:3128", LrsLastArg);
lrs_send("socket1", "buf4", LrsLastArg);
lrs_receive("socket1", "buf5", LrsLastArg);
lrs_close_socket("socket1");
lr_think_time(71);
lrs_create_socket("socket2", "TCP", "LocalHost=0", "RemoteHost=sin-proxy.apac.fedex.com:3128", LrsLastArg);
lrs_send("socket2", "buf6", LrsLastArg);
lrs_receive("socket2", "buf7", LrsLastArg);
lrs_close_socket("socket2");
return 0;
}
大家再帮我看看吧怎么改啊
其他地方我没有找到buf0的参数,而且lrs.h这个文件是个05年7月7号生成的,肯定不是
所以现在还是很迷茫 |
|