Robustness testing of Java']Java server applications

被引:29
|
作者
Fu, C [1 ]
Milanova, A
Ryder, BG
Wonnacott, DG
机构
[1] Rutgers State Univ, Dept Comp Sci, Piscataway, NJ 08854 USA
[2] Rensselaer Polytech Inst, Dept Comp Sci, Troy, NY 12180 USA
[3] Haverford Coll, Dept Comp Sci, Haverford, PA 19041 USA
基金
美国国家科学基金会;
关键词
reliability; def-use testing; !text type='Java']Java[!/text; exceptions; test coverage metrics;
D O I
10.1109/TSE.2005.51
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents a new compile-time analysis that enables a testing methodology for white-box coverage testing of error recovery code (i.e., exception handlers) of server applications written in Java, using compiler-directed fault injection. The analysis allows compiler-generated instrumentation to guide the fault injection and to record the recovery code exercised. (An injected fault is experienced as a Java exception.) The analysis 1) identifies the exception-flow "def-uses" to be tested in this manner, 2) determines the kind of fault to be requested at a program point, and 3) finds appropriate locations for code instrumentation. The analysis incorporates refinements that establish sufficient context sensitivity to ensure relatively precise def-use links and to eliminate some spurious def-uses due to demonstrably infeasible control flow. A runtime test harness calculates test coverage of these links using an exception def-catch metric. Experiments with the methodology demonstrate the utility of the increased precision in obtaining good test coverage on a set of moderately sized server benchmarks.
引用
收藏
页码:292 / 311
页数:20
相关论文
共 50 条
  • [1] Data flow analysis and testing of Java']Java Server Pages
    Liu, CH
    PROCEEDINGS OF THE 28TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATION CONFERENCE, WORKSHOP AND FAST ABSTRACTS, 2004, : 114 - 119
  • [2] Mutation Testing for Java']Java Database Applications
    Zhou, Chixiang
    Frankl, Phyllis
    SECOND INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION, AND VALIDATION, PROCEEDINGS, 2009, : 396 - 405
  • [3] Testing tool for distributed Java']Java applications
    Ghosh, S
    Bawa, N
    Craig, G
    Kalgaonkar, K
    JAVA/JINI TECHNOLOGIES, 2001, 4521 : 74 - 85
  • [4] GUITest: A Java']Java Library for Fully Automated GUI Robustness Testing
    Bauersfeld, Sebastian
    Vos, Tanja E. J.
    2012 PROCEEDINGS OF THE 27TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2012, : 330 - 333
  • [5] Java']Java server benchmarks
    Baylor, SJ
    Devarakonda, M
    Fink, SJ
    Gluzberg, E
    Kalantar, M
    Muttineni, P
    Barsness, E
    Dimpsey, R
    Munroe, SJ
    IBM SYSTEMS JOURNAL, 2000, 39 (01) : 57 - 81
  • [6] Dynamic Symbolic Execution for the Analysis of Web Server Applications in Java']Java
    Balasubramanian, Daniel
    Zhang, Zhenkai
    McDermet, Dan
    Karsai, Gabor
    SAC '19: PROCEEDINGS OF THE 34TH ACM/SIGAPP SYMPOSIUM ON APPLIED COMPUTING, 2019, : 2178 - 2185
  • [7] Web services & Java']Java server pages - Building distributed applications
    Kanalakis, JM
    DR DOBBS JOURNAL, 2002, 27 (01): : 28 - +
  • [8] An extensible framework for testing distributed Java']Java applications
    Ghosh, S
    Bawa, N
    Craig, G
    Kalgaonkar, K
    JOURNAL OF RESEARCH AND PRACTICE IN INFORMATION TECHNOLOGY, 2001, 33 (02): : 120 - 132
  • [9] Java']Java security extensions for a Java']Java server in a hostile environment
    Wheeler, DM
    Conyers, A
    Luo, J
    Xiong, A
    17TH ANNUAL COMPUTER SECURITY APPLICATIONS CONFERENCE, PROCEEDINGS, 2001, : 64 - 73
  • [10] The Java']Java HotSpot™ Server Compiler
    Paleczny, M
    Vick, C
    Click, C
    USENIX ASSOCIATION PROCEEDINGS JAVA(TM) VIRTUAL MACHINE RESEARCH AND TECHNOLOGY SYMPOSIUM, 2001, : 1 - 12