An automatic test case generation method based on user session and agglutinate hierarchical clustering algorithm

被引:0
|
作者
Guo, Yang [1 ]
Lu, Lu [1 ,2 ]
机构
[1] South China Univ Technol, Sch Comp Sci & Engn, Guangzhou 510000, Guangdong, Peoples R China
[2] South China Univ Technol, Modern Ind Technol Res Inst, Zhongshan 528400, Guangdong, Peoples R China
关键词
User sessions; test case; test suits; agglutinate hierarchy clustering;
D O I
10.3233/JCM-180862
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
The development of web applications based on the Internet, especially the mobile Internet, is very rapid and the traditional test methods have limitations. This paper proposes a method based on user session similarity and an improved agglutination clustering algorithm to automatically generate test cases. This approach not only guarantees the validity of the test, but also maintains the order in the user's session. This method gives the definition of similarity between two URLs, and then uses a dynamic programming algorithm to calculate the similarity between two user sessions. Secondly, a bottom-up aggregation-level algorithm is used to similarly cluster user sessions. Finally, a new method was used to select representative test cases and remove redundant test cases. The experimental results show that the method of this paper can generate suitable test cases quickly and efficiently.
引用
收藏
页码:57 / 70
页数:14
相关论文
共 50 条
  • [1] Particle Swarm Optimization Algorithm For Test Case Automatic Generation Based On Clustering Thought
    Dai YueMing
    Wu YiTing
    Wu DingHui
    2015 IEEE INTERNATIONAL CONFERENCE ON CYBER TECHNOLOGY IN AUTOMATION, CONTROL, AND INTELLIGENT SYSTEMS (CYBER), 2015, : 1479 - 1485
  • [2] Test Case Generation Based on Hierarchical Genetic Algorithm
    Liu Shurong
    Hu Changzhen
    Xue Jingfeng
    Li Zhiqiang
    PROCEEDINGS OF THE 2014 INTERNATIONAL CONFERENCE ON MECHATRONICS, CONTROL AND ELECTRONIC ENGINEERING, 2014, 113 : 262 - 265
  • [3] Automatic Generation of Test Case based on GATS Algorithm
    Shen, Xiajiong
    Wang, Qian
    Wang, Peipei
    Zhou, Bo
    2009 IEEE INTERNATIONAL CONFERENCE ON GRANULAR COMPUTING ( GRC 2009), 2009, : 496 - +
  • [4] A Heuristic Automatic Clustering Method Based on Hierarchical Clustering
    LaPlante, Francois
    Belacel, Nabil
    Kardouchi, Mustapha
    AGENTS AND ARTIFICIAL INTELLIGENCE, ICAART 2014, 2015, 8946 : 312 - 328
  • [5] Research on Automatic Test Case Generation Based on Genetic Algorithm
    Liu, Yang
    Wang, Dan
    Fu, Li-Hua
    INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND COMMUNICATION ENGINEERING (CSCE 2015), 2015, : 939 - 946
  • [6] Test Case Generation and Optimization for User Session-based Web Application Testing
    Qian Zhongsheng
    JOURNAL OF COMPUTERS, 2010, 5 (11) : 1655 - 1662
  • [7] A Method of Automatic Test Case Generation Based on CT-LSSVM Algorithm in FAO Systems
    Wang, Sha
    Shang, Qingyuan
    Ling, Zhujun
    Liu, Dandan
    Chen, Xiangxian
    2020 IEEE 5TH INTERNATIONAL CONFERENCE ON INTELLIGENT TRANSPORTATION ENGINEERING (IEEE ICITE 2020), 2020, : 259 - 264
  • [8] A Spectral Clustering Algorithm Based on Hierarchical Method
    Chen, Xiwei
    Liu, Li
    Luo, Dashi
    Xu, Guandong
    Lu, Yonggang
    Liu, Ming
    Gao, Rongmin
    AGENTS AND DATA MINING INTERACTION (ADMI 2013), 2014, 8316 : 111 - 123
  • [9] A hierarchical clustering algorithm based on the Hungarian method
    Goldberger, Jacob
    Tassa, Tamir
    PATTERN RECOGNITION LETTERS, 2008, 29 (11) : 1632 - 1638
  • [10] Automatic Test Case Generation based on Genetic Algorithm and Mutation Analysis
    Haga, Hirohide
    Suehiro, Akihisa
    2012 IEEE INTERNATIONAL CONFERENCE ON CONTROL SYSTEM, COMPUTING AND ENGINEERING (ICCSCE 2012), 2012, : 119 - 123