51Testing软件测试论坛

标题: 关于LR图表问题(重新编辑) [打印本页]

作者: htlg    时间: 2010-1-28 14:04
标题: 关于LR图表问题(重新编辑)
我在场景状态下看见有86个错误

错误我知道是我 在录制好一个页面以后 加了注释(为什么注释会出错)
-----
详细情况是我一页面就是一个ACtion  在ACtion3 末尾注释的
---------

但是我在整个场景VUSER 统计的时候没有错误  是什么原因啊???

是不是因为这个错误 不是页面错误 或者是VUSER 出问题的错误??

还有注释一般加在哪里啊????


--------------------
代码如下
-----------------------
Action2()
{

lr_start_transaction("hgtest");

web_add_cookie("__utma=265638552.1449713900.1264645728.1264646286.1264646310.4; DOMAIN=hg.fengj.com");

web_add_cookie("__utmb=265638552.1.10.1264646310; DOMAIN=hg.fengj.com");

web_add_cookie("__utmz=265638552.1264645728.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); DOMAIN=hg.fengj.com");

web_add_cookie("__utmc=265638552; DOMAIN=hg.fengj.com");

web_reg_find("Text=二手化工行业频道-中国二手设备网化工中心",
  LAST);

web_reg_find("Text=会员登陆",
  LAST);

web_reg_find("Text=登录发布窗口",
  LAST);

lr_think_time(28);

web_url("hg.fengj.com",
  "URL=http://hg.fengj.com/",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://www.fengj.com/",
  "Snapshot=t8.inf",
  "Mode=HTML",
  EXTRARES,
  "Url=http://image.fengj.com/pics/gghh_191X65.gif", ENDITEM,
  "Url=http://image.fengj.com/pics/taomiao_071217(ID501).gif", ENDITEM,
  "Url=http://image.fengj.com/pics/2009/wangyanshu(ID212284)_7989.gif", ENDITEM,
  "Url=http://image.fengj.com/pics/2010/zixun_273633.jpg", ENDITEM,
  "Url=http://image.fengj.com/pics/2009/fengjinxiang(ID179559)_1250.gif", ENDITEM,
  "Url=http://www.fengj.com/js/ad/images/btn-01.gif", "Referer=http://www.fengj.com/", ENDITEM,
  "Url=http://image.fengj.com/pics/2010/baixiansheng(ID1039481)_2300.gif", ENDITEM,
  "Url=http://www.fengj.com/syjh/images/soso01.gif", ENDITEM,
  "Url=http://image.fengj.com/pics/2009/dinglun(ID355882)_7989.gif", ENDITEM,
  "Url=http://www.fengj.com/js/ad/images/btn-02.gif", "Referer=http://www.fengj.com/", ENDITEM,
  "Url=http://image.fengj.com/pics/gg_230X70.gif", ENDITEM,
  "Url=http://www.fengj.com/syjh/images/soso2008_1.gif", ENDITEM,
  "Url=http://image.fengj.com/pics/zhoukangguanggao.gif", "Referer=http://www.fengj.com/", ENDITEM,
  "Url=http://www.fengj.com/syjh/images/soso2008_3.gif", ENDITEM,
  "Url=http://image.fengj.com/pics/2010/wangdongyan(ID260090)_5800.gif", ENDITEM,
  "Url=http://image.fengj.com/pics/2009/niusizhang(ID215220)_1201.gif", ENDITEM,
  "Url=http://image.fengj.com/pics/2009/hanchengran(ID4176)_1008.gif", ENDITEM,
  "Url=/images/tab_menu.gif", ENDITEM,
  "Url=http://www.fengj.com/include/images/slideBox_conright_bz.gif", "Referer=http://www.fengj.com/include/free_fabu(176_153)_iframe.asp", ENDITEM,
  "Url=http://www.fengj.com/include/images/slideBox_conleft_bz.gif", "Referer=http://www.fengj.com/include/free_fabu(176_153)_iframe.asp", ENDITEM,
  "Url=http://www.fengj.com/include/images/slideBox_bg_bz.gif", "Referer=http://www.fengj.com/include/free_fabu(176_153)_iframe.asp", ENDITEM,
  "Url=http://www.fengj.com/include/images/slideBox_tableft_bz.gif", "Referer=http://www.fengj.com/include/free_fabu(176_153)_iframe.asp", ENDITEM,
  "Url=http://www.fengj.com/include/images/slideBox_tabright_h_bz.gif", "Referer=http://www.fengj.com/include/free_fabu(176_153)_iframe.asp", ENDITEM,
  "Url=http://image.fengj.com/pics/2010/jiaodian_33230.jpg", "Referer=http://www.fengj.com/", ENDITEM,
  "Url=http://www.google-analytics.com/__utm.gif?utmwv=4.6.5&utmn=322100914&utmhn=hg.fengj.com&utmcs=gb2312&utmsr=1024x768&utmsc=32-bit&utmul=zh-cn&utmje=1&utmfl=10.0%20r42&utmcn=1&utmdt=%E4%BA%8C%E6%89%8B%E5%8C%96%E5%B7%A5%E8%A1%8C%E4%B8%9A%E9%A2%91%E9%81%93-%E4%B8%AD%E5%9B%BD%E4%BA%8C%E6%89%8B%E8%AE%BE%E5%A4%87%E7%BD%91%E5%8C%96%E5%B7%A5%E4%B8%AD%E5%BF%83&utmhid=1429939510&utmr=http%3A%2F%2Fwww.fengj.com%2F&utmp=%2F&utmac=UA-6324933-1&utmcc="
  "__utma%3D149584303.1868343082.1264646398.1264646398.1264646398.1%3B%2B__utmz%3D149584303.1264646398.1.1.utmcsr%3Dfengj.com%7Cutmccn%3D(referral)%7Cutmcmd%3Dreferral%7Cutmcct%3D%2F%3B", ENDITEM,
  "Url=http://log.cnsb.tv/Log.ashx?Page=http://hg.fengj.com/&Source=http%3A//www.fengj.com/", ENDITEM,
  LAST);

web_url("SessionGet.asp_3",
  "URL=http://www.fengj.com/Public/SessionGet.asp?SessionName=company_id",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://hg.fengj.com/",
  "Snapshot=t9.inf",
  "Mode=HTML",
  EXTRARES,
  "Url=http://image.fengj.com/pics/2010/jiaodian_33192.jpg", "Referer=http://www.fengj.com/", ENDITEM,
  "Url=http://image.fengj.com/pics/2010/chengjian(ID1065265)_2500.gif", "Referer=http://www.fengj.com/", ENDITEM,
  LAST);

/*hgtest 结束*/

return 0;
}
------------
上面脚本都是录制的没有修改过只有最后添加一个注释

[ 本帖最后由 htlg 于 2010-1-29 09:32 编辑 ]
作者: 云层    时间: 2010-1-28 23:45
请把代码排排版,这个东西没法看
作者: kuangquanshui    时间: 2010-1-29 09:55





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