51Testing软件测试论坛

标题: loadrunner录制win32脚本 [打印本页]

作者: xruiqi    时间: 2006-10-31 11:25
标题: loadrunner录制win32脚本
为什么我录制的脚本是这样的,结果我想参数化都找不到参数.这是一个登陆的脚本
vuser_init()
{
lrs_create_socket("socket0", "TCP", "LocalHost=0", "RemoteHost=XRQTEST:1099", LrsLastArg);
lrs_send("socket0", "buf0", LrsLastArg);
lrs_receive("socket0", "buf1", LrsLastArg);
lrs_send("socket0", "buf2", LrsLastArg);
lrs_receive("socket0", "buf3", LrsLastArg);
lrs_create_socket("socket1", "TCP", "LocalHost=0", "RemoteHost=XRQTEST:33039", LrsLastArg);
lrs_send("socket1", "buf4", LrsLastArg);
lrs_receive("socket1", "buf5", LrsLastArg);
lrs_send("socket1", "buf6", LrsLastArg);
lrs_receive("socket1", "buf7", LrsLastArg);
lrs_send("socket0", "buf8", LrsLastArg);
lrs_receive("socket0", "buf9", LrsLastArg);
lrs_send("socket0", "buf10", LrsLastArg);
lrs_send("socket1", "buf11", LrsLastArg);
lrs_receive("socket1", "buf12", LrsLastArg)
......
}
作者: tester007    时间: 2006-10-31 14:19
要到data.ws中找,也就是具体的buffer去参数化!
作者: xruiqi    时间: 2006-10-31 15:33
标题: 了解,谢谢
了解,谢谢
作者: figo007    时间: 2006-11-3 15:34
能说具体点吗?
给个参数化例子




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2