51Testing软件测试论坛
标题:
事务响应时间为0怎么回事?
[打印本页]
作者:
susophy
时间:
2015-3-3 17:37
标题:
事务响应时间为0怎么回事?
本帖最后由 susophy 于 2015-3-3 17:40 编辑
C:\Users\Administrator\Desktop\Bug\2015-03-03_180235
作者:
susophy
时间:
2015-3-3 17:38
这是图片
作者:
望江南
时间:
2015-3-4 09:59
你把纵坐标的单位时间刻度调一下看看,,,检查下事物的开启和关闭,
作者:
susophy
时间:
2015-3-4 10:04
action就没有事务响应时间,这个action脚本录制有问题把?
Action()
{
web_url("tk.gif",
"URL=http://addons.g-fox.cn/tk.gif?when=run&r=0.25032601277894584",
"TargetFrame=",
"Resource=1",
"RecContentType=image/gif",
"Referer=",
"Snapshot=t24.inf",
LAST);
web_url("mitigations.json",
"URL=http://check.17firefox.com/v1/mitigations.json?cachebust=20150121",
"TargetFrame=",
"Resource=1",
"Referer=",
LAST);
web_url("updates.json",
"URL=http://bookmarks.firefoxchina.cn/bookmarks/updates.json",
"TargetFrame=",
"Resource=1",
"RecContentType=application/json",
"Referer=",
"Snapshot=t25.inf",
LAST);
web_reg_find("Text=未来网贷首页--未来财经旗下p2p网贷门户",
LAST);
web_add_cookie("Hm_lvt_948fdd889494239d67cd712e6a15f43b=1425370276; DOMAIN=172.16.100.108");
web_add_cookie("Hm_lpvt_948fdd889494239d67cd712e6a15f43b=1425370276; DOMAIN=172.16.100.108");
web_url("172.16.100.108",
"URL=http://172.16.100.108/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t26.inf",
"Mode=HTML",
EXTRARES,
"Url=http://addons.g-fox.cn/ntab.gif?c=ntab&t=searchplugins&a=detect&d=current&f=true&r=0.19642231344698913&cid=stub.firefox.com.cn", "Referer=", ENDITEM,
"Url=http://addons.g-fox.cn/ntab.gif?c=ntab&t=searchplugins&a=detect&d=baidu&f=true&r=0.196071601886599&cid=stub.firefox.com.cn", "Referer=", ENDITEM,
"Url=http://hm.baidu.com/hm.js?948fdd889494239d67cd712e6a15f43b", ENDITEM,
"Url=http://hm.baidu.com/hm.gif?cc=1&ck=1&cl=24-bit&ds=1920x1080&et=0&fl=16.0&ja=1&ln=zh-CN&lo=0&nv=1&rnd=683380879&si=948fdd889494239d67cd712e6a15f43b&st=1&v=1.0.75&lv=1&tt=%E6%9C%AA%E6%9D%A5%E7%BD%91%E8%B4%B7%E9%A6%96%E9%A1%B5--%E6%9C%AA%E6%9D%A5%E8%B4%A2%E7%BB%8F%E6%97%97%E4%B8%8Bp2p%E7%BD%91%E8%B4%B7%E9%97%A8%E6%88%B7", ENDITEM,
"Url=/r/cms/wd_new/js/echarts-2.1.10/build/dist/chart/line.js", ENDITEM,
"Url=/r/cms/wd_new/js/echarts-2.1.10/build/dist/chart/bar.js", ENDITEM,
"Url=/r/cms/wd_new/images/icon.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index_rightfloat.css", ENDITEM,
"Url=/r/cms/wd_new/images/selectbg.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/head.css", ENDITEM,
"Url=/r/cms/wd_new/images/flashbg.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index.css", ENDITEM,
"Url=/r/cms/wd_new/images/navbg.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/head.css", ENDITEM,
"Url=/r/cms/wd_new/images/02.gif", "Referer=http://172.16.100.108/r/cms/wd_new/css/index_focusflash.css", ENDITEM,
"Url=/r/cms/wd_new/images/flashtitlebg.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index_focusflash.css", ENDITEM,
"Url=/r/cms/wd_new/images/lmdhbg.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index.css", ENDITEM,
"Url=/r/cms/wd_new/images/daohangbg.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index.css", ENDITEM,
"Url=/r/cms/wd_new/images/wzlbbg.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index.css", ENDITEM,
"Url=/r/cms/wd_new/images/sousuobg.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index.css", ENDITEM,
"Url=/r/cms/wd_new/images/shou.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index.css", ENDITEM,
"Url=/r/cms/wd_new/images/img11.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index.css", ENDITEM,
"Url=/r/cms/wd_new/images/chaxunbg.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index.css", ENDITEM,
"Url=/r/cms/wd_new/images/01.gif", "Referer=http://172.16.100.108/r/cms/wd_new/css/index_focusflash.css", ENDITEM,
"Url=/r/cms/wd_new/images/pic_jiantou1.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index.css", ENDITEM,
"Url=/r/cms/wd_new/images/progressbar.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index.css", ENDITEM,
"Url=/r/cms/wd_new/images/app.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/foot.css", ENDITEM,
"Url=/r/cms/wd_new/images/weixin1.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/foot.css", ENDITEM,
"Url=/r/cms/wd_new/images/xinlang.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/foot.css", ENDITEM,
"Url=/r/cms/wd_new/images/pinglunbg.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index.css", ENDITEM,
"Url=/r/cms/wd_new/images/a-hoverbg1.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index.css", ENDITEM,
"Url=/r/cms/wd_new/images/fenxiang.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/news_share.css", ENDITEM,
"Url=/r/cms/wd_new/images/leftbianbg1.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index.css", ENDITEM,
"Url=/r/cms/wd_new/images/rightbianbg1.png", "Referer=http://172.16.100.108/r/cms/wd_new/css/index.css", ENDITEM,
"Url=http://hm.baidu.com/hm.gif?cc=1&ck=1&cl=24-bit&ds=1920x1080&ep=404918%2C283515&et=3&fl=16.0&ja=1&ln=zh-CN&lo=0&nv=0&rnd=278707492&si=948fdd889494239d67cd712e6a15f43b&st=4&v=1.0.75&lv=1&tt=%E6%9C%AA%E6%9D%A5%E7%BD%91%E8%B4%B7%E9%A6%96%E9%A1%B5--%E6%9C%AA%E6%9D%A5%E8%B4%A2%E7%BB%8F%E6%97%97%E4%B8%8Bp2p%E7%BD%91%E8%B4%B7%E9%97%A8%E6%88%B7", ENDITEM,
LAST);
web_url("shichaghangq.jspx",
"URL=http://172.16.100.108/wdPPlatformFront/shichaghangq.jspx?pageNo=1",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://172.16.100.108/",
"Snapshot=t27.inf",
"Mode=HTML",
LAST);
web_custom_request("shichaghangqdata.jspx",
"URL=http://172.16.100.108/wdPPlatformFront/shichaghangqdata.jspx?id=2",
"Method=GET",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://172.16.100.108/",
"Snapshot=t28.inf",
"Mode=HTML",
"EncType=application/x-www-form-urlencoded; charset=utf-8",
EXTRARES,
"Url=http://adu.g-fox.cn/adu.gif?channelid=stub.firefox.com.cn&fxversion=35.0.1&ceversion=2014.11&ver=2_2&pk=%7B05901a4b-43fc-4566-9037-e91281a88b50%7D&uk=%7Bed2ecaea-5ae6-4eda-b7ab-aad6f849cfcf%7D&cehome=false&locale=zh-CN&moexts=cemigration,coba,easyscreenshot,tabtweak,cehomepage,cpmanager,wx-assistant,commonfix&age=55&default=false&flash=16.0.0.296&now=1425370275639", "Referer=", ENDITEM,
"Url=http://i.firefoxchina.cn/cclv/v2/patterns.json", "Referer=", ENDITEM,
LAST);
web_reg_find("Text=用户登录--未来财经旗下p2p网贷门户",
LAST);
lr_think_time(271);
作者:
susophy
时间:
2015-3-4 10:05
web_url("login.jspx",
"URL=http://172.16.100.108/login.jspx?returnUrl=http://172.16.100.108/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://172.16.100.108/",
"Snapshot=t29.inf",
"Mode=HTML",
EXTRARES,
"Url=http://adu.g-fox.cn/adu-1.gif?channelid=stub.firefox.com.cn&fxversion=35.0.1&ceversion=2014.11&ver=2_2&pk=%7B05901a4b-43fc-4566-9037-e91281a88b50%7D&uk=%7Bed2ecaea-5ae6-4eda-b7ab-aad6f849cfcf%7D&cehome=false&locale=zh-CN&moexts=cemigration,coba,easyscreenshot,tabtweak,cehomepage,cpmanager,wx-assistant,commonfix&age=55&default=false&flash=16.0.0.296&now=1425370578544", "Referer=", ENDITEM,
"Url=/r/cms/wd_user/images/user_02.gif", "Referer=http://172.16.100.108/r/cms/wd_user/css/user_login.css", ENDITEM,
"Url=/r/cms/wd_user/images/reg3.png", "Referer=http://172.16.100.108/r/cms/wd_user/css/user_login.css", ENDITEM,
"Url=http://hm.baidu.com/hm.js?948fdd889494239d67cd712e6a15f43b", "Referer=http://172.16.100.108/login.jspx?returnUrl=http://172.16.100.108/", ENDITEM,
"Url=http://hm.baidu.com/hm.gif?cc=1&ck=1&cl=24-bit&ds=1920x1080&ep=404918%2C283515&et=3&fl=16.0&ja=1&ln=zh-CN&lo=0&nv=0&rnd=278707492&si=948fdd889494239d67cd712e6a15f43b&st=4&v=1.0.75&lv=1&tt=%E6%9C%AA%E6%9D%A5%E7%BD%91%E8%B4%B7%E9%A6%96%E9%A1%B5--%E6%9C%AA%E6%9D%A5%E8%B4%A2%E7%BB%8F%E6%97%97%E4%B8%8Bp2p%E7%BD%91%E8%B4%B7%E9%97%A8%E6%88%B7&u=http%3A%2F%2F172.16.100.108%2F", "Referer=http://172.16.100.108/login.jspx?returnUrl=http://172.16.100.108/", ENDITEM,
"Url=http://hm.baidu.com/hm.gif?cc=1&ck=1&cl=24-bit&ds=1920x1080&et=0&fl=16.0&ja=1&ln=zh-CN&lo=0<=1425370276&nv=0&rnd=895795731&si=948fdd889494239d67cd712e6a15f43b&st=4&su=http%3A%2F%2F172.16.100.108%2F&v=1.0.75&lv=2", "Referer=http://172.16.100.108/login.jspx?returnUrl=http://172.16.100.108/", ENDITEM,
LAST);
web_add_cookie("Hm_lpvt_948fdd889494239d67cd712e6a15f43b=1425370872; DOMAIN=172.16.100.108");
web_reg_find("Text=未来网贷首页--未来财经旗下p2p网贷门户",
LAST);
lr_think_time(127);
web_submit_data("login.jspx_2",
"Action=http://172.16.100.108/login.jspx",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://172.16.100.108/login.jspx?returnUrl=http://172.16.100.108/",
"Snapshot=t30.inf",
"Mode=HTML",
ITEMDATA,
"Name=username", "Value=aaa", ENDITEM,
"Name=password", "Value=111111", ENDITEM,
"Name=captcha", "Value=pbvz", ENDITEM,
"Name=submit", "Value=登 录", ENDITEM,
EXTRARES,
"Url=http://hm.baidu.com/hm.gif?cc=1&ck=1&cl=24-bit&ds=1920x1080&ep=445484%2C247369&et=3&fl=16.0&ja=1&ln=zh-CN&lo=0<=1425370276&nv=0&rnd=74231714&si=948fdd889494239d67cd712e6a15f43b&st=4&su=http%3A%2F%2F172.16.100.108%2F&v=1.0.75&lv=2", "Referer=http://172.16.100.108/login.jspx?returnUrl=http://172.16.100.108/", ENDITEM,
"Url=http://hm.baidu.com/hm.js?948fdd889494239d67cd712e6a15f43b", "Referer=http://172.16.100.108/", ENDITEM,
"Url=http://hm.baidu.com/hm.gif?cc=1&ck=1&cl=24-bit&ds=1920x1080&ep=445484%2C247369&et=3&fl=16.0&ja=1&ln=zh-CN&lo=0<=1425370276&nv=0&rnd=74231714&si=948fdd889494239d67cd712e6a15f43b&st=4&su=http%3A%2F%2F172.16.100.108%2F&v=1.0.75&lv=2&u=http%3A%2F%2F172.16.100.108%2Flogin.jspx%3FreturnUrl%3Dhttp%3A%2F%2F172.16.100.108%2F", "Referer=http://172.16.100.108/", ENDITEM,
"Url=http://hm.baidu.com/hm.gif?cc=1&ck=1&cl=24-bit&ds=1920x1080&et=0&fl=16.0&ja=1&ln=zh-CN&lo=0<=1425370276&nv=0&rnd=253967224&si=948fdd889494239d67cd712e6a15f43b&st=4&su=http%3A%2F%2F172.16.100.108%2Flogin.jspx%3FreturnUrl%3Dhttp%3A%2F%2F172.16.100.108%2F&v=1.0.75&lv=2", "Referer=http://172.16.100.108/", ENDITEM,
LAST);
web_url("shichaghangq.jspx_2",
"URL=http://172.16.100.108/wdPPlatformFront/shichaghangq.jspx?pageNo=1",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://172.16.100.108/",
"Snapshot=t31.inf",
"Mode=HTML",
LAST);
web_add_cookie("Hm_lpvt_948fdd889494239d67cd712e6a15f43b=1425371446; DOMAIN=172.16.100.108");
lr_think_time(62);
web_custom_request("shichaghangqdata.jspx_2",
"URL=http://172.16.100.108/wdPPlatformFront/shichaghangqdata.jspx?id=2",
"Method=GET",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://172.16.100.108/",
"Snapshot=t32.inf",
"Mode=HTML",
"EncType=application/x-www-form-urlencoded; charset=utf-8",
EXTRARES,
"Url=http://check.17firefox.com/v1/mitigations.json?cachebust=20150121", "Referer=", ENDITEM,
LAST);
return 0;
}
哪个高手榜我看一下,问题出在哪了?
作者:
大数据测试
时间:
2015-3-8 22:12
脚本事物响应时间设置有问题。而且脚本需要精简一下
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2