摘要
Web应用软件一般都具有体系结构复杂、代码量大、页面众多且相互联结的特点,在一定的时间和投入内,显然是无法做到穷尽的测试,而确保Web应用软件可靠性的一个很好的可选方案就是基于使用模型的Web统计测试,以便重点测试用户频繁使用的路径和页面,使测试效率达到最高。针对这个问题,提出了一个能够反映系统真实使用情况的Web统计测试的使用模型WSUM,该模型基于Web应用的导航行为图和日志文件进行构建,对于用户的导航行为的描述更为全面和准确。在此基础上,还提出了基于使用模型WSUM设计和生成测试用例的方法,并给出了应用此方法进行统计测试的例子。
Because Web application has characteristics of complicated structure, large amount of code, plenty of pages linking each other, it is impossible to test completely during limited time and investment. In order to guarantee the reliability of Web application, statistical testing of web application based on usage model is one of the best ways. By this way, paths and pages which users frequently use can be tested efficiently. In order to cope with this problem, the Web Application usage model named WSUM which can reflect true usage of system is offered. WSUM based on Pages Navigation Graph(PNG) and log file can describe navigation of users wholly and definitely. Besides, methods for test suites generation based on WSUM and relevant cases of statistical testing are introduced.
出处
《计算机技术与发展》
2009年第12期113-116,共4页
Computer Technology and Development
基金
国家高技术研究发展(863)计划项目(2009AA01Z147)
关键词
WEB应用软件
统计测试
使用模型
Web application software
statistical testing
usage model