Unlock instant, AI-driven research and patent intelligence for your innovation.

A Method for Multiplying Application Layer Data Volume Used in Performance Testing

An application layer, data volume technology, applied in data exchange networks, digital transmission systems, electrical components, etc., can solve the problems of complex automated testing and difficult server load capacity, and achieve the effect of increasing coverage.

Active Publication Date: 2020-12-22
CHENGDU DBAPP SECURITY
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, it is difficult to test the load capacity of the server by using multiple clients to access the server within the same period of time in the test environment. Specifying the operations and commands to be executed after the client establishes a connection with the server is more complicated through automated testing, and performance testing of the server requires a large number of concurrent connections from the client, which is difficult to achieve with manual testing

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
  • A Method for Multiplying Application Layer Data Volume Used in Performance Testing
  • A Method for Multiplying Application Layer Data Volume Used in Performance Testing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] The present invention is realized through the following technical solutions, as figure 1 , figure 2 As shown, a method for doubling the amount of application layer data used in performance testing, between a client and a server, add one or more layers of intermediate proxy layers in a tree structure, and the intermediate proxy layer from the upper layer When the next layer of intermediate agent layer obtains the data of the upper layer of intermediate agent layer, it will determine whether it needs to be enlarged and forwarded again according to the configuration file, and randomly extract commands from the command library of the intermediate agent layer of this layer, replace After dropping the command in the data of the upper layer of intermediate proxy layer, it is forwarded to the next layer of intermediate proxy layer or server. Each intermediate proxy layer includes a plurality of intermediate sub-proxy servers.

[0025] It should be noted that through the abov...

Embodiment 2

[0029] This embodiment is further optimized on the basis of the above embodiments, such as figure 1 As shown, a method for doubling the amount of application layer data used in performance testing includes the following steps:

[0030] Step S1: Deploy one or more intermediate proxy layers between the client and the server;

[0031] Step S2: Determine the tree structure of the client, server and intermediate proxy layer in the configuration file of the client; each layer of proxy server determines the destination address and destination port number of each forwarding according to the tree structure in the configuration file;

[0032] Step S3: data forwarding;

[0033] Step S4: Determine whether the intermediate proxy layer of this layer is a leaf node; if so, send the data to the server to complete the forwarding;

[0034] If not, the forwarding address and amplification factor of the next intermediate proxy layer will be determined again according to the configuration file; ...

Embodiment 3

[0041] This embodiment is further optimized on the basis of the above embodiments, such as figure 1 As shown, the step S3 specifically includes the following steps:

[0042] Step S31: When obtaining data at the next intermediate agent layer, determine whether to amplify forwarding, the multiple of amplifying forwarding, the destination address and destination port number of the forwarded data according to the configuration file;

[0043] Step S32: When the lower intermediate agent layer receives the data from the upper layer, it first parses the message data, replaces the application layer data in the message, and determines the network layer address and transport layer port number according to the configuration, Re-encapsulate the text before continuing to forward it.

[0044] The deployment of the intermediate proxy layer is carried out in an automated manner, and the hierarchical structure of the intermediate proxy layer and the position of each intermediate proxy layer in...

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 an application layer data volume multiplication method applied to performance testing, which comprises the following steps of: adding an intermediate agent layer with a tree structure between a client and a server, and forwarding data from an upper intermediate agent layer; and when the next intermediate agent layer acquires the data of the previous intermediate agent layer, determining whether to amplify and forward again according to the configuration file, randomly extracting a command from the command library of the next intermediate agent layer, replacing the command in the data of the previous intermediate agent layer, and then forwarding the command to the server. The method has the advantages that the performance of the server can be tested in an automatic test mode, the actual operation scene is simulated by replacing data, and the test coverage degree is increased.

Description

technical field [0001] The invention relates to the technical field of server performance testing, in particular to a method for doubling the amount of application layer data used in performance testing. Background technique [0002] In the test, it is necessary to perform a performance test on the server, and at the same time, use multiple clients to access the server to test the load capacity of the server. [0003] However, it is difficult to test the load capacity of the server by using multiple clients to access the server within the same period of time in the test environment. Specifying the operations and commands to be executed after the client establishes a connection with the server is more complicated through automated testing, and performance testing of the server requires a large number of concurrent connections from the client, which is difficult to achieve with manual testing. Contents of the invention [0004] The purpose of the present invention is to pro...

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 Patents(China)
IPC IPC(8): H04L12/26H04L12/24
CPCH04L41/046H04L43/08H04L43/50
Inventor 黄青霞刘韬范渊吴永越郑学新
Owner CHENGDU DBAPP SECURITY