首页> 中文期刊> 《指挥控制与仿真》 >可变力度组合测试的Web服务用例集生成方法∗

可变力度组合测试的Web服务用例集生成方法∗

         

摘要

The feature of Web services makes it requires automated testing method, however, the existed testing method may lead to the redundancy of test suite and the decrease of fault detecting ability, since it cannot handle scenarios where the strengths of the different interactions are not uniform. To avoid this limitation, the actual interaction relationship should be made sufficient consideration, construct the Tree model based on WSDL, one⁃test⁃at⁃a⁃time strategy are proposed to generate variable strength combinatorial test suite, Subsequently,minimize the test cases by using constrain rules. The results show that compared with conventional random testing, the proposed approach can detect more faults with the same number of test cases and optimality on the size of existed approach.%Web服务的特点使得它需采用自动化测试的方法,而现有的方法由于对服务描述文件中各元素间实际关系考虑不足,进而导致测试用例的冗余,并且错误检测能力较差。针对该问题,文中对元素间实际交互关系进行了研究,根据WSDL文档建立形式化树模型,采用基于One⁃test⁃at⁃a⁃time策略的可变力度的组合测试方法生成测试用例集,随后根据数据约束规则获取最优测试用例集。实验表明,与随机测试相比,该方法在同样的测试用例数量上,能够检测更多的错误,并且在用例规模上优于现有的方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号