51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2412|回复: 1
打印 上一主题 下一主题

[原创] lr脚本回放报错

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2007-9-11 11:32:53 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我用lr8.0录制脚本时,回放报错,貌似是无法解析www.qhai.cn
不知道是什么原因。。。求各位高人解答。。。


Action.c(71): Found resource "http://1.leadzz.com/count/core/"+__cc_sys_url+"images/count.gif" in HTML "http://1.leadzz.com/count/core/default.asp?id=dongmannet&l=zh-cn&t=1&p=http%3A//122.102.2.204/&r=&s=1280_1024&c=32&v=0&y=1&b=6&d=&z=-8"          [MsgId: MMSG-26659]
Action.c(71): Detected non-resource "http://www.qhai.cn/Article/ShowArticle.asp?ArticleID=7928" in "http://1.leadzz.com/count/core/default.asp?id=dongmannet&l=zh-cn&t=1&p=http%3A//122.102.2.204/&r=&s=1280_1024&c=32&v=0&y=1&b=6&d=&z=-8"          [MsgId: MMSG-26574]
Action.c(71): Error -27798: Could not resolve address of host www.qhai.cn          [MsgId: MERR-27798]
Action.c(71): Warning -26631: HTTP Status-Code=400 (Bad Request) for "http://1.leadzz.com/count/core/"+__cc_sys_url+"images/count.gif"          [MsgId: MWAR-26631]
Action.c(71): web_url("default.asp") highest severity level was "ERROR", 387 body bytes, 412 header bytes          [MsgId: MMSG-26388]
Ending action Action.

[ 本帖最后由 kimi23 于 2007-9-11 11:35 编辑 ]
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2007-9-11 11:34:06 | 只看该作者
#include "web_api.h"


Action()
{
        web_add_cookie("cc_7_return_site_dongmannet=6; DOMAIN=122.102.2.204");

        web_add_cookie("AJSTAT_ok_pages=6; DOMAIN=122.102.2.204");

        web_add_cookie("AJSTAT_ok_times=1; DOMAIN=122.102.2.204");

        web_add_cookie("uname=kimi23; DOMAIN=122.102.2.204");

        web_add_cookie("pass=002e81e9035720adb00a707d53f1584c; DOMAIN=122.102.2.204");

        web_add_cookie("cc_7_return_site_dongmannet=7; DOMAIN=122.102.2.204");

        web_add_cookie("AJSTAT_ok_pages=7; DOMAIN=122.102.2.204");

        web_add_cookie("cc_7_visited_site_dongmannet=1; DOMAIN=122.102.2.204");

        web_url("122.102.2.204",
                "URL=http://122.102.2.204/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=/res/styles/newvision/global.css", ENDITEM,
                "Url=/res/styles/newvision/index.css", ENDITEM,
                "Url=/res/styles/newvision/css.css", ENDITEM,
                "Url=/res/images/newvision/menus_bg.gif", ENDITEM,
                "Url=/res/images/newvision//banner.swf", ENDITEM,
                "Url=/res/images/newvision/loginmessage.gif", ENDITEM,
                "Url=/res/images/newvision/bg1.gif", ENDITEM,
                "Url=/uploads/storage_pic/user_avatar/3/2/23.jpg", ENDITEM,
                "Url=/uploads/storage_pic/user_avatar/1/1/311.jpg", ENDITEM,
                "Url=/uploads/storage_pic/user_avatar/1/5/651.jpg", ENDITEM,
                "Url=/uploads/storage_pic/user_avatar/0/7/70.jpg", ENDITEM,
                "Url=/uploads/storage_pic/user_avatar/2.jpg", ENDITEM,
                "Url=/uploads/storage_pic/user_avatar/43.jpg", ENDITEM,
                "Url=/uploads/storage_pic/user_avatar/20.jpg", ENDITEM,
                "Url=/uploads/storage_pic/user_avatar/48.jpg", ENDITEM,
                "Url=/res/images/newvision/index_title_4_1bg.gif", ENDITEM,
                "Url=/uploads/storage_pic/user_avatar/18.jpg", ENDITEM,
                "Url=/res/images/newvision/index_title_1.gif", ENDITEM,
                "Url=/res/images/newvision/ulleftbtn.gif", ENDITEM,
                "Url=/res/images/newvision/ulrightbtn.gif", ENDITEM,
                "Url=/res/images/newvision/index_title_2.gif", ENDITEM,
                "Url=/res/images/newvision/index_title_3_2bg.gif", ENDITEM,
                "Url=/res/images/newvision/loading.gif", ENDITEM,
                "Url=/res/images/newvision/index_title_4.gif", ENDITEM,
                "Url=/res/images/newvision/index_title_5_1bg.gif", ENDITEM,
                "Url=/res/images/newvision/index_bottom_bg.gif", ENDITEM,
                "Url=/uploads/storage_pic/user_avatar/11.jpg", ENDITEM,
                "Url=/res/images/newvision/index_title_3.gif", ENDITEM,
                "Url=/res/images/newvision/index_title_5.gif", ENDITEM,
                "Url=/res/images/newvision/index_title_6.gif", ENDITEM,
                "Url=/res/images/newvision/menus_01.gif", ENDITEM,
                "Url=/res/images/newvision/index_MasterBottom_03_2.gif", ENDITEM,
                "Url=/res/images/newvision/index_MasterBottom_06_2.gif", ENDITEM,
                "Url=/res/images/newvision/index_MasterBottom_07_2.gif", ENDITEM,
                "Url=/res/images/newvision/index_MasterBottom_04_2.gif", ENDITEM,
                "Url=/res/images/newvision/index_MasterBottom_08_2.gif", ENDITEM,
                "Url=/res/images/newvision/index_MasterBottom_09_2.gif", ENDITEM,
                "Url=/res/images/newvision/index_MasterBottom_02_2.gif", ENDITEM,
                "Url=/res/images/newvision/index_MasterBottom_05_2.gif", ENDITEM,
                LAST);
                      
                                web_url("default.asp",
                "URL=http://1.leadzz.com/count/core/default.asp?id=dongmannet&l=zh-cn&t=1&p=http%3A//122.102.2.204/&r=&s=1280_1024&c=32&v=0&y=1&b=7&d=&z=-8",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://122.102.2.204/",
                "Snapshot=t2.inf",
                "Mode=HTML",
                LAST);

                         web_url("s.asp",
                "URL=http://8.db.51.la/s.asp?id=1155375&tpages=7&ttimes=1&tzone=8&tcolor=32&sSize=1280,1024&referrer=&vpage=http%3A//122.102.2.204/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://122.102.2.204/",
                "Mode=HTML",
                LAST);

        return 0;
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-11-18 21:52 , Processed in 0.059731 second(s), 25 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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