web UI 测试用例6 request时间测试

这是一个小用例,目的是测试最占用时间的链接。但是因为数据库本身数据的变化,测试结果不一定能反映真实情况。

后面还有很长,因为UI自动测试工具无法安装使用(如解决后面将补上),手工测试了所有功能(但不涵盖所有代码),得到相应时间结果:

通过 http://localhost:1933/ 200 OK 0.237 秒 0.173 秒 6,664
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.012 秒 1,313
通过  http://localhost:1933/Style/MainFormStyle.css 200 OK - 0.059 秒 1,018
通过 http://localhost:1933/List.aspx 200 OK 0.092 秒 0.021 秒 281,251
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.001 秒 1,313
通过  http://localhost:1933/DocList.aspx 200 OK - 0.014 秒 818
通过  http://localhost:1933/style/List.css 200 OK - 0.049 秒 1,405
通过  http://localhost:1933/JS/jquery-1.8.2.js 200 OK - 0.065 秒 274,655
通过 http://localhost:1933/List.aspx 200 OK 0.013 秒 0.003 秒 280,433
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.004 秒 1,313
通过  http://localhost:1933/style/List.css 200 OK - 0.006 秒 1,405
通过  http://localhost:1933/JS/jquery-1.8.2.js 200 OK - 0.010 秒 274,655
通过 http://localhost:1933/DocList.aspx 200 OK 0.111 秒 0.111 秒 772
通过 http://localhost:1933/DocList.aspx 200 OK 0.006 秒 0.006 秒 747
通过 http://localhost:1933/List.aspx 200 OK 0.062 秒 0.053 秒 280,433
通过  http://localhost:1933/style/List.css 200 OK - 0.004 秒 1,405
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.007 秒 1,313
通过  http://localhost:1933/JS/jquery-1.8.2.js 200 OK - 0.008 秒 274,655
通过 http://localhost:1933/DocList.aspx 200 OK 0.051 秒 0.051 秒 768
通过 http://localhost:1933/DocList.aspx 200 OK 0.016 秒 0.016 秒 614
通过 http://localhost:1933/List.aspx 200 OK 0.044 秒 0.026 秒 280,433
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.002 秒 1,313
通过  http://localhost:1933/style/List.css 200 OK - 0.002 秒 1,405
通过  http://localhost:1933/JS/jquery-1.8.2.js 200 OK - 0.017 秒 274,655
通过 http://localhost:1933/DocList.aspx 200 OK 0.031 秒 0.031 秒 806
通过 http://localhost:1933/DocList.aspx 200 OK 0.013 秒 0.013 秒 235
通过 http://localhost:1933/List.aspx 200 OK 0.014 秒 0.005 秒 280,433
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.006 秒 1,313
通过  http://localhost:1933/JS/jquery-1.8.2.js 200 OK - 0.007 秒 274,655
通过  http://localhost:1933/style/List.css 200 OK - 0.008 秒 1,405
通过 http://localhost:1933/QAList.aspx 200 OK 0.072 秒 0.072 秒 215
通过 http://localhost:1933/DocList.aspx 200 OK 0.003 秒 0.003 秒 235
通过 http://localhost:1933/Default.aspx 200 OK 0.121 秒 0.048 秒 6,664
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.001 秒 1,313
通过  http://localhost:1933/Style/MainFormStyle.css 200 OK - 0.073 秒 1,018
通过 http://localhost:1933/QuestionList.aspx 200 OK 0.062 秒 0.060 秒 7,641
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.002 秒 1,313
通过  http://localhost:1933/style/List.css 200 OK - 0.002 秒 1,405
通过 http://localhost:1933/QuestionDetail.aspx 200 OK 0.639 秒 0.029 秒 511,269
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.001 秒 1,313
通过  http://localhost:1933/js/jquery-1.8.2.js 200 OK - 0.155 秒 274,655
通过  http://localhost:1933/Style/QAItemStyle.css 200 OK - 0.608 秒 1,474
通过  http://localhost:1933/js/tiny_mce/tiny_mce.js 200 OK - 0.609 秒 230,641
通过 http://localhost:1933/QuestionList.aspx 200 OK 0.075 秒 0.072 秒 7,654
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.002 秒 1,313
通过  http://localhost:1933/style/List.css 200 OK - 0.002 秒 1,405
通过 http://localhost:1933/QuestionDetail.aspx 200 OK 0.186 秒 0.029 秒 510,554
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.003 秒 1,313
通过  http://localhost:1933/js/jquery-1.8.2.js 200 OK - 0.014 秒 274,655
通过  http://localhost:1933/Style/QAItemStyle.css 200 OK - 0.155 秒 1,474
通过  http://localhost:1933/js/tiny_mce/tiny_mce.js 200 OK - 0.156 秒 230,641
通过 http://localhost:1933/QuestionList.aspx 200 OK 0.065 秒 0.060 秒 7,646
通过  http://localhost:1933/style/List.css 200 OK - 0.004 秒 1,405
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.004 秒 1,313
通过 http://localhost:1933/QuestionDetail.aspx 200 OK 0.058 秒 0.025 秒 510,530
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.002 秒 1,313
通过  http://localhost:1933/Style/QAItemStyle.css 200 OK - 0.004 秒 1,474
通过  http://localhost:1933/js/tiny_mce/tiny_mce.js 200 OK - 0.006 秒 230,641
通过  http://localhost:1933/js/jquery-1.8.2.js 200 OK - 0.032 秒 274,655
通过 http://localhost:1933/QuestionList.aspx 200 OK 0.038 秒 0.036 秒 7,638
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.001 秒 1,313
通过  http://localhost:1933/style/List.css 200 OK - 0.001 秒 1,405
通过 http://localhost:1933/Default.aspx 200 OK 0.014 秒 0.012 秒 6,664
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.001 秒 1,313
通过  http://localhost:1933/Style/MainFormStyle.css 200 OK - 0.001 秒 1,018
通过 http://localhost:1933/QuestionList.aspx 200 OK 0.014 秒 0.012 秒 5,479
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.001 秒 1,313
通过  http://localhost:1933/style/List.css 200 OK - 0.002 秒 1,405
通过 http://localhost:1933/Default.aspx 200 OK 0.015 秒 0.013 秒 6,664
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.001 秒 1,313
通过  http://localhost:1933/Style/MainFormStyle.css 200 OK - 0.001 秒 1,018
未通过 http://localhost:1933/DocumentDetail.aspx 500 Internal Server Error 0.109 秒 0.109 秒 10,177
通过 http://localhost:1933/Default.aspx 200 OK 0.036 秒 0.029 秒 6,664
通过  http://localhost:1933/Style/MainFormStyle.css 200 OK - 0.006 秒 1,018
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.006 秒 1,313
通过 http://localhost:1933/DocumentList.aspx 200 OK 0.028 秒 0.026 秒 6,469
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.002 秒 1,313
通过  http://localhost:1933/style/List.css 200 OK - 0.002 秒 1,405
通过 http://localhost:1933/Default.aspx 200 OK 0.035 秒 0.033 秒 6,664
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.001 秒 1,313
通过  http://localhost:1933/Style/MainFormStyle.css 200 OK - 0.001 秒 1,018
通过 http://localhost:1933/QuestionDetail.aspx 200 OK 0.021 秒 0.004 秒 510,704
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.001 秒 1,313
通过  http://localhost:1933/Style/QAItemStyle.css 200 OK - 0.002 秒 1,474
通过  http://localhost:1933/js/tiny_mce/tiny_mce.js 200 OK - 0.004 秒 230,641
通过  http://localhost:1933/js/jquery-1.8.2.js 200 OK - 0.016 秒 274,655
通过 http://localhost:1933/Default.aspx 200 OK 0.099 秒 0.097 秒 6,664
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.001 秒 1,313
通过  http://localhost:1933/Style/MainFormStyle.css 200 OK - 0.001 秒 1,018
通过 http://localhost:1933/QuestionDetail.aspx 200 OK 0.044 秒 0.005 秒 510,644
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.002 秒 1,313
通过  http://localhost:1933/Style/QAItemStyle.css 200 OK - 0.002 秒 1,474
通过  http://localhost:1933/js/tiny_mce/tiny_mce.js 200 OK - 0.038 秒 230,641
通过  http://localhost:1933/js/jquery-1.8.2.js 200 OK - 0.038 秒 274,655
通过 http://localhost:1933/QuestionDetail.aspx 200 OK 0.042 秒 0.011 秒 510,644
通过  http://localhost:1933/Style/QAItemStyle.css 200 OK - 0.003 秒 1,474
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.004 秒 1,313
通过  http://localhost:1933/js/tiny_mce/tiny_mce.js 200 OK - 0.029 秒 230,641
通过  http://localhost:1933/js/jquery-1.8.2.js 200 OK - 0.030 秒 274,655
通过 http://localhost:1933/Default.aspx 200 OK 0.039 秒 0.035 秒 6,664
通过  http://localhost:1933/Style/MainFormStyle.css 200 OK - 0.003 秒 1,018
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.003 秒 1,313
通过 http://localhost:1933/QuestionDetail.aspx 200 OK 0.012 秒 0.006 秒 510,662
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.002 秒 1,313
通过  http://localhost:1933/Style/QAItemStyle.css 200 OK - 0.003 秒 1,474
通过  http://localhost:1933/js/tiny_mce/tiny_mce.js 200 OK - 0.004 秒 230,641
通过  http://localhost:1933/js/jquery-1.8.2.js 200 OK - 0.005 秒 274,655
通过 http://localhost:1933/Default.aspx 200 OK 0.034 秒 0.032 秒 6,664
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.002 秒 1,313
通过  http://localhost:1933/Style/MainFormStyle.css 200 OK - 0.002 秒 1,018
通过 http://localhost:1933/QuestionDetail.aspx 200 OK 0.046 秒 0.004 秒 510,672
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.004 秒 1,313
通过  http://localhost:1933/Style/QAItemStyle.css 200 OK - 0.004 秒 1,474
通过  http://localhost:1933/js/tiny_mce/tiny_mce.js 200 OK - 0.007 秒 230,641
通过  http://localhost:1933/js/jquery-1.8.2.js 200 OK - 0.041 秒 274,655
通过 http://localhost:1933/Default.aspx 200 OK 0.100 秒 0.097 秒 6,664
通过  http://localhost:1933/Style/MainFormStyle.css 200 OK - 0.002 秒 1,018
通过  http://localhost:1933/Style/Basic.css 200 OK - 0.002 秒 1,313

从测试结果可以知道,打开网站所用的时间是最长的,消耗0.173s,此外就是default语句和连接失败的语句(暂未整合的功能),此外documentlist表由于数据容量较大,打开较慢,每一个quesiton细节打开都非常快,只要0.004s左右。

posted @ 2012-11-16 23:23  MagicCode1023  阅读(340)  评论(0编辑  收藏  举报