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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

