Sciweavers

Share
ISSTA
2004
ACM

Testing of java web services for robustness

11 years 7 months ago
Testing of java web services for robustness
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 injected fault is experienced as a Java exception.) The analysis (i) identifies the exceptionflow ’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...
Chen Fu, Barbara G. Ryder, Ana Milanova, David Won
Added 30 Jun 2010
Updated 30 Jun 2010
Type Conference
Year 2004
Where ISSTA
Authors Chen Fu, Barbara G. Ryder, Ana Milanova, David Wonnacott
Comments (0)
books