Automated Test Case Generation for Java']Java EE Based Web Applications

被引:0
|
作者
Fuchs, Andreas [1 ]
机构
[1] Univ Munster, Dept Informat Syst, Leonardo Campus 3, D-48149 Munster, Germany
来源
TESTS AND PROOFS, TAP 2018 | 2018年 / 10889卷
关键词
Automated test case generation; Web applications; Symbolic execution; !text type='Java']Java[!/text] Enterprise Edition;
D O I
10.1007/978-3-319-92994-1_10
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Automated testing is important for validating the behavior of programs with complex user interfaces, such as web applications. In the enterprise context, web applications are popular client-server programs that provide rendered web pages as a user front-end, and the business logic is typically implemented on the server-side. In this paper, we present an approach to automatically generate test cases for component-based user interfaces for web applications built on the Java EE platform. We generate a sequence of user actions to navigate through the web application. For each supported user action, we gather constraints from the view template describing the web page (e.g. a button must be enabled in order to be clicked by a user), as well as constraints that are introduced while executing a server-side component. We have implemented our approach in a tool to determine its practical use in an experiment.
引用
收藏
页码:167 / 176
页数:10
相关论文
共 50 条
  • [1] Driver Generation for Java']Java EE Web Applications
    Dietrich, Jens
    Gauthier, Francois
    Krishnan, Padmanabhan
    2018 25TH AUSTRALASIAN SOFTWARE ENGINEERING CONFERENCE (ASWEC), 2018, : 121 - 125
  • [2] Automated Test Generation for Java']Java Generics
    Fraser, Gordon
    Arcuri, Andrea
    SOFTWARE QUALITY: MODEL-BASED APPROACHES FOR ADVANCED SOFTWARE AND SYSTEMS ENGINEERING, 2014, 166 : 185 - 198
  • [3] Checking Java']Java Assertions Using Automated Test-Case Generation
    Caballero, Rafael
    Montenegro, Manuel
    Kuchen, Herbert
    von Hof, Vincent
    LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION (LOPSTR 2015), 2015, 9527 : 221 - 226
  • [4] An Automated Testing Tool for Java']Java Application Using Symbolic Execution based Test Case Generation
    Monpratarnchai, Supasit
    Fujiwara, Shoichiro
    Katayama, Asako
    Uehara, Tadahiro
    2013 20TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2013), VOL 2, 2013, : 93 - 98
  • [5] Palus: A Hybrid Automated Test Generation Tool for Java']Java
    Zhang, Sai
    2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2011, : 1182 - 1184
  • [6] Comparative Analysis for Web Applications Based on REST Services: MEAN Stack and Java']Java EE Stack
    Sayago Heredia, Jaime
    Chango Sailema, Gustavo
    IBERO-AMERICAN SYMPOSIUM ON COMPUTER PROGRAMMING JOINTLY HELD WITH THE INTERNATIONAL CONGRESS ON TECHNOLOGY EDUCATION, 2018, : 82 - 100
  • [7] Finding Security Vulnerabilities in Java']Java Web Applications with Test Generation and Dynamic Taint Analysis
    Huang, Yu-Yu
    Chen, Kung
    Chiang, Shang-Lung
    PROCEEDINGS OF THE 2011 2ND INTERNATIONAL CONGRESS ON COMPUTER APPLICATIONS AND COMPUTATIONAL SCIENCE, VOL 2, 2012, 145 : 133 - 138
  • [8] Developing Java']Java EE Applications Based on Utilizing Design Patterns
    Liu, Shuang
    Chen, Peng
    2009 WASE INTERNATIONAL CONFERENCE ON INFORMATION ENGINEERING, ICIE 2009, VOL II, 2009, : 398 - +
  • [9] Model-based analysis of Java']Java EE web security misconfigurations
    Martinez, Salvador
    Cosentino, Valerio
    Cabot, Jordi
    COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2017, 49 : 36 - 61
  • [10] Model-based Analysis of Java']Java EE Web Security Configurations
    Martinez, Salvador
    Cosentino, Valerio
    Cabot, Jordi
    2016 IEEE/ACM 8TH INTERNATIONAL WORKSHOP ON MODELING IN SOFTWARE ENGINEERING (MISE), 2016, : 55 - 61