Font Size: a A A

Research And Application Of WEB Performance Testingmodel Based On User Access Sequential Pattern

Posted on:2021-05-12Degree:MasterType:Thesis
Country:ChinaCandidate:S LiuFull Text:PDF
GTID:2428330611462827Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Web application systems have become the development trend of software system due to their easy deployment,high expansion,and low maintenance.They have become the most vital part of Internet development.Web performance testing,as an important means to ensure system stability and locate performance bottlenecks,has gradually developed into an indispensable link in the software life cycle.However,the traditional performance testing model still faces three main problems on the Web system: no guidance is given for designing a test plan;lack of clear requirements for performance testing indicators;and iterative performance tuning after testing is ignored.These issues have become important difficulties affecting the reliability of Web performance testing.In view of the above problems,this paper proposes an improved performance testing model UASP-PTGM(Performance Testing General Model based on User Access Sequential Pattern)based on the traditional PTGM performance testing model for Web application systems.By mining the log files generated during the operation of the web system,the model generates the user access sequence pattern,guides the design of performance testing scenarios,simulates the real load of the system,and filters out the performance evaluation indicators of user behavior characteristics and basic performance indicators,so as to inspect the actual experience of users and the use of the system;regression testing is introduced to enable the Web system to achieve the system's testing goals during the iterative tuning process.Among them,this paper focuses on the method of generating user access sequential pattern.In the three stages of log file preprocessing,sequential pattern mining,and user portrait construction,corresponding improvement methods are proposed:(1)In the log preprocessing stage,a method for filling missing paths based on constructing a website structure tree is proposed,and the shortest path is supplemented by checking whether the corresponding nodes of adjacent content items meet the constraint relationship in the website structure tree in the access sequence;(2)In order to solve the problem that the sequential pattern mining algorithm,PrefixSpan,consumes too much resources in each projection when the data scale is too large,an improved SP-PrefixSpan algorithm is proposed.By pruning the infrequent items of sequence in advance,judging the end of support and pseudo-projection of suffix pointer,the storage mode of sequence in memory is optimized,the size of projection database is reduced,and the efficiency of algorithm is improved;(3)Through the mining and analysis of the log,combined with the eight elements of user portrait,extract the user attributes that meet the basic,unique,objective,quantitative and application,and provide the basis for the construction of virtual user portrait.Finally,use the performance testing tool LoadRunner11 to test specific project cases.Evaluate the model by monitoring parameters such as resource usage and transaction response time during scenario operations.The test results show that the Performance Testing General Model based on User Access Sequential Pattern(UASP-PTGM)proposed in this paper can effectively simulate the real user load,improve the reliability of scenario design,and ultimately improve the accuracy of the test results.
Keywords/Search Tags:Web Performance Testing, User Access Sequential Pattern, Sequential Pattern Mining, PrefixSpan, Performance Testing Model
PDF Full Text Request
Related items