作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (23): 25-27. doi: 10.3969/j.issn.1000-3428.2010.23.009

• 软件技术与数据库 • 上一篇    下一篇

一种基于日志分析的Web负载测试方法

朱靖君,吴海燕,高国柱,程志锐   

  1. (清华大学计算机与信息管理中心, 北京 100084)
  • 出版日期:2010-12-05 发布日期:2010-12-14
  • 作者简介:朱靖君(1984-),男,硕士研究生,主研方向:Web挖掘,Web应用性能测试与评价;吴海燕,高级工程师、博士;高国柱、程志锐,工程师、硕士
  • 基金资助:
    国家“863”计划基金资助项目(2007AA010306)

Web Load Test Method Based on Log Analysis

ZHU Jingjun,WU Haiyan,GAO Guozhu,CHENG Zhirui   

  1. (Computer and Information Management Center, Tsinghua University, Beijing 100084, China)
  • Online:2010-12-05 Published:2010-12-14

摘要: 提出一种基于日志分析的Web负载测试方法。通过序列模式挖掘得到用户访问的频繁序列模式,日志分析得到负载的相关参数,并据此构造出逼近于真实的测试负载。利用性能测试工具LoadRunner对Web应用系统进行负载测试。将测试日志与真实日志进行对比,验证了测试负载与真实负载的相似性。

关键词: 日志分析, 负载测试, 序列模式挖掘, PrefixSpan算法

Abstract: This paper presents a Web load test method based on log analysis. This method gets the frequent sequential patterns of Web users from sequential pattern mining. It gets the parameters of Web load from log analysis. It uses them to generate test load closed to realistic load, and uses LoadRunner to do the Web load test. In the experiment, the log generated by test is compared with realistic log, and the similarity between test load and realistic load is validated.

Key words: log analysis, load test, sequential pattern mining, PrefixSpan algorithm

中图分类号: