迷糊 发表于 2010-2-25 13:55:40

已经修改data.ws,还是提示buffer buf0 doesn't exist. Error code : 9011

在data.ws,中已经修改了buf0的值如下。
;WSRData 2 1
send buf0 20
"hello"
recv buf1 128
-1
loadrunner脚本如下:
Action()
{
       lrs_startup(0x101);
       

lrs_create_socket("socket0", "TCP", "LocalHost=8081","RemoteHost=192.168.126.145:8082", LrsLastArg);



lrs_send("socket0", "buf0","TargetSocket=192.168.126.145:8082", LrsLastArg);

lrs_receive("socket0", "buf1", LrsLastArg);

lrs_send("socket0", "buf4", LrsLastArg);

lrs_receive("socket0", "buf5", LrsLastArg);
    return 0;
}
回放的时候还是提示buf0不存在,请各位大侠帮忙解答。多谢多谢

yxd2006 发表于 2012-6-10 16:54:12

关注中……
页: [1]
查看完整版本: 已经修改data.ws,还是提示buffer buf0 doesn't exist. Error code : 9011