Pressure testing method, device and system

A pressure test and target object technology, applied in the field of communication, can solve problems such as poor applicability, complex implementation, and insufficient comprehensiveness and accuracy of test results, and achieve the effects of high applicability, simple implementation, and improved comprehensiveness and accuracy

Active Publication Date: 2017-08-04
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] During the research and practice of the prior art, the inventors of the present invention found that because the existing solution needs to build different test environments for different services, develop different test tools, and require manual intervention during the test process, Therefore, not only is the implementation more complex, but also the applicability is poor; in addition, because the test environment is a non-production environment, the test results are not comprehensive and accurate 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
  • Pressure testing method, device and system
  • Pressure testing method, device and system
  • Pressure testing method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] This embodiment will be described from the perspective of a stress testing device, and the stress testing device may specifically be integrated in a server, such as a scheduling server and other equipment.

[0033] A stress testing method, comprising: acquiring a stress testing task, determining an object that currently needs to be stress tested according to the stress testing task, obtaining a target object, directing live network traffic to the target object within a preset time period, and collecting the target object When the performance indicators reach the preset bottleneck value, the pressure test results will be counted, and the steps of obtaining the pressure test tasks will be returned to until the pressure test tasks are all tested.

[0034] Such as Figure 1b As shown, the specific process of the stress testing method can be as follows:

[0035] 101. Obtain a stress test task.

[0036] For example, specifically, the pressure measurement task may be read fr...

Embodiment 2

[0068] According to the method described in Embodiment 1, an example will be given below for further detailed description.

[0069] In this embodiment, it will be described by taking that the stress testing device is specifically integrated in the scheduling server, and the stress testing service object set is specifically an IP list.

[0070] Such as figure 2 As shown, a stress test method, the specific process can be as follows:

[0071] 201. The scheduling server acquires the pressure test task.

[0072] For example, the scheduling server may specifically read the stress measurement task from a local storage space or other devices.

[0073] Wherein, the pressure measurement task can be preset according to the requirements of the actual application, specifically, at least one pressure measurement service object set can be indicated, and the pressure measurement content corresponding to each pressure measurement service object set can be indicated.

[0074] Wherein, each ...

Embodiment 3

[0113] In order to better implement the method, the embodiment of the present invention also provides a pressure testing device, such as Figure 3a As shown, the stress testing device may include an acquisition unit 301, a determination unit 302, a processing unit 303 and a statistics unit 304, as follows:

[0114] (1) acquisition unit 301;

[0115] The obtaining unit 301 is configured to obtain a pressure measurement task.

[0116] For example, the obtaining unit 301 may be specifically configured to read the stress measurement task from a local storage space or other devices.

[0117] Wherein, the pressure measurement task can be preset according to the requirements of the actual application, specifically, at least one pressure measurement service object set can be indicated, and the pressure measurement content corresponding to each pressure measurement service object set can be indicated.

[0118] Wherein, each pressure measurement service object set may include identifi...

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 pressure testing method, device and system. A pressure measuring task can be obtained, an object needing pressure testing currently is determined according to the pressure measuring task to obtain a target object, present network flow is guided to the target object in a preset time period, various property indexes of the target object are collected, a pressure measuring result is calculated when the property indexes reach a preset bottleneck value, and then the operation of obtaining the pressure measuring task is repeated till testing of the pressure measuring task is completed. The method is easy to implement and high in adaptability, and the comprehensiveness and accuracy of testing can be greatly improved.

Description

technical field [0001] The invention relates to the technical field of communications, in particular to a stress testing method, device and system. Background technique [0002] With the development of communication technology, there are more and more types of network services. In order to provide users with better network services, it is necessary to optimize the performance of corresponding equipment, such as central processing unit (CPU, Central Processing Unit), memory, disk, etc. , server query rate per second (QPS, Query Per Second), and request delay, etc., where the test is called stress test, or stress test for short. [0003] The stress testing scheme in the prior art generally needs to build a stress testing environment for a specific service person, and then write a stress testing tool based on the protocol of the service, and in the built stress testing environment, use the stress testing tool to continuously report to the service. The corresponding device send...

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/22H04L12/26
CPCH04L43/08H04L43/16G06F11/2273
Inventor 梁少华许泽伟蔡晓鹏
Owner TENCENT TECH (SHENZHEN) 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