首页> 外国专利> Automatic fault injection into a JAVA virtual machine (JVM)

Automatic fault injection into a JAVA virtual machine (JVM)

机译:自动将故障注入到JAVA虚拟机(JVM)中

摘要

A system and method of automatically injecting faults and errors into a JAVA application or program to test the reliable and proper handling of various faults and exceptions under various conditions. An automatic fault injector is coupled to the Java Virtual Machine (JVM). The JAVA program is initiated to inject the faults by determining locations within the JAVA program to where respective faults are to be injected. All the faults are found from the JAVA objects by traversing the class for each of the JAVA objects and searching for all exceptions from the classes, their methods, and their respective attributes. Determination is made of whether and when one of the respective faults should be injected. An exception is automatically and timely triggered to inject a respective fault by the automatic fault injector at a corresponding locations when the corresponding location has been reached and when it has determined that the respective fault should be injected at an appropriate time. The determination of whether and when a fault or error is to be automatically injected is based on the setting of an automatic fault injection option.
机译:一种将故障和错误自动注入到JAVA应用程序或程序中以测试各种条件下各种故障和异常的可靠和正确处理的系统和方法。自动故障注入器耦合到Java虚拟机(JVM)。通过确定JAVA程序中要注入相应故障的位置,启动JAVA程序以注入故障。通过遍历每个JAVA对象的类并从类,它们的方法以及它们各自的属性中搜索所有异常,可以从JAVA对象中找到所有故障。确定是否以及何时应注入相应的故障之一。当到达相应位置并且确定应该在适当的时间注入相应的故障时,将自动并及时触发异常,以由自动故障注入器在相应的位置注入相应的故障。是否自动注入故障或错误以及何时注入是基于自动故障注入选项的设置。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号