Font Size: a A A

Design And Implementation Of Automatic Test Framework For Access Traffic Playback Based On User Log Analysis

Posted on:2021-10-07Degree:MasterType:Thesis
Country:ChinaCandidate:S K WangFull Text:PDF
GTID:2518306308975889Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In recent years,with the rapid development of software industry,a variety of software products began to emerge,which greatly enriched our lives.Excellent software products can promote social progress,and correspondingly promote economic development.In recent years,major companies are constantly strengthening the control of software quality and gradually increasing the investment in software testing.At present,software testing is mainly divided into manual testing and automatic testing.Manual testing is difficult to complete in a very short time in the face of frequent and repeated testing,which seriously affects the testing efficiency,further affects the project progress and increases project risk.Automated testing can make up for the shortcomings of manual testing,especially for repetitive testing and regression testing,it can play its greatest advantage,solve the difficult problems of manual testing,and greatly improve the efficiency of testing.In view of the current problems of software testing,this paper studies and implements a new automated testing framework based on the automated testing technology,the use of randomized testing methods,combined with Python development language.The biggest difference between the test framework and the traditional automated testing framework is that the idea of randomization is integrated into the process of automated testing.The interface sequence is generated automatically by randomization,and various random scenarios are constructed by randomization encapsulation parameters,which can simulate the randomness of user's software operation to a great extent.The interface request path and request parameters are obtained by obtaining the user's online log and analyzing the log.After that,the request path and request parameters of these interfaces are randomly combined together to be called a traffic(that is,the randomly combined JSON type data files of different interfaces).Then,the traffic is replayed simultaneously by the traffic playback tool to get the test report Test report testers can locate the defects in the code and provide a solid foundation for software quality assurance.The practice shows that the automated testing framework can improve the testing efficiency,and the good running effect of the framework can help testers better find code defects,and then repair these defects to ensure the quality of software.
Keywords/Search Tags:Automated Test Framework, User Log, Randomization, Python, Flow Playback
PDF Full Text Request
Related items