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] 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
  • [2] Test Case Generation and Optimization for User Session-based Web Application Testing
    Qian Zhongsheng
    JOURNAL OF COMPUTERS, 2010, 5 (11) : 1655 - 1662
  • [3] Research of Automatic Test Case Generation Algorithm Based on Improved Particle Swarm Optimization
    Wu, Weiwei
    PROCEEDINGS OF THE 2016 4TH INTERNATIONAL CONFERENCE ON MACHINERY, MATERIALS AND COMPUTING TECHNOLOGY, 2016, 60 : 1558 - 1562
  • [4] The Research of Test Case Generation and Its Optimization Methods Based on Orthogonal Test Method and Greedy Algorithm
    Tian, Pei
    Leng, Huaijing
    Yang, Shaohua
    Wang, Yufang
    2009 INTERNATIONAL CONFERENCE ON INTELLIGENT HUMAN-MACHINE SYSTEMS AND CYBERNETICS, VOL 1, PROCEEDINGS, 2009, : 474 - 477
  • [5] A Method for Test Case Generation by Improved Genetic Algorithm Based on Static Structure of Procedure
    Wen Jing
    Zhang Yikun
    Zhao Ming
    Chen Hao
    Hei Xinhong
    Shen Jianxiong
    PROCEEDINGS OF THE 2017 12TH IEEE CONFERENCE ON INDUSTRIAL ELECTRONICS AND APPLICATIONS (ICIEA), 2017, : 1499 - 1504
  • [6] Effective Generation of Test Case Based on Genetic Algorithm
    Shi, Zhiguo
    Zou, Liren
    Tong, Dapeng
    Wang, Mingqian
    MECHATRONICS AND INDUSTRIAL INFORMATICS, PTS 1-4, 2013, 321-324 : 2952 - 2955
  • [7] Minimal Test Suite Automatic Generation Method Based on Petri Net
    Su, Jianyuan
    Wang, Lingling
    Liang, Hongyan
    Zhao, Xin
    Wu, Lingyan
    PROCEEDINGS OF 2008 INTERNATIONAL PRE-OLYMPIC CONGRESS ON COMPUTER SCIENCE, VOL I: COMPUTER SCIENCE AND ENGINEERING, 2008, : 264 - 267
  • [8] Hierarchical Clustering Driven Test Case Selection in Digital Circuits
    Ryan, Conor
    Kshirsagar, Meghana
    Gupt, Krishn Kumar
    Rosenbauer, Lukas
    Sullivan, Joseph
    PROCEEDINGS OF THE 16TH INTERNATIONAL CONFERENCE ON SOFTWARE TECHNOLOGIES (ICSOFT), 2021, : 589 - 596
  • [9] Using user sessions for test case generation and execution
    Alsmadi, Izzat
    Magel, Kenneth
    IMECS 2008: INTERNATIONAL MULTICONFERENCE OF ENGINEERS AND COMPUTER SCIENTISTS, VOLS I AND II, 2008, : 963 - +
  • [10] A Design Method of Performance Test Case Based on kNN Algorithm
    Zeng, Ji-jun
    Mei, Fa-mao
    Huang, De-xin
    2019 INTERNATIONAL CONFERENCE ON ENERGY, POWER, ENVIRONMENT AND COMPUTER APPLICATION (ICEPECA 2019), 2019, 334 : 368 - 371