There are some traditional methods to simulate those falults, but these methods often make damage on the system resource or the code of the SUT.Using the interception service of Windows system, non-intrusive resource fault injection methods are proposed to simulate some common resource faults.Then, a fault injection tool named JariFI is designed and it can inject faults needed in software testing and reliability evaluation.At last, the accuracy and the function applicability about the software are verified by the experiment.%可靠性验证过程需要模拟一些较为苛刻的测试场景,如出现网络带宽受限、内存过载、文件拒绝访问等故障类型,而传统方法常常会对系统资源或被测软件造成破坏或影响.在Windows 环境下利用Detours的截获机制研究了三种非侵入式故障注入技术,对常见的资源故 障进行模拟.然后,设计开发了一款故障注入工具,能够快速自动地在软件测试或可靠性验证中实施 故障注入试验,最后,通过试验验证了软件实现的正确性和功能的适用性.
展开▼