首页 | 本学科首页   官方微博 | 高级检索  
     

基于用户会话的Web应用性能测试方法的研究
引用本文:梁力图,陆璐.基于用户会话的Web应用性能测试方法的研究[J].计算机科学,2014,41(11):46-49,68.
作者姓名:梁力图  陆璐
作者单位:华南理工大学计算机科学与工程学院 广州510006
基金项目:本文受国家自然基金(61370103),广东省省部产学研重点项目(2012B091000050),广州市科技重大专项(2009A1-D041)联合资助
摘    要:近年来,Web应用成为互联网时代基础设施中最重要的组成部分。随着互联网技术的不断进步以及使用用户数量的不断增长,Web应用也越发变得复杂。为了保证Web应用性能测试的有效性和真实性,提出一种利用服务器日志中的用户会话信息、结合经过序列匹配算法改进的层次凝聚算法来自动产生Web应用性能测试脚本的方法。提出的方法通过从服务器日志中提取出用户会话信息,分析用户真实的访问模式,通过聚类算法将同类型的用户访问模式进行聚集,自动产生相应的测试请求序列,生成测试集。相比于传统的基于录制/回访的测试方法,基于用户会话的性能测试方法通过对用户会话进行聚类分析,还原实际的用户访问模式,减少了设计测试用例时的人工参与,保证了测试结果的有效性和真实性。

关 键 词:用户会话  层次聚类  性能测试  有效性
收稿时间:2013/9/26 0:00:00
修稿时间:2013/11/16 0:00:00

Modified Hierarchy Clustering Algorithm for User-session-based Performance Testing
LIANG Li-tu and LU Lu.Modified Hierarchy Clustering Algorithm for User-session-based Performance Testing[J].Computer Science,2014,41(11):46-49,68.
Authors:LIANG Li-tu and LU Lu
Affiliation:School of Computer Science & Engineering,South China University of Technology,Guangzhou 510006,China;School of Computer Science & Engineering,South China University of Technology,Guangzhou 510006,China
Abstract:Web applications are important parts of global information infrastructures.It attracts more and more researchers to study Web application performance testing.In this paper,a user-session-based approach combined with a modified agglomerative hierarchical clustering algorithm was proposed to automatically generate performance test cases.The approach generates test cases by exploiting user-sessions from server logs.It can not only reduce the manual effort when test engineers design the test cases,but also guarantee the validity of the testing results.In our approach,we firstly gave a definition of how to achieve the similarities between two URLs,and then employed a dynamic programming algorithm to calculate the similarities between two user sessions.According to the similarity matrix,a bottom-up agglomerative hierarchical clustering was employed to cluster the user sessions and then generated the test cases.Finally,experimental result of our approach shows its validity.
Keywords:User session  Agglomerative hierarchical clustering  Performance testing  Validity
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号