51Testing软件测试论坛
标题:
为什么loadrunner用sockets测试手机游戏登陆没有用户名和密码
[打印本页]
作者:
xsw913185701
时间:
2012-3-7 18:50
标题:
为什么loadrunner用sockets测试手机游戏登陆没有用户名和密码
为什么loadrunner用sockets测试手机游戏登陆没有用户名和密码 我测的是手机网游 代码如下
vuser_init()
{
lrs_startup(257);
lr_start_transaction("输入后");
lr_think_time(21);
lrs_create_socket("socket0", "TCP", "RemoteHost=192.168.1.180:7605", 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);
lrs_receive("socket0", "buf5", LrsLastArg);
lrs_send("socket0", "buf6", LrsLastArg);
lrs_close_socket("socket0");
lrs_create_socket("socket1", "TCP", "RemoteHost=192.168.1.180:10000", LrsLastArg);
lrs_send("socket1", "buf7", LrsLastArg);
lrs_receive("socket1", "buf8", LrsLastArg);
lrs_send("socket1", "buf9", LrsLastArg);
lrs_receive("socket1", "buf10", LrsLastArg);
lrs_send("socket1", "buf11", LrsLastArg);
lrs_receive("socket1", "buf12", LrsLastArg);
lrs_send("socket1", "buf13", LrsLastArg);
lrs_receive("socket1", "buf14", LrsLastArg);
lrs_send("socket1", "buf15", LrsLastArg);
lrs_receive("socket1", "buf16", LrsLastArg);
lrs_send("socket1", "buf17", LrsLastArg);
lrs_receive("socket1", "buf18", LrsLastArg);
lrs_send("socket1", "buf19", LrsLastArg);
lr_end_transaction("退出前", LR_AUTO);
lrs_send("socket1", "buf20", LrsLastArg);
lrs_close_socket("socket1");
return 0;
}
作者:
xsw913185701
时间:
2012-3-7 18:51
游戏也是sockets 是java开放 跪求 大神
作者:
xsw913185701
时间:
2012-3-7 19:03
没人吗
作者:
xsw913185701
时间:
2012-3-7 20:41
神啊 你在哪 想你呢
作者:
xsw913185701
时间:
2012-3-8 09:15
好吧 没人解答吗
作者:
db_qtp
时间:
2014-1-9 14:09
同问
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2