51Testing软件测试论坛
标题:
已经修改data.ws,还是提示buffer buf0 doesn't exist. Error code : 9011
[打印本页]
作者:
迷糊
时间:
2010-2-25 13:55
标题:
已经修改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
关注中……
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2