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

计算机工程 ›› 2010, Vol. 36 ›› Issue (8): 83-85. doi: 10.3969/j.issn.1000-3428.2010.08.029

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

基于用户行为和会话的Web应用测试方法

武晋南,高建华   

  1. (上海师范大学计算机科学与工程系,上海 200234)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2010-04-20 发布日期:2010-04-20

Web Application Test Method Based on User Behavior and Session

WU Jin-nan, GAO Jian-hua   

  1. (Department of Computer Science and Engineering, Shanghai Normal University, Shanghai 200234)
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-04-20 Published:2010-04-20

摘要: Web应用程序难以创建有效的测试用例,使其既能满足测试的需求,又能测试Web应用程序的多用户交互行为。针对上述问题,采用从Web日志数据中得到域数据创建测试用例的方法,从Web日志中获取用户行为数据和用户会话数据。提出一种基于用户行为和用户会话的测试新方法,通过实验验证该方法在功能覆盖和故障检测方面的有效性。

关键词: Web日志, 域数据, 用户行为, 软件测试

Abstract: It is difficult for Web applications to create effective test cases which satisfy test requirements and can test multi-user alternation behavior. Aiming at the problems, this paper proposes an approach which gets field data from Web logs and uses field data to create test cases, gathers user behavior data and user session data from Web logs and proposes a new test approach for Web application based on user behavior and user session approach. It confirms the approach’s effectiveness in coverage and fault detection through experiment.

Key words: Web log, field data, user behavior, software test

中图分类号: