为提高web service性能测试的效率和自动化程度,提出了一种基于模型的web service性能测试方法。web service性能测试模型分层建立,测试步骤模型、测试事务模型、测试调度模型从下至上可实现不同层间测试模型的重用。基于该模型编制了web service性能测试工具软件,并进行了实际应用,为基于模型的自动化性能测试提供了可行的解决方案。
Software performance testing is one of the important techniques used to assure the quality of web services. In order to improve the efficiency and automatization of web service perform- ance testing, a model-based method for web service performance testing is proposed. Web service performance testing models built by distinct layers are presented. The layers of testing models includes test step model layer, test transaction model layer and test scenario model layer from the bottom up. The lower layer models were reusable for the higher layer model building. Further-more, a web service performance testing tool is implemented, and an efficient solution is provided for model-based automatic performance testing.