摘要
为保证Web服务的质量,需要对QoS(Quality of Service)进行测试。针对QoS测试中测试用例的自动生成和动态更新这些难点,基于实验室自主开发的Web服务超市平台,创新性地提出两阶段QoS测试方法:预测试阶段根据不同的数据选取策略,从数据池中不同的数据分区随机选择需要的数据组成若干测试用例进行测试;实值测试则将原Web服务包装成一个新的Web服务,记录原服务的输入和输出数据,作为实值测试数据种子,获得一定数量的将实时测试数据种子后,实施组合测试,将两种测试值融合后得到动态的服务的QoS测试值。实验表明,使用该QoS测试值进行服务择优,能有效提高用户的满意度。
To ensure the quality of Web services, QoS (Quality of Service)should be tested. Aiming to the difficulty of automatic generation of test cases and dynamic update, a novel two-stage QoS test method based on the Web service supermarket platform developed by our lab was put forward. At the pre-testing stage, according to different data selection strategies, data was selected randomly from the data partition of data pool and composed some test cases. At the real-test stage, the original service was enveloped as a new service which recorded the input and output of the old service and make them as the real-test seeds and implemented the combination test after collecting enough seeds. The two test values was fused as the dynamic QoS test value. Experimental results show that to apply this QoS test value to service selection will improve customer satisfaction efficiently.
出处
《电子设计工程》
2011年第3期104-107,112,共5页
Electronic Design Engineering
基金
国家自然科学基金资助项目(90818004)
湖南省教育厅科研基金资助项目(09K085
09C402)