Distributed pressure test method and system

A pressure testing and distributed technology, applied in software testing/debugging, resource allocation, error detection/correction, etc., can solve the problems of not being able to meet a large number of pressure testing tasks, low reusability, waste of resources, etc., to reduce Environmental costs and maintenance costs, improve resource utilization, and achieve the effect of load balancing

Inactive Publication Date: 2017-05-10
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF3 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, most of the existing stress testing tools can only run on a single local stress testing machine. The selection of testing tools is complex and diverse. Each tester may need to build a stress testing tool environment. Caused a waste of resources, lack of unified centralized management
At the same time, a single machine may not be able to meet a large number of stress testing tasks, and different stress testing tasks can only be manually assigned to different machines for execution, which is inefficient
However, through programming, it is necessary to use multi-thread or multi-process to generate a large number of concurrent requests to simulate user behavior, and to access the system under test, which requires high programming ability and technical skills of testers, and requires a lot of time. It takes time to design and implement, and the test methods implemented at the same time are often only applicable to a single system, the reusability is low, the credibility of the test results needs to be verified, and the learning cost of the tools is often high

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 pressure test method and system
  • Distributed pressure test method and system
  • Distributed pressure test method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0042] see figure 1 , is a structural diagram of an embodiment of the distributed stress testing system provided by the present invention.

[0043] Such as figure 1 As shown, the distributed stress testing system includes a control server (Master) 10 and a test cluster 20 composed of at least two test machines (Slave-1-n) 200; the control server 10 is the control end of the system, responsible for Send the pressure test task and configuration information to the t...

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 invention discloses a distributed pressure test method and system. The system comprises a control server and a test cluster consisting of at least two test machines, wherein each test machine comprises a load balance module, which is used for acquiring a resource usage state of the test machine and obtaining a weighted priority of the test machine according to the resource usage state; the control server comprises a first message processing module, which is used for distributing a task type message to the test machine with the highest weighted priority according to the weighted priorities of all the test machines and corresponding IP addresses; each test machine further comprises a second message processing module and a pressure test engine module; the second message processing module is used for receiving the task type message sent by the control server and analyzing a corresponding pressure test task from the task type message; and the pressure test engine module is used for executing the pressure test task. By adopting the method and the system, the pressure test efficiency can be improved and the load balance of the pressure test is realized.

Description

technical field [0001] The invention relates to the field of stress testing, in particular to a distributed stress testing method and system. Background technique [0002] With the rise and development of the Internet, WEB (web page) systems or interfaces need to be provided to more and more users for access. The ever-increasing user access requirements put forward higher and higher requirements for the system's concurrency and carrying capacity. Therefore, the necessity of stress testing the system is getting higher and higher. [0003] Stress testing tests the performance, reliability, and stability of the system under test by simulating the actual application software and hardware environment and the system load of the user's use process, and running the test software for a long time or under a large load. At present, there are many ways to stress test the system, mainly using stress testing tools (such as loadrunner, JMeter, Grinder, etc.) and programming. However, mos...

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): G06F11/36G06F9/50
CPCG06F9/5027G06F9/5083G06F11/3672G06F11/3688G06F2209/5021G06F2209/501
Inventor 邵志峰
Owner NETEASE (HANGZHOU) NETWORK CO LTD
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