51Testing软件测试论坛
标题:
lr脚本,回放失败,请假高手
[打印本页]
作者:
li_longcai
时间:
2009-6-12 15:20
标题:
lr脚本,回放失败,请假高手
web_submit_data("j_acegi_security_check",
"Action=http://10.100.1.11:8086/mipgz/j_acegi_security_check",
"Method=POST",
"TargetFrame=_self",
"RecContentType=text/html",
"Referer=http://10.100.1.11:8086/mipgz/login.action",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=website", "Value=gzgdj", ENDITEM,
"Name=formvalue(website)", "Value=jhcomn", ENDITEM,
"Name=formvalue(curjgid)", "Value=1", ENDITEM,
"Name=formvalue(curjgname)", "Value=广州供电局", ENDITEM,
"Name=gotopage", "Value=gzgd", ENDITEM,
"Name=j_username", "Value=test", ENDITEM,
"Name=j_password", "Value=123456", ENDITEM,
EXTRARES,
"Url=portals/gzgdj/framework/skins/blueSkin/blueTheme/images/bg_mainmenu_o.gif", "Referer=http://10.100.1.11:8086/mipgz/main.action", ENDITEM,
"Url=portals/gzgdj/framework/skins/blueSkin/blueTheme/images/bg_mainmenu_moremenu.gif", "Referer=http://10.100.1.11:8086/mipgz/main.action", ENDITEM,
"Url=portals/gzgdj/framework/skins/blueSkin/blue_NoTitleTheme/images/bg_title_txt.gif", "Referer=http://10.100.1.11:8086/mipgz/main.action", ENDITEM,
"Url=portals/gzgdj/framework/skins/blueSkin/blue_NoTitleTheme/images/bg_title.gif", "Referer=http://10.100.1.11:8086/mipgz/main.action", ENDITEM,
"Url=common/buffalo/loading.gif", "Referer=http://10.100.1.11:8086/mipgz/main.action", ENDITEM,
LAST);
以上脚本,回放时报错:
Action.c(42): Warning -26627: HTTP Status-Code=404 (/mipgz/portals/gzgdj/css/framework/skins/blueSkin/css/book.css) for "http://10.100.1.11:8086/mipgz/portals/gzgdj/css/framework/skins/blueSkin/css/book.css" [MsgId: MWAR-26627]
Action.c(42): Error -27798: Could not resolve address of host eip.gz.gpgc.local [MsgId: MERR-27798]
Action.c(42): Error -27798: Could not resolve address of host eip.gz.gpgc.local [MsgId: MERR-27798]
Action.c(42): web_submit_data("j_acegi_security_check") highest severity level was "ERROR", 365531 body bytes, 16319 header bytes, 192 chunking overhead bytes [MsgId: MMSG-26387]
系统架构:jboss+struts+hibernate+spring+oracle+Ajax
出错的地方是登陆系统时验证用户名和密码时报错,登陆系统时需要 用户名+密码+加密狗
会不会是因为加密狗的原因
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2