摘要
软件测试是保证软件质量,提供可靠服务的重要技术手段;目前基于Web Service的分布式软件越来越多,其测试技术手段也越来越受到关注;Web Service的分布性和多样性使手工测试变得非常低效,因而需要不断提高WebService测试的自动化程度;另外,云计算因其计算成本低、可伸缩性强的特点为自动化测试提供了新的支持环境;本文结合Web Service的浏试需求,首次提出了基于云环境的Web Service接口自动化测试的技术框架,分析了框架内原子Web Service、组合Web Service测试的关键技术,并研发了基于CloudStack云平台的自动化测试的原型系统;实验结果表明,文章所提出的基于云平台的Web Service自动化测试方案可行且提高了测试效率。
Software testing is an important means to ensure software quality and reliable service.Currently,Web service-based distributed software gets increasing number and its test methods also concern of many people.Manual testing methods of web service are very inefficient due to Web Service's distribution and diversity,thus continuously improving the Web Services' test automation is necessary.Cloud computing provides a new supporting platform of automated testing featuring low computational cost and strong scalability.In this paper,we analyze the Web Services' test requirements,and firstly propose a technical framework of test automation for Web Service interface based on cloud environment.What's more,we analyze the key technologies of atomic Web Service and composite web services test in the proposed framework,and we have developed a prototype system for automated test based on CloudStack platforms.Finally,the experimental results show that the proposed cloud-based automated test scheme for web service is feasible and greatly improves the testing efficiency.
出处
《计算机测量与控制》
2015年第7期2247-2251,共5页
Computer Measurement &Control
基金
上海市教育委员会科研创新项目(12ZZ060)
上海市科委启明星项目(12QB1402300)