51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 8511|回复: 11
打印 上一主题 下一主题

[求助] LR回放报错26628,怎么解决啊。。。。

[复制链接]
  • TA的每日心情
    擦汗
    2016-2-19 10:09
  • 签到天数: 81 天

    连续签到: 1 天

    [LV.6]测试旅长

    跳转到指定楼层
    1#
    发表于 2015-6-11 10:30:04 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
    报错的内容是这样的:
    Action.c(74): Error -26628: HTTP Status-Code=403 (Forbidden) for "http://www.yunbstar.com.cn:90/ServiceCustomer.svc/GetSelfCustomer"          [MsgId: MERR-26628]
    Action.c(74): 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(74): web_custom_request("GetSelfCustomer") highest severity level was "ERROR", 72 body bytes, 180 header bytes          [MsgId: MMSG-26388]
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

  • TA的每日心情
    擦汗
    2016-2-19 10:09
  • 签到天数: 81 天

    连续签到: 1 天

    [LV.6]测试旅长

    2#
     楼主| 发表于 2015-6-15 13:28:04 | 显示全部楼层
    zhysync 发表于 2015-6-12 10:52
    你可以把完整的脚本贴出来,帮你看看!



        web_custom_request("Login",
            "URL=http://www.yunbstar.com.cn:90/ServiceCustomer.svc/Login",
            "Method=POST",
            "Resource=0",
            "RecContentType=application/json",
            "Referer=http://www.yunbstar.com.cn:90/",
            "Snapshot=t2.inf",
            "Mode=HTML",
            "EncType=application/json;charset=UTF-8",
            "Body={\"LoginName\":\"bluesky2006_test\",\"Password\":\"46f94c8de14fb36680850768ff1b7f2a\",\"LoginType\":1,\"AgentVersion\":\"IE 9.0\"}",
            LAST);

        web_add_cookie("bsrChannelShowType=1; DOMAIN=www.yunbstar.com.cn");

        web_submit_data("LoginHandler.ashx",
            "Action=http://www.yunbstar.com.cn:90/PageHandler/LoginHandler.ashx",
            "Method=POST",
            "RecContentType=text/html",
            "Referer=http://www.yunbstar.com.cn:90/",
            "Snapshot=t3.inf",
            "Mode=HTML",
            ITEMDATA,
            "Name=action", "Value=login", ENDITEM,
            "Name=id", "Value=2", ENDITEM,
            "Name=current", "Value=Bluesky2006_test", ENDITEM,
            "Name=token", "Value=customer_F91C9D830CC31271B90ADAA023DCE4530F42F149D125EF70357814689ECB620A", ENDITEM,
            "Name=signInType", "Value=2", ENDITEM,
            LAST);

        web_url("Index.aspx",
            "URL=http://www.yunbstar.com.cn:90/Pages/Index.aspx?token=customer_F91C9D830CC31271B90ADAA023DCE4530F42F149D125EF70357814689ECB620A",
            "Resource=0",
            "RecContentType=text/html",
            "Referer=http://www.yunbstar.com.cn:90/",
            "Snapshot=t4.inf",
            "Mode=HTML",
            EXTRARES,
            "Url=../Images/icons/image_Banner.png", "Referer=http://www.yunbstar.com.cn:90/Pages/Index.aspx?token=customer_F91C9D830CC31271B90ADAA023DCE4530F42F149D125EF70357814689ECB620A", ENDITEM,
            LAST);

        web_custom_request("GetSelfCustomer",
            "URL=http://www.yunbstar.com.cn:90/ServiceCustomer.svc/GetSelfCustomer",
            "Method=POST",
            "Resource=0",
            "RecContentType=application/json",
            "Referer=http://www.yunbstar.com.cn:90/Pages/Index.aspx?token=customer_F91C9D830CC31271B90ADAA023DCE4530F42F149D125EF70357814689ECB620A",
            "Snapshot=t5.inf",
            "Mode=HTML",
            "EncType=application/json;charset=UTF-8",
            EXTRARES,
            "Url=../PageHandler/LoginHandler.ashx?action=isLogin", "Referer=http://www.yunbstar.com.cn:90/Pages/Index.aspx?token=customer_F91C9D830CC31271B90ADAA023DCE4530F42F149D125EF70357814689ECB620A", ENDITEM,
            LAST);

        web_custom_request("MySpace.aspx",
            "URL=http://www.yunbstar.com.cn:90/Pages/MySpace.aspx?timestamp=1434345717308",
            "Method=POST",
            "Resource=0",
            "RecContentType=text/html",
            "Referer=http://www.yunbstar.com.cn:90/Pages/Index.aspx?token=customer_F91C9D830CC31271B90ADAA023DCE4530F42F149D125EF70357814689ECB620A",
            "Snapshot=t6.inf",
            "Mode=HTML",
            "EncType=charset=UTF-8",
            EXTRARES,
            "Url=../JqueryPlugins/zTree_v3.5/js/jquery.ztree.all-3.5.js?_=1434345713451", "Referer=http://www.yunbstar.com.cn:90/Pages/Index.aspx?token=customer_F91C9D830CC31271B90ADAA023DCE4530F42F149D125EF70357814689ECB620A", ENDITEM,
            "Url=../JqueryPlugins/popModal/popModal.js?_=1434345713452", "Referer=http://www.yunbstar.com.cn:90/Pages/Index.aspx?token=customer_F91C9D830CC31271B90ADAA023DCE4530F42F149D125EF70357814689ECB620A", ENDITEM,
            LAST);

        web_custom_request("GetResourceGroup",
            "URL=http://www.yunbstar.com.cn:90/ResourceGroup.svc/GetResourceGroup",
            "Method=POST",
            "Resource=0",
            "RecContentType=application/json",
            "Referer=http://www.yunbstar.com.cn:90/Pages/Index.aspx?token=customer_F91C9D830CC31271B90ADAA023DCE4530F42F149D125EF70357814689ECB620A",
            "Snapshot=t7.inf",
            "Mode=HTML",
            "EncType=application/json;charset=UTF-8",
            EXTRARES,
            "Url=../Images/icons/icon_ListMode_Selected.png", "Referer=http://www.yunbstar.com.cn:90/Pages/Index.aspx?token=customer_F91C9D830CC31271B90ADAA023DCE4530F42F149D125EF70357814689ECB620A", ENDITEM,
            LAST);

        web_custom_request("SearchChannelByPage",
            "URL=http://www.yunbstar.com.cn:90/Channel.svc/SearchChannelByPage",
            "Method=POST",
            "Resource=0",
            "RecContentType=application/json",
            "Referer=http://www.yunbstar.com.cn:90/Pages/Index.aspx?token=customer_F91C9D830CC31271B90ADAA023DCE4530F42F149D125EF70357814689ECB620A",
            "Snapshot=t8.inf",
            "Mode=HTML",
            "EncType=application/json;charset=UTF-8",
            "Body={\"RequestCount\":999,\"StartCount\":1,\"KeyWord\":\"\",\"IsGroup\":0,\"ResouceGroupId\":0}",
            EXTRARES,
            "Url=../Images/icons/icon_Edit_Normal.png", "Referer=http://www.yunbstar.com.cn:90/Pages/Index.aspx?token=customer_F91C9D830CC31271B90ADAA023DCE4530F42F149D125EF70357814689ECB620A", ENDITEM,
            "Url=../Images/icons/icon_Snipzoom_Normal.png", "Referer=http://www.yunbstar.com.cn:90/Pages/Index.aspx?token=customer_F91C9D830CC31271B90ADAA023DCE4530F42F149D125EF70357814689ECB620A", ENDITEM,
            "Url=../Images/icons/icon_Play36x36_Normal.png", "Referer=http://www.yunbstar.com.cn:90/Pages/Index.aspx?token=customer_F91C9D830CC31271B90ADAA023DCE4530F42F149D125EF70357814689ECB620A", ENDITEM,
            "Url=../Images/icons/Line_VideoSplit.png", "Referer=http://www.yunbstar.com.cn:90/Pages/Index.aspx?token=customer_F91C9D830CC31271B90ADAA023DCE4530F42F149D125EF70357814689ECB620A", ENDITEM,
            LAST);

       
    问了下开发的,说是要用post登陆,post怎么写脚本啊。。。。请大神指导
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-6-4 13:50 , Processed in 0.064802 second(s), 22 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表