Search CS site
Search WWW
Maintained by web@cs.rutgers.edu

Rutgers University
DCIS Qualifying Exam
Date: Wednesday May 5th, 2004
Time: 1:30 P.M.
Location: CoRE Building room 301, Busch Campus, Rutgers University

Title: Testing of Java Web Services for Robustness


Speaker: Chen Fu, Rutgers University


Examination committee: Prof. Barbara Ryder, Prof. Thu Nguyen, Prof. Daniel Jimnez and Dr. Leonid Khachiyan

Abstract:

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) in Java web services using compiler-directed fault injection. The analysis allows compiler-generated instrumentation to guide the fault injection and to record the recovery code exercised. (An inhected fault is experienced as a Java exception.) The analysis (i) identifies the exception-flow 'def-uses' to be tested in this manner, (ii) determines the kind of fault to be requested at a program point, and (iii) 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 Java web services benchmarks.