计算机与现代化 ›› 2017, Vol. 0 ›› Issue (2): 73-77.doi: 10.3969/j.issn.1006-2475.2017.02.015

• 数据库与数据挖掘 • 上一篇    下一篇

基于Web使用挖掘的负载测试方法

  

  1. (1.北京交通大学计算机与信息技术学院,北京100044;2.北京交通大学国家轨道交通安全评估研究中心,北京100044)
  • 收稿日期:2016-07-07 出版日期:2017-03-09 发布日期:2017-03-20
  • 作者简介:薛群群(1992-),女,山东巨野人,北京交通大学计算机与信息技术学院硕士研究生,研究方向:软件测试; 张骏温(1966-),男,副研究员,博士,研究方向:软件测试,计算机网络; 张大林(1983-),男,北京交通大学国家轨道交通安全评估研究中心讲师,博士,研究方向:静态缺陷检测,轨道交通安全。
  • 基金资助:
    国家863计划资助项目(2015AA043701)

Web Load Test Method Based on Web Usage Mining

  1. (1. School of Computer and Information Technology, Beijing Jiaotong University, Beijing 100044, China;

    2. National Research Center of Railway Safety Assessment, Beijing Jiaotong University, Beijing 100044, China)
  • Received:2016-07-07 Online:2017-03-09 Published:2017-03-20

摘要:

作为保证Web应用系统稳定性和可靠性的重要手段,Web负载测试逐渐成为软件开发生命周期中很重要的一个环节。然而,区别于传统的软件测试,Web应用系统的复杂性及其用户行为的不可预见性使得Web负载测试变得很困难。针对上述问题,提出一种Web使用频繁模式子树挖掘算法,从用户的访问日志中挖掘出频繁访问的Web页面,分析用户的行为特征,使得负载环境尽可能与真实世界接近。最后利用性能测试工具LoadRunner对实际项目案例进行负载测试,验证了该方法的有效性和实用性。

关键词: 负载测试, Web使用挖掘, 频繁访问模式, LoadRunner

Abstract:

As an important means to guarantee stability and reliability of Web applications system, Web load testing is becoming a very important part in software development lifecycle. However, different from traditional software testing, Web load testing is very difficult because of the complexity and unpredictability of user behavior of Web applications. Against the above problems, a Web usage frequent pattern subtree ming algorithm is proposed. This method gets frequently visited Web pages from the user's access log, analyzes the behavior characteristics of the user and makes the test load environment close to the real world. Finally, the performance testing tool LoadRunner is used to conduct load test on an actual project and the result verifies the effectiveness and practicality of the method.

Key words: load test, Web usage mining, frequent access pattern, LoadRunner

中图分类号: