Network traffic simulation test method, system and construction method of environment

A technology of network traffic and simulation testing, applied in the field of data processing, can solve problems such as the limitation of the number of concurrent users, Jmeter operation errors, Java memory overflow, etc., and achieve the effect of high number of concurrent users

Active Publication Date: 2021-08-17
CHINA ELECTRONICS CORP 6TH RES INST
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, since Jmeter is a traffic simulation test implemented by software, it has relatively few operating resources, so when using Jmeter to simulate a large number of users to access the server concurrently, the number of concurrent users will be limited to a certain extent. Too many concurrent users may cause problems such as Java memory overflow or Jmeter running errors

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
  • Network traffic simulation test method, system and construction method of environment
  • Network traffic simulation test method, system and construction method of environment
  • Network traffic simulation test method, system and construction method of environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] In order to meet the simulation test requirements of large-scale network traffic, an embodiment of the present application provides a network traffic simulation test system.

[0051] see figure 1 as shown, figure 1 It is a schematic diagram of the basic structure of a network traffic simulation test system that can realize a large traffic simulation test from the client to the server provided in the embodiment of the present application, which includes a communication-connected client and server. in:

[0052] Multiple containers are configured in the client, and each container has a browser.

[0053] In the embodiment of the present application, a web application testing tool running in a browser, a browser driver, and an invocation program of the web application testing tool and the browser driver are also configured in the client. Wherein, the calling program is used to call the web application testing tool and the browser driver, so as to simulate various operatio...

Embodiment 2

[0141] In this embodiment, on the basis of Embodiment 1, a specific network traffic simulation test system in which the container is a docker container, the Web application testing tool uses Selenium, and the browser driver uses HtmlUnitDriver is used as an example to further illustrate this application. .

[0142] see Figure 8a In the network traffic simulation test system shown, there are multiple sets of docker containers in the client, and multiple virtual nodes in the test end.

[0143] First, the engineer configures the client and server, including:

[0144] Configure the target server address in the client. The address of the target server is the address of the website for testing in the server to be tested. The so-called website for testing refers to the website designed to be visited during the testing process.

[0145] Next, configure the website for testing in the server to be tested.

[0146] Next, configure the invoker for each container within the client. ...

Embodiment 3

[0172] Based on the same inventive concept, the embodiment of the present application also provides two kinds of network traffic simulation test devices 100 and 200 applied to the client of the first embodiment, and a network traffic simulation applied to the data processing platform of the first embodiment Test device 300 . see Figure 9a , Figure 9b with Figure 10 as shown, Figure 9a shows the use of Figure 6a The method shown in the network traffic simulation test setup, Figure 9b shows the use of Figure 6b The method shown in the network traffic simulation test setup, Figure 10 shows the use of Figure 7 The network traffic simulation test setup of the method is shown. It should be understood that the specific functions of the device 100, the device 200, and the device 300 may refer to the above description, and to avoid repetition, the detailed description is appropriately omitted here. The device 100 , the device 200 and the device 300 include at least on...

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 application provides a network traffic simulation test method, system and environment construction method, the system includes a client, which is configured with a plurality of containers, each container has a browser; the client is also configured with a Web server running in the browser The application testing tool, the browser driver, and the calling program of the Web application testing tool and the browser driver; the calling program is used to call the Web application testing tool and the browser driver to generate the first simulated traffic; the server, and the client The terminal communication connection is used for receiving the first simulated traffic generated by each container of the client and responding. The hardware of the client side of the system can all be used to support each container, thereby having more resources for generating simulated traffic and achieving a higher number of concurrent users. In addition, while ensuring the data integrity of the simulated traffic, the system improves the traffic simulation efficiency and reduces the resource consumption in the simulation process.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular, to a network traffic simulation test method, system and environment construction method. Background technique [0002] With the advent of the 5G era, in the fields of artificial intelligence, the Internet of Things, and big data, the need for technical verification often needs to rely on large-scale network traffic generation and simulation technologies. [0003] Currently commonly used network traffic generation and simulation techniques include using simulation software such as Jmeter to realize simulation. Jmeter was originally a 100% pure Java desktop running program designed for Web (web page) / HTTP (Hyper Text Transfer Protocol, Hyper File Transfer Protocol) testing, but now it has been extended to support performance testing of various testing modules A tool that can be used to test the operation of servers in static databases or active databases, simulate ...

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/26
CPCH04L43/50
Inventor 许凤凯李庆科张尼薛继东李末军张宏斌孙世豪鞠奕明王博闻燕玮魏利卓石春竹田晓娜李东成贾星威
Owner CHINA ELECTRONICS CORP 6TH RES INST
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