Journal of Frontiers of Computer Science and Technology ›› 2015, Vol. 9 ›› Issue (7): 803-811.DOI: 10.3778/j.issn.1673-9418.1410008
Previous Articles Next Articles
WANG Fei+, LIU Chao
Online:
Published:
王 飞+,刘 超
Abstract: With the development of Web, multi-application Web systems become a mainstream. It provides comprehensive and convenient services for users. Interactions between Web applications directly affect the functionality and reliability of the Web system, and interoperability has become one of the main features of the Web system. Compared with traditional software systems, Web systems are upgraded more frequently, so regression testing is an important method to guarantee the quality of Web systems. This paper presents a method to augment the interoperability test suite for Web systems while the access log is used in creating new test cases in the regression testing phase. This method uses the idea of model-driven testing. Firstly, test targets are described by sequence diagram model, and the model is translated into basic test sequences. Then, user visit sequences are got from access logs by filtering, merging and parsing them. Finally, the two kinds of sequences above are matched according to certain criteria, and the current test suite is augmented with expansion rules.
Key words: interoperability testing, test suite augmentation, model-driven testing, Web system
摘要: 随着Web的发展,多应用Web系统成为一种主流形式,它能够为用户提供综合便捷的服务。Web系统中各应用间的交互直接影响着Web系统的功能性和可靠性,互操作性已经成为Web系统的主要特性之一。相较于传统软件系统,Web系统更新升级更为频繁,回归测试是保障Web系统质量的重要手段。针对以上问题,提出了一种基于访问日志的Web系统互操作性测试用例集扩充方法,利用Web系统独有的日志信息,在回归测试阶段对测试用例集进行扩充。该方法采用模型驱动测试的思想,使用顺序图对测试目标进行建模,转化成基础测试序列,然后将Web系统日志信息进行筛选、合并、解析,进而得到用户访问序列,将两种序列按照一定规则进行匹配,并结合相应的扩充规则对当前测试用例集进行扩充。
关键词: 互操作性测试, 测试用例集扩充, 模型驱动测试, Web系统
WANG Fei, LIU Chao. Web System Interoperability Test Suite Augmentation Based on Log[J]. Journal of Frontiers of Computer Science and Technology, 2015, 9(7): 803-811.
王飞,刘超. 基于日志的Web系统互操作测试用例扩充方法[J]. 计算机科学与探索, 2015, 9(7): 803-811.
0 / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://fcst.ceaj.org/EN/10.3778/j.issn.1673-9418.1410008
http://fcst.ceaj.org/EN/Y2015/V9/I7/803
/D:/magtech/JO/Jwk3_kxyts/WEB-INF/classes/