51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

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

[求助] 求助:分析结果中事务与action的时间,login事物时间与action一样呢?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2012-6-18 15:00:41 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Action()
{

web_url("index.html",
  "URL=http://192.168.0.22/index.html",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=",
  "Snapshot=t1.inf",
  "Mode=HTML",
  EXTRARES,
  "Url=/images/3/bg.png", ENDITEM,
  "Url=/images/3/logo.png", ENDITEM,
  "Url=/images/3/ie6_login_bg.png", ENDITEM,
  LAST);
lr_start_transaction("login");
/* Registering parameter(s) from source task id 21
// {CSRule_1_UID3} = "424493828151435213"
// */

web_submit_form("Login.do",
  "Snapshot=t2.inf",
  ITEMDATA,
  "Name=loginname", "Value={username}", ENDITEM,
  "Name=loginpassword", "Value=123456", ENDITEM,
  "Name=remember", "Value=<OFF>", ENDITEM,
  "Name=logIn.x", "Value=47", ENDITEM,
  "Name=logIn.y", "Value=17", ENDITEM,
  EXTRARES,
  "Url=../images/1/bg.png", "Referer=http://192.168.0.22/client/footer.html", ENDITEM,
  "Url=../images/1/footer_bg.png", "Referer=http://192.168.0.22/client/footer.html", ENDITEM,
  "Url=../images/1/menu_bg.png", "Referer=http://192.168.0.22/client/header1.jsp", ENDITEM,
  "Url=../images/loading.gif", "Referer=http://192.168.0.22/client/header1.jsp", ENDITEM,
  "Url=../images/1/header_bg.png", "Referer=http://192.168.0.22/client/header1.jsp", ENDITEM,
  "Url=../images/1/bg.gif", "Referer=http://192.168.0.22/index/client.Index.do?1=1", ENDITEM,
  "Url=../images/loadingindex.gif", "Referer=http://192.168.0.22/index/client.Index.do?1=1", ENDITEM,
  LAST);

web_custom_request("Login.do_2",
  "URL=http://192.168.0.22/doRefurbish/Login.do?cid={CSRule_1_UID3}",
  "Method=POST",
  "Resource=1",
  "Referer=http://192.168.0.22/client/header1.jsp",
  "Snapshot=t3.inf",
  "EncType=",
  LAST);
web_custom_request("YuQing.do",
  "URL=http://192.168.0.22/doOrderone/YuQing.do?yuqing_datetime=dsc&id=1&yid=2",
  "Method=POST",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://192.168.0.22/index/client.Index.do?1=1",
  "Snapshot=t4.inf",
  "Mode=HTML",
  "EncType=",
  LAST);
web_custom_request("client.Index.do",
  "URL=http://192.168.0.22/loadsubject/client.Index.do?subjectid=5625",
  "Method=POST",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://192.168.0.22/index/client.Index.do?1=1",
  "Snapshot=t5.inf",
  "Mode=HTML",
  "EncType=",
  LAST);
web_custom_request("client.Search.do",
  "URL=http://192.168.0.22/serachindex/client.Search.do",
  "Method=POST",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://192.168.0.22/index/client.Index.do?1=1",
  "Snapshot=t6.inf",
  "Mode=HTML",
  "EncType=",
  LAST);
web_custom_request("YuQing.do_2",
  "URL=http://192.168.0.22/doOrderone/YuQing.do?yuqing_posid=1&yuqing_datetime=dsc&id=1&yid=2",
  "Method=POST",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://192.168.0.22/index/client.Index.do?1=1",
  "Snapshot=t7.inf",
  "Mode=HTML",
  "EncType=",
  LAST);
web_custom_request("client.Index.do_2",
  "URL=http://192.168.0.22/loadsubject/client.Index.do?subjectid=5626",
  "Method=POST",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://192.168.0.22/index/client.Index.do?1=1",
  "Snapshot=t8.inf",
  "Mode=HTML",
  "EncType=",
  LAST);
web_custom_request("YuQing.do_3",
  "URL=http://192.168.0.22/doOrderone/YuQing.do?yuqing_hits=dsc&id=1&yid=1",
  "Method=POST",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://192.168.0.22/index/client.Index.do?1=1",
  "Snapshot=t9.inf",
  "Mode=HTML",
  "EncType=",
  LAST);
web_custom_request("client.Index.do_3",
  "URL=http://192.168.0.22/loadsubject/client.Index.do?subjectid=5627",
  "Method=POST",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://192.168.0.22/index/client.Index.do?1=1",
  "Snapshot=t10.inf",
  "Mode=HTML",
  "EncType=",
  LAST);
web_custom_request("YuQing.do_4",
  "URL=http://192.168.0.22/doOrderone/YuQing.do?yuqing_hits=dsc&yuqing_posid=1&id=1&yid=2",
  "Method=POST",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://192.168.0.22/index/client.Index.do?1=1",
  "Snapshot=t11.inf",
  "Mode=HTML",
  "EncType=",
  LAST);
web_custom_request("client.Index.do_4",
  "URL=http://192.168.0.22/loadsubject/client.Index.do?subjectid=5628",
  "Method=POST",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://192.168.0.22/index/client.Index.do?1=1",
  "Snapshot=t12.inf",
  "Mode=HTML",
  "EncType=",
  LAST);
lr_end_transaction("login",LR_AUTO);
web_url("Login.do_3",
  "URL=http://192.168.0.22/logout/Login.do?loginname=user01.bj",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=",
  "Snapshot=t13.inf",
  "Mode=HTML",
  LAST);
web_url("ie.html",
  "URL=http://192.168.0.22/ie.html",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=",
  "Snapshot=t14.inf",
  "Mode=HTML",
  LAST);
return 0;
}

本帖子中包含更多资源

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

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

使用道具 举报

该用户从未签到

2#
发表于 2012-6-18 15:16:50 | 只看该作者
我怎么看这两个数字都是不一样的啊,哪里一样了?
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-5-5 05:19 , Processed in 0.091643 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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