TA的每日心情 | 慵懒 2017-6-6 13:05 |
---|
签到天数: 15 天 连续签到: 1 天 [LV.4]测试营长
|
本帖最后由 悠叶清滢 于 2013-12-5 13:32 编辑
在loadrunner11版本中,录制一个登陆界面,录制成功。之后进行脚本的回放的时候,运行到一半的时候卡死不再运行,在任务管理器发现有一个mmdrv.exe CPU在50%左右,结束这个进程之后,脚本回放操作也结束了,回放没有完成。网上找到的修改wsrun32.dll文件也没有用,将操作系统语言改为英文也没有用,求各位大大帮忙啊!!!!
脚本如下:
web_url("admin",
"URL=http://www.****.****.cn/admin/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=common/images/theme/default/login_img/login_bk.jpg", ENDITEM,
"Url=common/images/theme/default/login_img/left.jpg", ENDITEM,
"Url=common/images/theme/default/login_img/login_button.jpg", ENDITEM,
"Url=common/images/theme/default/login_img/logout_button.jpg", ENDITEM,
"Url=common/images/theme/default/bg.2.png", ENDITEM,
"Url=common/images/theme/default/bg.3.1.png", ENDITEM,
"Url=common/images/theme/default/bg.3.png", ENDITEM,
"Url=common/images/theme/default/bg.3.2.png", ENDITEM,
"Url=system/settings/common/images/icon.1.0.png", ENDITEM,
"Url=system/application/common/images/icon.1.0.png", ENDITEM,
"Url=system/xml/common/images/icon.1.0.png", ENDITEM,
"Url=system/file/common/images/icon.1.0.png", ENDITEM,
"Url=../public/instruction/common/images/icon.1.0.png", ENDITEM,
LAST);
web_url("manage-interface.jsp",
"URL=http://www.****.****.cn/admin/manage-interface.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=http://www.****.****.cn/admin/",
"Snapshot=t2.inf",
"Mode=HTML",
LAST);
lr_think_time(14);
web_submit_data("manage-interface.jsp_2",
"Action=http://www.****.****.cn/admin/manage-interface.jsp?type=action&atype=login",
"Method=POST",
"RecContentType=text/html",
"Referer=http://www.****.****.cn/admin/",
"Snapshot=t3.inf",
"Mode=HTML",
ITEMDATA,
"Name=username", "Value=****", ENDITEM,
"Name=password", "Value=****", ENDITEM,
"Name=valcode", "Value=C1CC", ENDITEM,
LAST);
到红色部分就卡死了 |
|