Font Size: a A A

Distributed Software Interface Automated Testing Based On Cloud Environment

Posted on:2016-08-21Degree:MasterType:Thesis
Country:ChinaCandidate:Q YinFull Text:PDF
GTID:2298330452466419Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Software testing is an important technical means to ensure software quality and providereliable services. Automated testing can improve test efficiency, but in the aspect of testenvironment configuration, there are still a lot of artificial efforts. Cloud computing, featuringwith low cost, strong scalability and rich resources, provides a new automated testing framework,which is able to build more reliable automated testing environment and provide more convenientand cost-efficient software testing services. Currently, the number of Web Service-baseddistributed software has been growing, and their testing techniques also have obtained increasingconcerns. Web Service has the characteristics of the distribution and diversity, which lead to thehigh cost of manual testing, insufficient test data and low efficiency of data generation, so testautomation of Web Service needs to constantly improve.This paper analyzes the resource requirements of Web Service functional testing, and firstproposes a technical framework for Web Service interface test automation based on cloudenvironment. In the new framework, we analyze the key technologies to automatic generation ofatomic Web Service test data and screening of composite Web Service test data, and then utilize atask sets equalization method for parallel scheduling combined with cloud environment.Firstly, this paper puts forward an automatic test method based on cloud environment for theatomic Web Service. By parsing WSDL document, this method can obtain the parameters, returnvalue types and constraints of a function method and allow the user to supplement the constraints.Then we can generate test data, and integrate with test script to generate test cases, finally wedeploy them on cloud environment for automated parallel test.Secondly, we propose an improved method based on BPEL variability test data selection,screening test data and implementing test combined with cloud based elastic deployment. In themethod, we first parse the BPEL document, and then automatically generate variants on basis of26mutation operators which will deploy on cloud environment. Then, filters the test dataaccording to the screening algorithm. Finally, do the same procedures like atomic Web Service. This paper is based on the open source cloud computing platform (Cloud Stack), WebService testing tool WebInject, Java Web development framework (SpringMVC) to build a WebService interface automated testing prototype system on cloud environment. Implement the testtask submission, test data automatic generation, automatic generation of test virtual machine,parallel scheduling using a set of tasks sharing, and the functions of summary and display for testresults.Finally, through the testing experiment of the system, the experimental results show that WebService automation test is feasible and improving the efficiency based on cloud computingplatform.
Keywords/Search Tags:Cloud computing, Automatic test, Web Service, Function test
PDF Full Text Request
Related items