51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1914|回复: 2
打印 上一主题 下一主题

[原创] 用LR录制程序时产生的错误,帮忙看下!急!~!

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2007-9-13 18:19:37 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
用LR录制程序时产生的错误,大致情况是这样:

     我用LR录制的网页上有51Yes的统计脚本,录制完后,回放产生下面的错误?改了很多次都不成功,
请高手、斑竹、路过的帮忙看看,帮我解决这个问题,谢谢拉!
错误截图:
  

产生错误的代码:
   
             web_url("click.aspx",
                "URL=http://count30.51yes.com/click.aspx?id=304678793&logo=1",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://server-d:6104/",
                "Snapshot=t4.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=http://server-d:6104/UserPhoto/Panel/b3c4863a-4c26-4a1c-b6bf-aac80a3b9624.jpg", "Referer=http://server-d:6104/images/focus.swf", ENDITEM,
                "Url=http://server-d:6104/UserPhoto/Panel/d53e54a0-dd97-4b3a-9d36-34aa4ff5ad84.jpg", "Referer=http://server-d:6104/images/focus.swf", ENDITEM,
                "Url=http://server-d:6104/UserPhoto/Panel/94e23e48-6f15-43a9-a738-7d6f88a3bfb2.jpg", "Referer=http://server-d:6104/images/focus.swf", ENDITEM,
                "Url=http://server-d:6104/UserPhoto/Panel/302ff7dc-6ade-4e74-ac68-d6d542f0ef9b.jpg", "Referer=http://server-d:6104/images/focus.swf", ENDITEM,
                "Url=http://server-d:6104/UserPhoto/Panel/18f5c624-d2c8-46b6-95cf-aee4460e1cb3.jpg", "Referer=http://server-d:6104/images/focus.swf", ENDITEM,
                LAST);

        lr_think_time(13);

        web_url("Content.aspx",
                "URL=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://server-d:6104/",
                "Snapshot=t5.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=../images/nav04.jpg", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=../images/logo.jpg", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=../images/nav03.jpg", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=../images/nav02.jpg", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=../images/nav07.jpg", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=../images/nav05.jpg", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=../images/nav06.jpg", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=../images/nav01.jpg", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=../UserPhoto/Panel/cc4224d2-d1fd-458d-9639-306c130bbfd9.swf", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=images/news2_r2_c2.jpg", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=../UserPhoto/Panel/b55642cd-e57a-4257-b202-4c09b2ea8a15.swf", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=images/city013.jpg", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=images/tit12.jpg", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=../UserPhoto/Panel/cc2d02fc-4264-49ea-b264-d2ac97505ad9.swf", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=../UserPhoto/Panel/52a2b571-5dd6-4b10-8920-595e855d6c9a.swf", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=../UserPhoto/Panel/c2dbee76-c01f-4573-bd2a-b463982ee17b.jpg", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=../images/brow1.gif", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=http://count30.51yes.com/count1.gif", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                "Url=http://count30.51yes.com/sa.aspx?id=304678793&refe=http%3A//server-d%3A6104/&location=http%3A//server-d%3A6104/News/Content.aspx%3Fid%3Df940d536-ab3d-4be4-90dd-d24c37f1ea1f&color=32x&resolution=1152x864&returning=1&language=zh-cn&ua=Mozilla/4.0%20%28compatible%3B%20MSIE%206.0%3B%20Windows%20NT%205.1%3B%20SV1%3B%20.NET%20CLR%202.0.50727%29", "Referer=http://server-d:6104/News/Content.aspx?id=f940d536-ab3d-4be4-90dd-d24c37f1ea1f", ENDITEM,
                LAST);

        lr_think_time(23);

        web_url("default.aspx",
                "URL=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t6.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=../images/logo.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=../images/nav01.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=../images/nav02.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=../images/nav03.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=../images/nav06.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=../images/nav05.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=../images/nav04.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=../UserPhoto/Panel/538432c3-d7f9-46a5-b8c9-91a0af0ddd4d.swf", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=../images/nav07.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=../Search/images/icon01.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=images/btn01.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=../Search/images/bg10.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=../UserPhoto/Panel/51b766cd-7ea2-4a91-b784-93cfb9105435.swf", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=../UserPhoto/Panel/cb9c1122-ca31-4fb6-bb50-3dc9dbfb844d.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=../Search/images/icon03.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=../UserPhoto/Panel/e4ac1a40-4ebe-4ffa-bb46-767e0f9e9af4.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                LAST);

        web_url("click.aspx_2",
                "URL=http://count30.51yes.com/click.aspx?id=304678793&logo=1",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia",
                "Snapshot=t7.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=http://server-d:6104/Search/images/icon02.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=http://server-d:6104/images/brow1.gif", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=/count1.gif", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=http://server-d:6104/Search/Images/tit10.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=http://server-d:6104/Search/Images/tit11.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=http://server-d:6104/Search/Images/tit12.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=/sa.aspx?id=304678793&refe=&location=http%3A//server-d%3A6104/search/default.aspx%3Fcatid%3D%26subcatid%3D%26keyword%3Dnokia&color=32x&resolution=1152x864&returning=1&language=zh-cn&ua=Mozilla/4.0%20%28compatible%3B%20MSIE%206.0%3B%20Windows%20NT%205.1%3B%20SV1%3B%20.NET%20CLR%202.0.50727%29", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                "Url=http://server-d:6104/Search/Images/tit13.jpg", "Referer=http://server-d:6104/search/default.aspx?catid=&subcatid=&keyword=nokia", ENDITEM,
                LAST);

        return 0;

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2007-9-13 18:21:50 | 只看该作者
下面是回放日志:
      虚拟用户脚本已启动
正在开始操作 vuser_init。
Web Turbo 重播 LoadRunner 8.1.0 for WINXP; Web 内部版本 4788          [MsgId: MMSG-27143]
运行时设置文件: "C:\Documents and Settings\0138\Local Settings\Temp\noname15\\default.cfg"          [MsgId: MMSG-27141]
正在结束操作 vuser_init。
正在运行 Vuser...
正在开始迭代 1。
正在开始操作 Action。
Action.c(4): web_add_cookie 成功          [MsgId: MMSG-26392]
Action.c(6): web_add_cookie 成功          [MsgId: MMSG-26392]
Action.c(8): 在 HTML“http://server-d:6104/”中找到资源“http://server-d:6104/Css/commonMaster.css”          [MsgId: MMSG-26659]

Action.c(8): 警告 -26628: 对于“http://server-d:6104/UserPhoto/Panel/”,HTTP 状态代码=403 (Forbidden)          [MsgId: MWAR-26628]
Action.c(8): web_url("server-d:6104") 最高严重级别为“warning”,1496797 个正文字节,30858 个标头字节          [MsgId: MMSG-26388]
Action.c(126): web_url("showtopics.aspx") 已成功,1095 个正文字节,221 介标头字节          [MsgId: MMSG-26386]
Action.c(135): web_url("showtopics.aspx_2") 已成功,747 个正文字节,220 介标头字节          [MsgId: MMSG-26386]
Action.c(144): 在 HTML“http://count30.51yes.com/click.aspx?id=304678793&logo=1”中找到资源“http://count30.51yes.com/count'+ logo +'.gif”          [MsgId: MMSG-26659]
Action.c(144): 在“http://count30.51yes.com/click.aspx?id=304678793&logo=1”中检测到非资源“http://count30.51yes.com/sa.aspx?id='+countid+yesdata+'”          [MsgId: MMSG-26574]
Action.c(144): 错误 -26612: 对于“http://count30.51yes.com/sa.aspx?id='+countid+yesdata+'”,HTTP 状态代码=500 (Internal Server Error)          [MsgId: MERR-26612]
Action.c(144): web_url("click.aspx") 最高严重级别为“ERROR”,5986 个正文字节,621 个标头字节          [MsgId: MMSG-26388]
正在结束操作 Action。
正在结束迭代 1。
正在结束 Vuser...
正在开始操作 vuser_end。
正在结束操作 vuser_end。
Vuser 已终止。
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2007-9-17 14:55:05 | 只看该作者
怎么冒人回答我的问题呢?
  是不是高手都休假拉?
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-11-10 20:37 , Processed in 0.080513 second(s), 30 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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