Font Size: a A A

Design And Implementation Of Performance Testing System Based On Netty Framework

Posted on:2020-11-10Degree:MasterType:Thesis
Country:ChinaCandidate:P D LiFull Text:PDF
GTID:2428330572473634Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Software performance testing plays an important role in software development process.In software performance testing,software performance testing tools are usually used to test software performance,and then system performance bottlenecks can be found.An excellent stable and easy-to-use performance testing tool can help enterprises improve testing efficiency and reduce testing costs.With the popularity of micro-service and distributed technology,the technology stack of software becomes more and more complex,which puts forward higher requirements for performance testing system.Performance testing systems need to support multi-protocol and multi-scenario testing,and provide support for test management and prediction performance bottlenecks to reduce the burden of testers.At present,some commercial performance testing tools have been widely used in enterprises,such as Loada Runner,Apache Jmeter,Apache Bench and so on,but these performance testing tools have some shortcomings:LoadRunner is expensive,and the cost of learning is high;Apache Jmeter does not provide script management functions,and management is inconvenient;Apache Bench only supports performance testing of web servers.Aiming at the problems of existing performance testing tools on the market,this thesis designs and develops a performance testing system based on Netty framework.The system designed and implemented in this thesis is based on Netty's high concurrency framework.It utilizes the advantages of Netty's asynchronism and event monitoring to provide a pressure generation mechanism for asynchronous requests.It also satisfies different test scenarios by configuring various pressure models and concurrency modes.By using various types of codec provided by Netty,the system can support testing different protocol servers.In addition,the system provides management functions for test scripts and tasks,and uses BP neural network algorithm based on genetic algorithm to predict the possible performance bottlenecks of the system.This thesis first introduces the background knowledge involved in the performance testing system,focusing on the related technology of Netty framework,then introduces the functional and non-functional requirements of the performance testing system,introduces the system environment and static and dynamic structure design in the outline design,and discusses the key problems and solutions of the system;and then focuses on the prediction system.Performance bottleneck algorithm research.In the detailed design and implementation,the detailed design and implementation scheme of each module are introduced in detail.Finally,the performance test system is tested,and the shortcomings and improvement scheme of the system are put forward.
Keywords/Search Tags:performance test, netty, performance bottleneck prediction, test scene, multi-protocol support
PDF Full Text Request
Related items