51Testing软件测试论坛

标题: 关于域访问的问题 [打印本页]

作者: Graceli    时间: 2007-10-12 16:56
标题: 关于域访问的问题
Action()
{
      web_set_user("xxx\\xxx","xxx","xxx:80");

      web_url("index.htm",

                   "URL=http://xxx/xxx/Pages/index.htm",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=images/c1-1_01.gif", "Referer=http://xxx/Pages/top.aspx", ENDITEM,
                "Url=images/c1-1_07.gif", "Referer=http://xxx/Pages/top.aspx", ENDITEM,
                "Url=images/a-1-3.gif", "Referer=http://xxx/Pages/top.aspx", ENDITEM,
                "Url=images/zhong_08-2.gif", "Referer=http://xxx/Pages/top.aspx", ENDITEM,
                "Url=images/headerbg.gif", "Referer=http://xxx/Pages/Main.aspx", ENDITEM,
                "Url=../WebResource.axd?d=iCnCQWapSrPFOVfSKyy_I99NQTDbVQswvawyrcjM1jA1&t=633221392117894435", "Referer=http://xxx/Pages/tree.aspx", ENDITEM,
                "Url=../WebResource.axd?d=iCnCQWapSrPFOVfSKyy_I4Gxwwt1VfXcmNqOAXmiGIo1&t=633221392117894435", "Referer=http://xxx/Pages/tree.aspx", ENDITEM,
                "Url=../WebResource.axd?d=iCnCQWapSrPFOVfSKyy_I-Ghlpb7ZE7RP8xIYQ3p1Oc1&t=633221392117894435", "Referer=http://xxx/Pages/tree.aspx", ENDITEM,
                "Url=../WebResource.axd?d=iCnCQWapSrPFOVfSKyy_I1oBhbtVccNMPVBcruZq2CY1&t=633221392117894435", "Referer=http://xxx/Pages/tree.aspx", ENDITEM,
                "Url=../WebResource.axd?d=iCnCQWapSrPFOVfSKyy_I0TeA5Vm4ldAniyrrp0fXyE1&t=633221392117894435", "Referer=http://xxx/Pages/tree.aspx", ENDITEM,
                "Url=../WebResource.axd?d=iCnCQWapSrPFOVfSKyy_I7FBDJx3Y7DdAPulipzvlgc1&t=633221392117894435", "Referer=http://xxx/Pages/tree.aspx", ENDITEM,
                LAST);

        web_url("Main.aspx",
                "URL=http://xxx/Pages/Main.aspx",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://xxx/Pages/tree.aspx",
                "Snapshot=t2.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=images/headerbg.gif", ENDITEM,
                LAST);

        return 0;
runr后,执行日志里显示如下信息:
Starting iteration 1.
Starting action Action.
Action.c(6): web_set_user was successful          [MsgId: MMSG-26392]
Action.c(8): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://xxx/xxx/Pages/index.htm"          [MsgId: MERR-26612]
Action.c(8): Warning -26200: At least one of the resources specified by EXTRARES has not been downloaded due to the above error(s)          [MsgId: MWAR-26200]
Action.c(8): web_url("index.htm") highest severity level was "ERROR", 3304 body bytes, 959 header bytes          [MsgId: MMSG-26388]
Ending action Action.
Ending iteration 1.

请问这个问题怎么解决呢
作者: Graceli    时间: 2007-10-16 23:34
没人遇到这种情况吗,自己顶一下
作者: qiguojie    时间: 2007-10-17 08:46
用IE访问正确??
作者: Graceli    时间: 2007-10-26 16:20
IE能访问
作者: QQHao    时间: 2007-10-26 17:28
Action.c(8): Error -26612: HTTP Status-Code=500 (Internal Server Error
这不说了 是服务器的问题
作者: higkoo    时间: 2007-10-29 21:03
Action.c(8): Warning -26200: At least one of the resources specified by EXTRARES has not been downloaded due to the above error(s)          [MsgId: MWAR-26200]


某些请求的附加资源没有下载成功。
你可以把Web请求下的 EXTRARES  至 LAST 之间的东西删掉。

或将录制选项改为:基于URL模式,就可以定位到错误的资源

Action.c(8): web_url("index.htm") highest severity level was "ERROR", 3304 body bytes, 959 header bytes         

web_url("index.htm")  请求失败!应该就是附加资源下载出错所致




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