Distributed performance test method, device and system

A distributed and high-performance technology, applied in the computer field, can solve the problems of nGrinder performance test platform application is not flexible enough, performance test is unstable, etc., to achieve the effect of improving stability and efficiency

Inactive Publication Date: 2019-05-10
武汉斗鱼鱼乐网络科技有限公司
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Although the nGrinder performance test platform can facilitate multi-user performance test tasks based on web services, there is only one control machine in the performance test platform, which is limited by the resources of the control machine, and the performance test platform can only accommodate limited performance test tasks. When there are too many performance test tasks running, the problem of performance test instability will occur
In addition, the service port number of the control machine must be fixed and cannot be occupied during the above-mentioned pressure machine discovery process. On the one hand, the execution of the pressure machine discovery process depends on the correctness of the service port number of the control machine. On the other hand, it further restricts nGrinder The performance test platform may increase the control machine to expand the possibility, which makes the application of the nGrinder performance test platform not flexible enough

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Distributed performance test method, device and system
  • Distributed performance test method, device and system
  • Distributed performance test method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] The distributed-based performance testing method provided in this embodiment is applicable to the performance testing of web service-based application programs. The method can be executed by a performance testing device based on distribution, which can be realized by software and / or hardware, and which can be integrated in computer equipment, such as a notebook computer, a desktop computer, or a server. see figure 1 , the method of this embodiment includes:

[0023] S110. The target controller determines each target pressure machine for performing the performance test task according to the list of target pressure machines.

[0024] Wherein, the target control machine is the control machine corresponding to the performance test task in the control machine cluster. The performance test platform / system in the embodiment of the present invention includes at least two control machines, and each control machine can process multiple performance test tasks at the same time. ...

Embodiment 2

[0043] In this embodiment, on the basis of the foregoing embodiments, the related steps of "building a performance test network" are added. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here. see figure 2 The method for constructing the performance test network in the distributed-based performance test method provided by this embodiment includes:

[0044] S210. For each press machine in the press machine cluster, the press machine determines the IP address of the press machine based on the dynamic link library of the operating system adapted to the press machine.

[0045] Specifically, the performance test system in the embodiment of the present invention includes a control machine cluster and a pressure machine cluster, and the construction idea of ​​the performance test network between the two clusters is roughly as follows: each pressure machine initiates an HTTP long connection to the control machi...

Embodiment 3

[0068] This embodiment provides a performance testing device based on distribution, configured in the target control machine, see image 3 , the device specifically includes:

[0069] The target pressure machine determination module 310 is used to determine each target pressure machine for performing the performance test task according to the target pressure machine list, wherein the target control machine is the control machine corresponding to the performance test task in the control machine cluster, and the target pressure machine Machine list storage is based on the control machine cluster domain name of the control machine cluster and the target control machine to establish the pressure machine of HTTP long connection;

[0070] The performance test module 320 is configured to assign performance test tasks to each target press machine according to the current resource occupation information of each target press machine, so that each target press machine performs the perfor...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a distributed performance test method, device and system. The method comprises the following steps: the target control machine determines each target pressingmachine for executing the performance test task according to the target pressing machine list, wherein the target control machine is a control machine corresponding to the performance test task in acontrol machine cluster, and the target pressing machine list stores pressing machines which establish HTTP long connection with the target control machine according to a control machine cluster domain name of the control machine cluster; And the target control machine distributes the performance test task to each target pressure applying machine according to the current resource occupation information of each target pressure applying machine, so that each target pressure applying machine executes the performance test task. According to the technical scheme, rapid capacity expansion of the performance test system and rapid discovery of the target pressure applying machine are realized, and the stability and efficiency of the performance test are improved.

Description

technical field [0001] Embodiments of the present invention relate to computer technology, and in particular to a distributed-based performance testing method, device and system. Background technique [0002] With the development of technology, there are more and more applications applicable to user clients. In order to ensure the normal operation of the application, it is necessary to carry out performance tests such as functional testing of whether the function is running normally and stress testing of the load carrying capacity. [0003] In order to facilitate performance testing of application programs, there are distributed performance testing platforms based on web services, such as nGrinder performance testing platform. The framework of the nGrinder performance test platform includes a control machine and multiple pressure machines. The control machine is used to manage pressure machines and performance testing tasks, such as establishing a connection relationship wit...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26H04L29/08
Inventor 付得龙
Owner 武汉斗鱼鱼乐网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products