51Testing软件测试论坛
标题:
lr脚本回放报错
[打印本页]
作者:
kimi23
时间:
2007-9-11 11:32
标题:
lr脚本回放报错
我用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 编辑
]
作者:
kimi23
时间:
2007-9-11 11:34
#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;
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2