Font Size: a A A

Design And Implementation Of An Automated Testing Platform For Service-oriented Systems

Posted on:2019-11-04Degree:MasterType:Thesis
Country:ChinaCandidate:W Y ZhaoFull Text:PDF
GTID:2428330590992433Subject:Software engineering
Abstract/Summary:PDF Full Text Request
The features of service oriented architecture include loose coupling,location transparency and protocol independence.Thus become the mainstream architecture of enterprise application system.It enables enterprise system architecture to be more flexible,enabling enterprises to respond quickly and effectively to business changes,and use business changes to gain competitive advantage.However,while SOA is improving flexibility,in order to support the rapid and flexible growth of architecture and business,the number of systems is increasing.And the system path covered by a single business process is also growing.Therefore,the test cost and test complexity of the serviceoriented systems are also getting higher and higher.The traditional automated testing tools and platforms are difficult to support such a complex test scenario.What kind of automated testing platform is needed for service-oriented systems and how to improve the efficiency of automated testing of service-oriented systems.This series of problems poses new challenges for software testing,but also provides new opportunities.This paper starts from the requirement of automated testing for the service-oriented systems,studies the implementation of automated testing on the service-oriented systems,designs and implements an automated testing platform to support interface testing and integration testing on the service-oriented systems.In the process of design and implementation of this automated test platform,the stability,flexibility and generality of the automated testing are mainly studied.Considering of the characteristics of the service-oriented systems,this test platform does not rely on web driven automated testing,it starts from the service of the tested system,covers the complete system path,completes the corresponding business automated testing.It solves the problem of the failure of automated script and the failure of execution caused by the frequent change of web UI.And therefore the automated testing execution and script maintenance tend to be stable.The test template of this test platform is based on component,and enriches the automated atomic ability of the test platform by implementing various test components.A test template that is suitable for a business scenario or function is constructed through components,and the ability of automated testing scripts to change flexibly and freely is achieved by adding and deleting functions of components in templates.The test template of this test platform can be composed of multiple components for integration test of a complex system path or be composed of a single component for interface testing of a single system interface.Therefore,the interface test platform and integration test platform can be integrated to form a general automated testing platform,which can reduce the cost of implementation and learning,and show the overall situation of automated testing.At present,the automated testing platform has been on-line and has been running for 24 months.In the background of using other automated testing tools,the cost of automated implementation of a business function needs to occupy more than half of the total testing cycle.The cost of automated implementation is reduced to 1/3 of the whole test cycle through this automated testing platform.The average execution time of a single test case is about 60 seconds,half the time of the original automated testing,which is a significant improvement in the efficiency of the test.And the stability of automated testing execution has been greatly improved.The total success rate of test cases increased from 60% to nearly 100%.
Keywords/Search Tags:SOA, Software Testing, Automated Testing, Interface Testing, Integration Testing
PDF Full Text Request
Related items