Font Size: a A A

Design And Implementation Of Workflow-oriented Service Invocation Simulation Testing System

Posted on:2023-05-11Degree:MasterType:Thesis
Country:ChinaCandidate:C Q QianFull Text:PDF
GTID:2558307061451304Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the expansion of software scale and the increase of system complexity,distributed architecture software such as microservices and SOA has gradually been widely used.In these systems,a complex business logic can be refined into multiple sub-services or sub-modules,which makes the program logic clearer and easier to develop and maintain.At the same time,the refined components have lower hardware requirements and are easier to deploy and update.The distributed architecture not only brings convenience to the software development,but also brings pressure to the testing,because of the large number of interfaces,complex invocation processes,and frequent business changes.The existing methods and tools do not have a good solution to test the software with numerous and complex interfaces.How to communicate and cooperate multiple interfaces with limited functions according to the business process to form services with greater granularity and more powerful functions,and how to test these services is an important issue in the field of software interface testing.To solve above problems,a workflow-oriented service invocation simulation testing system is designed and implemented in the thesis.The system can simulate the invocation of services according to the sequence,branch,selection and other process combinations of interfaces in the distributed architecture software,to complete the interface testing of the entire software system.The main work is as follows:(1)To solve the problem of distributed architecture interface testing,a workflow-based service process modeling and interface testing solution is proposed.An interface model based on Open API3.0is designed to describe the key features of the interface.Based on BPMN2.0,interface process orchestration rules are designed to combine relevant interfaces into a complete business process,solving the problems of complex interface process combination and invocation collaboration relationship in the service under test.(2)Based on the solution,a web-based workflow-oriented service invocation simulation testing system is designed and implemented.The front-end of the system provides interface combination function and interface model configuration function through graphical interface.The backend of the system implements a customized workflow engine for service process invocation,which can read,verify and store service flow diagram,realizing process testing of services composed of multiple interfaces.At the same time,a concurrent testing tool is implemented,which can perform multithreaded stress testing on the system under test.(3)The interface composition orchestration function,process testing function and concurrency testing function of the system are tested by case-based testing,which includes the interface accessing cases,process engine and concurrency testing cases.Through these testing cases,the correctness and effectiveness of the system is verified.
Keywords/Search Tags:Software Testing, Service Simulation, Interface Access, Workflow Engine
PDF Full Text Request
Related items