51Testing软件测试论坛

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

作者: 地壳    时间: 2013-8-1 14:36
标题: 回放报错
这是简单的进行百度搜索脚本录制,部分脚本如下,会放到这部分就报错!求指教
web_url("c.gif",
                "URL=http://c.baidu.com/c.gif?t=0&q=%D0%C2%C0%CB%CE%A2%B2%A9&p=0&pn=1",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://www.baidu.com/s?wd=%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A&rsv_bp=0&ch=&tn=baidu&bar=&rsv_spt=3&ie=utf-8&rsv_sug3=2&rsv_sug=0&rsv_sug1=2&rsv_sug4=1688&inputT=8922",
                "Mode=HTML",
                EXTRARES,
                "Url=http://sclick.baidu.com/w.gif?q=%D0%C2%C0%CB%CE%A2%B2%A9&rsv_xpath=tbody-tr-td-h3-a(title)&title=%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A%E7%99%BB%E5%BD%95&url=http%3A//www.baidu.com/link%3Furl%3DQpBtmmksRM4BnDjg6MgrzVqZ4GHeMKiTLv7Opl-WyxSarm5DmvmMoGHjOlg7r8qJ&rsv_height=99&rsv_tpl=se_st_default&p1=10&F=778317EA&F1=9D73F1E4&F2=4CA6DE6B&F3=54E5343F&T=1375337890&y=FFB57FF5&rsv_sug9=鏂版氮寰崥%20鐧诲綍&p5=10&fm=as&rsv_sid=3014_2947_2777_1429_2975_2981_2930_2249_2543_2701&cid=0&qid=975e2a3900334f1b&"
                "t=1375337943921&path=http://www.baidu.com/s?wd=%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A&rsv_bp=0&ch=&tn=baidu&bar=&rsv_spt=3&ie=utf-8&rsv_sug3=2&rsv_sug=0&rsv_sug1=2&rsv_sug4=1688&inputT=8922", "Referer=http://www.baidu.com/s?wd=%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A&rsv_bp=0&ch=&tn=baidu&bar=&rsv_spt=3&ie=utf-8&rsv_sug3=2&rsv_sug=0&rsv_sug1=2&rsv_sug4=1688&inputT=8922", ENDITEM,
                "Url=http://sclick.baidu.com/w.gif?q=%D0%C2%C0%CB%CE%A2%B2%A9&rsv_xpath=tbody-tr-td-h3-a(title)&title=%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A%E7%99%BB%E5%BD%95&url=http%3A//www.baidu.com/link%3Furl%3DQpBtmmksRM4BnDjg6MgrzVqZ4GHeMKiTLv7Opl-WyxSarm5DmvmMoGHjOlg7r8qJ&rsv_height=99&rsv_tpl=se_st_default&p1=10&F=778317EA&F1=9D73F1E4&F2=4CA6DE6B&F3=54E5343F&T=1375337890&y=FFB57FF5&rsv_sug9=鏂版氮寰崥%20鐧诲綍&p5=10&fm=as&rsv_sid=3014_2947_2777_1429_2975_2981_2930_2249_2543_2701&cid=0&qid=975e2a3900334f1b&"
                "t=1375337951796&path=http://www.baidu.com/s?wd=%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A&rsv_bp=0&ch=&tn=baidu&bar=&rsv_spt=3&ie=utf-8&rsv_sug3=2&rsv_sug=0&rsv_sug1=2&rsv_sug4=1688&inputT=8922", "Referer=http://www.baidu.com/s?wd=%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A&rsv_bp=0&ch=&tn=baidu&bar=&rsv_spt=3&ie=utf-8&rsv_sug3=2&rsv_sug=0&rsv_sug1=2&rsv_sug4=1688&inputT=8922", ENDITEM,
                LAST);


回放报错:
Action.c(81): Error -26563: Non-empty response body is invalid with HTTP Status Code 204 (No Content) for "http://c.baidu.com/c.gif?t=0&q=%D0%C2%C0%CB%CE%A2%B2%A9&p=0&pn=1"          [MsgId: MERR-26563]
Action.c(81): 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(81): web_url("c.gif") highest severity level was "ERROR", 0 body bytes, 112 header bytes          [MsgId: MMSG-26388]
作者: 地壳    时间: 2013-8-9 12:57
要沉了!
作者: 地壳    时间: 2013-8-9 12:58
一个简单地百度搜索脚本回放,报错!




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