Device and method for pressure generation for testing

A pressure and testing business technology, applied in software testing/debugging, detecting faulty computer hardware, etc., can solve problems such as inability to generate high concurrency, not high concurrency pressure generation models, etc., to increase learning costs and simplify usage costs , Improve the effect of code reuse

Active Publication Date: 2013-03-06
ALIBABA CLOUD COMPUTING LTD
View PDF10 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The pressure generated by this model actually has only one concurrency at a point in time, because its socket establishment and request sending are sequential, so it is not a high-concurrency pressure generation model in the true sense
[0009] 2. Single-process multi-threading: This pressure generation model is to generate multiple sub-threads in one process, and each sub-thread executes the establishment of a socket and then sends a business request. In theory, these sub-threads are requests generated concurrently, but because the generation of pressure is It is done in one process, so it cannot generate high concurrency

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
  • Device and method for pressure generation for testing
  • Device and method for pressure generation for testing
  • Device and method for pressure generation for testing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0052] The main idea of ​​this application includes: using a multi-process and multi-thread mechanism, utilizing the resources of multiple processes, and generating a large number of threads inside each process, so as to achieve real high concurrency.

[0053] refer to figure 1 , which shows a flow chart of the steps of Embodiment 1 of a test pressure generation method of the present application, which may specifically include the following steps:

[0054] Step 101, obtaining test parameter information, the test parameter information includes test requirement information and test business logic;

[0055] In a specific implementation, the test parameter information may be test parameter information input b...

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 provides a device and a method for pressure generation for testing. The method includes: test parameter information which includes test requirement information and test service logics is acquired; a host process generates subprocesses in corresponding quantity to the test requirement information; each subprocess generates sub-threads in designated quantity; and the sub-threads executes the test service logics simultaneously. The device and the method for pressure generation for testing can form real high-concurrency pressure to provide high-concurrency high-frequency access requests for performance test of a server.

Description

technical field [0001] The present application relates to the technical field of server performance testing, in particular to a method for generating pressure for testing, and a pressure generating device for testing. Background technique [0002] Performance testing refers to generating a large number of concurrent and high-frequency requests and sending them to the server for processing, so that the system resources of the server are in a state of high pressure and high saturation, so as to judge the stability and processing capacity of the system, and generate data for analyze. The server is a system or device that provides external services in the form of an interface or protocol, such as HTTP server HTTPD, Nginx, or database server Oracle, Couchdb, Redis, etc. [0003] The performance test of the server refers to accessing the server by generating a large number of high-concurrency and high-frequency access requests through the pressure generating device, allowing the ...

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/22G06F11/36
Inventor 崔峥
Owner ALIBABA CLOUD COMPUTING 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