Font Size: a A A

Design And Implementation Of Full Link Stress Testing System Based On Jmeter Engine

Posted on:2021-07-18Degree:MasterType:Thesis
Country:ChinaCandidate:Y Y HuFull Text:PDF
GTID:2518306575953839Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In recent years,with the rapid development of microservice architecture,the technology stack of software systems has become more and more complex,which has put forward higher requirements for software RT and stability.Stress testing has become an indispensable key step when new systems go online and performance bottlenecks are detected.With the rapid development of the Internet industry and the ever-increasing demand for stress testing,traditional stress testing tools and functional testing methods are facing huge challenges.At present,the industry has proposed a widely applicable stress testing concept,namely a full-link stress testing system.The full-link stress testing system is a process of stress testing the entire call chain of the system by simulating the real peak traffic based on online business scenarios and requirements.In order to deal with the intrusion of flood peak traffic on the service and ensure the robustness and stability of the business link,this paper designs and implements a full-link stress measurement system based on the Jmeter engine.First of all,the full-link stress testing research and implementation plan were fully investigated,and the user role and core functions of the system were analyzed.The system was divided into three cores:engine adaptation,machine management,and middleware transformation.The engine adaptation module provides a series of core functions for Dubbo,Grpc,Dyrpc,Http and many other protocols,such as plan management,startup debugging scenarios,viewing monitoring information,and viewing pressure test reports.The machine management module manages all machine resources,and the presses are mostly deployed in multiple machine rooms in different places,providing basic guarantee for the deployment of machine resources during the stress test.The middleware transformation module provides functions such as pressure measurement flow identification,ORM pressure measurement flow shadow resource reading and writing,and MQ pressure measurement flow message discarding.The full-link stress test system creates stress test plans through the management background of the engine adaptation module,and starts the Jmeter stress test engine to prepare the target service through the management background of the engine adaptation module.The machine management module estimates the required machine resources according to the parameters of the orchestration scenario,The pressure tester is dynamically allocated to start the pressure test;during the pressure test process,the middleware transformation module is responsible for the identification and interception of various middleware pressure test targets,as close as possible to the service call scenario in the real environment.The stress testing kernel of this system is implemented based on the Jmeter stress testing engine.It supports scene arrangement,recording and playback,assertion and many other functions,and provides rich protocol support.The system has been officially launched in the mid-station service of Douyu's Web Service Department.It is responsible for the stress testing of many business lines such as the main station,platform line,and business line.It has assisted the business side in troubleshooting many system faults and system defects,and obtained Good user feedback.
Keywords/Search Tags:Full-link stress testing, Jmeter stress testing engine, Engine adaptation, Machine management, Middleware transformation
PDF Full Text Request
Related items