wwb 发表于 2008-6-22 22:29:37

Action.c(19): Warning -26627: HTTP Status-Code=404 (/swjayww/commons/404.jsp)

录制的脚本如下:
#include "web_api.h"


Action()
{
        web_url("swjayww",
                "URL=http://210.73.84.34/swjayww/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=images/login_bg04.jpg", ENDITEM,
                LAST);

        lr_think_time( 6 );

        web_submit_form("login.do",
                "Snapshot=t2.inf",
                ITEMDATA,
                "Name=username", "Value=112", ENDITEM,
                "Name=password", "Value=111111", ENDITEM,
                "Name=vali", "Value=", ENDITEM,
                "Name=image2.x", "Value=30", ENDITEM,
                "Name=image2.y", "Value=18", ENDITEM,
                EXTRARES,
                "Url=../images/top_bg1.gif", "Referer=http://210.73.84.34/swjayww/web/login.do?method=Login", ENDITEM,
                "Url=../images/leftbg01-1.jpg", "Referer=http://210.73.84.34/swjayww/web/login.do?method=Login", ENDITEM,
                "Url=../images/leftbg01.jpg", "Referer=http://210.73.84.34/swjayww/web/login.do?method=Login", ENDITEM,
                "Url=../images/content-title03.gif", "Referer=http://210.73.84.34/swjayww/web/rb/rbmain.jsp", ENDITEM,
                "Url=../include/images/ico.gif", "Referer=http://210.73.84.34/swjayww/web/ribao.do?method=findRibao", ENDITEM,
                "Url=../include/images/f1.gif", "Referer=http://210.73.84.34/swjayww/web/ribao.do?method=findRibao", ENDITEM,
                LAST);

        return 0;
}
但是回放时,出现如下提示信息:
Action.c(19): Warning -26627: HTTP Status-Code=404 (/swjayww/commons/404.jsp) for "http://210.73.84.34/swjayww/dwr/interface/dwrUser.js"       
Action.c(19): Warning -26627: HTTP Status-Code=404 (/swjayww/commons/404.jsp) for "http://210.73.84.34/swjayww/dwr/engine.js"       
Action.c(19): Warning -26627: HTTP Status-Code=404 (/swjayww/commons/404.jsp) for "http://210.73.84.34/swjayww/dwr/util.js"       
不是是何原因,跪求答案!!!!!!!!!!!!!!

aks5201314 发表于 2008-6-23 09:52:24

HTTP404错误的意思是你请求的文件没有找到,楼主好好检查一下dwrUser.js在应用中的路径是否正确

hxf 发表于 2008-6-25 09:29:52

又学到了一招判断错误的方法.
页: [1]
查看完整版本: Action.c(19): Warning -26627: HTTP Status-Code=404 (/swjayww/commons/404.jsp)