| Performance testing is a non-functional test designed to determine the stability,speed and responsiveness of an application under a given workload,and is one of the key steps in ensuring software quality.There are many types of performance testing,such as load testing,benchmark testing,peak testing,etc.A single performance testing tool cannot meet the needs of testers to perform various types of performance testing tasks,and different testing tools often have different operating procedures.This brings a large learning cost to the testers.In addition,although the mainstream performance testing tools on the market provide powerful functions,the additional cost is that for some enterprises,the price of testing tools is high.Relying on a software testing platform,based on the idea of Test as a Service(TaaS for short)and the programming interfaces of the three testing tools,LoadRunner Enterprise,Leming TPC-DS and Leming TPCE,this thesis designs and implements a comprehensive performance testing subsystem with unified operation process,the system can provide users with various types of performance testing services.Based on the functions provided by the existing test tools,this thesis implements the system scheduling mechanism,which can schedule the "execution failure" tests to be re-executed and improve the test efficiency.This thesis also implements the "tool rental" function,which not only allows users to rent test tools on demand,but also saves users the work of deploying and maintaining test tools.In addition,this thesis also implements the user authorization management function based on the RBAC0(Core Role Based Access Control)model.The specific research in this thesis is as follows.1)Investigate the relevant research of performance testing subsystems,focusing on the operation process and basic principles of the three testing tools LoadRunner Enterprise,Leming TPC-DS and Leming TPC-E,and then use the Unified Modeling Language(UML for short)models and analyzes the process of performance testing,and abstracts four general testing stages,and finally adapts the operation process of the above testing tools to the four testing stages abstracted in this thesis.2)Analyze the requirements for the performance testing subsystem,including overall requirements description,user role analysis,functional requirements analysis and non-functional requirements analysis.3)Carry out the overall design of the performance test subsystem,including system architecture design,front-end and back-end communication design,system function structure design,system core function design,database conceptual model design,etc.4)Use development frameworks such as Spring Cloud,Spring Boot,and Apache Shiro to implement various functional modules of the performance testing subsystem,including user authorization management module,test tool configuration management module,test tool rental management module,test script management module,and test scenario management module,test execution management module,test result management module,etc. |