51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1506|回复: 1
打印 上一主题 下一主题

[原创] loadrunner11录制问题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2011-7-26 15:19:13 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我用loadrunner11测试我们公司用flash开发的游戏的性能测试,我只做简单的登录并发,但是,我录制的脚本里面怎么没有记录用户名和密码呢?请大家帮帮忙解决下以下是我录制的脚本,谢谢大家
Action()
{

        web_url("gameplayer",
                "URL=http://59.188.52.41/gameplayer",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=/gameplayer/Loader.swf", "Referer=http://59.188.52.41/gameplayer/", ENDITEM,
                "Url=/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA%20(CN)&CLIENTIP=113.76.80.176&", "Referer=http://59.188.52.41/gameplayer/Loader.swf", ENDITEM,
                LAST);

        web_url("Config.aspx",
                "URL=http://59.188.52.41/gameplayer/Config.aspx",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&",
                "Snapshot=t2.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=http://59.188.52.41:8001/image/photo/110518145719c0e92.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/110518145450a25ef.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/1105181455074621f.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/1105181455452ab25.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/1107011509169445f.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/1107111442579f17e.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/1105181458481344d.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/1105181725577da73.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/1105181451027ef94.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/1105181458349616c.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/11042815265392282.JPG", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/1105181451367750a.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/Image/male.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/1105181458003f41f.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/11051814543585633.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/110428152623aac60.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/1105181451567da07.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                "Url=http://59.188.52.41:8001/image/photo/11051814541613139.jpg", "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTADR=CHINA (CN)&CLIENTIP=113.76.80.176&", ENDITEM,
                LAST);

        lr_think_time(4);

        web_url("gameplayer_2",
                "URL=http://59.188.52.41/gameplayer/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t3.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=PlayerTerminal_11070601.swf?CLIENTIP=113.76.80.176&CLIENTADR=CHINA%20(CN)&", "Referer=http://59.188.52.41/gameplayer/Loader.swf", ENDITEM,
                LAST);

        web_url("Config.aspx_2",
                "URL=http://59.188.52.41/gameplayer/Config.aspx",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://59.188.52.41/gameplayer/PlayerTerminal_11070601.swf?CLIENTIP=113.76.80.176&CLIENTADR=CHINA (CN)&",
                "Snapshot=t4.inf",
                "Mode=HTML",
                LAST);

        return 0;
}
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2011-7-26 16:48:14 | 只看该作者
选择的什么协议? http? 还是flex协议,在录制flash应该选择flex协议
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-16 12:58 , Processed in 0.069332 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表