Font Size: a A A

Design And Implementation Of Test Service Platform Based On Test Case Set Optimization And Performance Optimization

Posted on:2021-08-15Degree:MasterType:Thesis
Country:ChinaCandidate:Y H LiuFull Text:PDF
GTID:2518306470468384Subject:Software engineering
Abstract/Summary:PDF Full Text Request
The complexity of modern Internet software has already exceeded people's imagination,especially the enterprise level software.Because of the user's requirements for the stability and efficiency of the software,as well as the powerful functions of the software,it directly leads to the complexity of the development and testing of enterprise level software.Continuous integration(CI)is required for the rapid iteration of products and the quality of products in the Internet-based enterprise software development.Continuous integration is an agile development mode,which means continuous automatic construction of software projects,real-time and timed compilation and test execution of code to check the quality of code.My internship department is responsible for the quality assurance of the company's advertising business code.Based on the company's existing good and stable code version management platform and automated test platform,this paper designs an automated test service platform based on test case set optimization and performance optimization.First of all,the method of automatic generation of abnormal unit test based on genetic algorithm and log analysis is used to optimize the test case set,optimize resource allocation,schedule tasks reasonably,and improve the correctness of performance test results by machine learning.Secondly,the use of intelligent flow strategy,open up multiple platforms,reduce the time consumed by cross platform operations.Finally,the data during the trial operation shows that the test service platform designed in this paper can improve the test accuracy,improve the test quality and reduce the test time in the enterprise level software continuous integrated development test.The platform is based on Python web framework and Django framework,which improves the scalability of the platform.The database uses My SQL database,redis for data caching,and nginx for server deployment.The front-end page uses the bootstrap framework.The functions of this platform include automatic trigger test task function,test result email and mobile notification function,test report optimization and management function,full process self-service function in test stage,and user management function.At present,the platform has used JMeter software for load balancing stress test,and the server is stable.The platform has been launched and is in the user use stage.All functions are in normal use,meeting the testing service requirements of the company's product line,and greatly improving the testing efficiency.
Keywords/Search Tags:Automatic test, test case generation, genetic algorithm, agile development, scheduling platform
PDF Full Text Request
Related items