在深入分析Web服务不确定性的基础上,提出一种Web服务测试方法。通过引入可信度阈值进行检验,该方法对异常候选服务具有较强的抗干扰性,能够有效测试出候选服务的可信度、每个测试用例的期望标准输出及其测试能力。该方法根据可信度对候选服务进行排序,为服务使用者选择合理的Web服务提供了重要参考依据。该方法不仅可以测试单个Web服务,还能够对组合Web服务进行测试。最后,通过测试实验验证了该方法的可行性和有效性。
Based on the investigation of the uncertainty of Web services, an approach to web services testing is proposed. By introducing the threshold of trustworthiness,the approach has the anti-jamming ability against abnormal web services. And the approach can quantify the trustworthiness of candidate web services and the oracle and capability of each test case. Moreover, the approach can rank web services in terms of trustworthiness,which provides a criterion for users to select web services. In addition, the approach can not only test a simple service ,but also composite web services. Finally,an experiment is designed and performed to prove the feasibility and effectiveness of the approach.