51Testing软件测试论坛

标题: 脚本回放报错 [打印本页]

作者: li_longcai    时间: 2009-6-9 16:36
标题: 脚本回放报错
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]

请假高手帮忙?
作者: kuangquanshui    时间: 2009-6-9 17:11
404-未找到。
404.0-(无)–没有找到文件或目录。
404.1-无法在所请求的端口上访问Web站点。
404.2-Web服务扩展锁定策略阻止本请求。
404.3-MIME映射策略阻止本请求。
感觉你应该是404.1的错误
作者: li_longcai    时间: 2009-6-9 17:41
标题: 自我回复
能不能说具体一点,特别是解决方法
作者: femir    时间: 2011-12-31 19:15
Warning -26627: HTTP Status-Code=404 (/common.css) for "http://192.168.1.116:8081/common.css"          [MsgId: MWAR-26627]
我也有这个错误,是这个文件目录没放正确,你把它放到虚拟目录下可以了,我是这样解决的




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