[1]赵瑞莲,郭小红,王微微,等.面向Web服务器端敏感路径的客户端扩展有限状态机测试生成[J].哈尔滨工程大学学报,2020,41(6):884-891.[doi:10.11990/jheu.201901013]
 ZHAO Ruilian,GUO Xiaohong,WANG Weiwei,et al.Client-side extended finite state machine test case generation based on the server-side sensitive path coverage for web applications[J].hebgcdxxb,2020,41(6):884-891.[doi:10.11990/jheu.201901013]
点击复制

面向Web服务器端敏感路径的客户端扩展有限状态机测试生成(/HTML)
分享到:

《哈尔滨工程大学学报》[ISSN:1006-6977/CN:61-1281/TN]

卷:
41
期数:
2020年6期
页码:
884-891
栏目:
出版日期:
2020-06-05

文章信息/Info

Title:
Client-side extended finite state machine test case generation based on the server-side sensitive path coverage for web applications
作者:
赵瑞莲 郭小红 王微微 尚颖
北京化工大学 信息科学与技术学院, 北京 100029
Author(s):
ZHAO Ruilian GUO Xiaohong WANG Weiwei SHANG Ying
School of Information Science and Technology, Beijing University of Chemical Technology, Beijing 100029, China
关键词:
软件测试Web敏感路径路径覆盖扩展有限状态机模型Memetic算法聚类测试用例生成测试脚本生成
分类号:
TP311.5
DOI:
10.11990/jheu.201901013
文献标志码:
A
摘要:
为对Web应用进行有效的测试,本文提出了一种面向Web应用服务器端敏感路径覆盖的客户端扩展有限状态机测试用例生成方法。针对Web应用客户端扩展有限状态机模型,以Web应用服务器端的敏感路径覆盖为目标,利用Memetic演化算法实现客户端扩展有限状态机模型的测试用例自动生成,对Web应用进行测试。同时,为解决由模型生成的抽象测试用例不可直接执行的问题,提出了一种基于Selenium的测试脚本自动构建方法,通过分析扩展有限状态机模型迁移的特征,利用谱聚类算法实现迁移聚类,依据映射规则将聚类之后的迁移映射为测试脚本,形成迁移脚本库,将抽象测试用例转换为可执行的测试用例。实验结果表明:基于Selenium的测试脚本自动构建能有效地将抽象测试用例转化为可执行的测试脚本;面向Web服务器端敏感路径的客户端扩展有限状态机测试用例生成方法能有效地实现Web服务器端敏感路径的覆盖,对服务器端的敏感路径进行测试。

参考文献/References:

[1] DO?AN S, BETIN-CAN A, GAROUSI V. Web application testing:a systematic literature review[J]. Journal of systems and software, 2014, 91:174-201.
[2] LEE T K, WEI K T, GHANI A A A. Systematic literature review on effort estimation for Open Sources (OSS) Web application development[C]//Proceedings of 2016 Future Technologies Conference. San Francisco, 2016:1158-1167.
[3] 缪淮扣, 陈圣波, 曾红卫. 基于模型的Web应用测试[J]. 计算机学报, 2011, 34(6):1012-1028.MIAO Huaikou, CHEN Shengbo, ZENG Hongwei. Model-based testing for Web applications[J]. Chinese journal of computers, 2011, 34(6):1012-1028.
[4] SCHUR M, ROTH A, ZELLER A. Mining workflow models from web applications[J]. IEEE transactions on software engineering, 2015, 41(12):1184-1201.
[5] WANG Weiwei, GUO Junxia, LI Zheng, et al. EFSM-oriented minimal traces set generation approach for web applications[C]//Proceedings of 2018 IEEE 42nd Annual Computer Software and Applications Conference. Tokyo, 2018:12-21.
[6] ALSHAHWAN N, HARMAN M. Automated web application testing using search based software engineering[C]//Proceedings of 2011 26th IEEE/ACM International Conference on Automated Software Engineering. Lawrence, KS, USA, 2011.
[7] ZHAO Ruilian, LYU M R, MIN Yinghua. Automatic string test data generation for detecting domain errors[J]. Software testing verification & reliability, 2010, 20(3):209-236.
[8] LI Yuanfang, DAS P K, DOWE D L. Two decades of Web application testing-a survey of recent advances[J]. Information systems, 2014, 43(3):20-54.
[9] 任君, 赵瑞莲, 李征. 基于禁忌搜索算法的可扩展有限状态机模型测试数据自动生成[J]. 计算机应用, 2011, 31(9):2440-2443, 2452.REN Jun, ZHAO Ruilian, LI Zheng. Automatic generation of test data for extended finite state machine models based on Tabu search algorithm[J]. Journal of computer applications, 2011, 31(9):2440-2443, 2452.
[10] JAN S, NGUYEN C D, ARCURI A, et al. A search-based testing approach for XML injection vulnerabilities in web applications[C]//Proceedings of 2017 IEEE International Conference on Software Testing, Verification and Validation. Tokyo, 2017:356-366.
[11] 郭俊霞, 郭仁飞, 许南山, 等. 基于Session的Web应用软件EFSM模型构建方法研究[J]. 计算机科学, 2018, 45(4):203-207, 214.GUO Junxia, GUO Renfei, XU Nanshan, et al. Study on construction of EFSM model for Web application based on Session[J]. Computer science, 2018, 45(4):203-207, 214.
[12] AHMED M A, ALI F. Multiple-path testing for cross site scripting using genetic algorithms[J]. Journal of systems architecture, 2016, 64:50-62.
[13] MARASHDIH A W, ZAABA F. Web security:detection of cross site scripting in php web application using genetic algorithm[J]. International journal of advanced computer science and applications, 2017, 8(5):64-75.
[14] HARMAN M, MCMINN P. A theoretical and empirical study of search-based testing:local, global, and hybrid search[J]. IEEE transactions on software engineering, 2010, 36(2):226-247.
[15] FRASER G, ARCURI A, MCMINN P. A memetic algorithm for whole test suite generation[J]. Journal of systems and software, 2015, 103(2):311-327.

相似文献/References:

[1]魏霖静,宁璐璐,练智超,等.基于Logistic增长神经网络模型的软件测试方法[J].哈尔滨工程大学学报,2017,38(04):646.[doi:10.11990/jheu.201605108]
 WEI Linjing,NING Lulu,LIAN Zhichao,et al.Software testing method for Logistic growth model based on neural network[J].hebgcdxxb,2017,38(6):646.[doi:10.11990/jheu.201605108]
[2]宫云战,徐健豪,邢颖.萤火虫算法在测试用例集约简中的应用[J].哈尔滨工程大学学报,2020,41(4):577.[doi:10.11990/jheu.201901007]
 GONG Yunzhan,XU Jianhao,XING Ying.Application of firefly algorithm in test suite reduction[J].hebgcdxxb,2020,41(6):577.[doi:10.11990/jheu.201901007]

备注/Memo

备注/Memo:
收稿日期:2019-01-05。
基金项目:国家自然科学基金项目(61672085,61472025,61702029).
作者简介:赵瑞莲,女,教授,博士生导师;尚颖,女,副教授.
通讯作者:尚颖,E-mail:shangy@mail.buct.edu.cn.
更新日期/Last Update: 2020-07-22