...
首页> 外文期刊>Software Engineering Notes >Testing of Java Web Services for Robustness
【24h】

Testing of Java Web Services for Robustness

机译:测试Java Web Services的健壮性

获取原文
获取原文并翻译 | 示例
           

摘要

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 (ⅰ) identifies the exception-flow 'def-uses' to be tested in this manner, (ⅱ) determines the kind of fault to be requested at a program point, and (ⅲ) 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.
机译:本文介绍了一种新的编译时分析,该分析为使用编译器控制的故障注入的Java Web服务中的错误恢复代码(即异常处理程序)的白盒覆盖测试提供了一种测试方法。该分析使编译器生成的仪器能够指导故障注入并记录所执行的恢复代码。 (注入的故障被视为Java异常。)分析(ⅰ)标识要以这种方式测试的异常流“ def-uses”,(ⅱ)确定要在程序点请求的故障的类型, (ⅲ)找到适当的代码检测位置。该分析结合了完善措施,这些措施建立了足够的上下文敏感性,以确保相对精确的def-use链接并消除由于明显不可行的控制流而导致的一些虚假的def-use。运行时测试工具使用异常def-catch指标计算这些链接的测试覆盖率。使用该方法进行的实验证明,在一组中等大小的Java Web服务基准测试上获得良好的测试覆盖率时,可以提高精度。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号