CN113141283B - Network flow simulation test method, system and environment construction method - Google Patents

Network flow simulation test method, system and environment construction method Download PDF

Info

Publication number
CN113141283B
CN113141283B CN202110689207.4A CN202110689207A CN113141283B CN 113141283 B CN113141283 B CN 113141283B CN 202110689207 A CN202110689207 A CN 202110689207A CN 113141283 B CN113141283 B CN 113141283B
Authority
CN
China
Prior art keywords
client
simulation
flow
server
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110689207.4A
Other languages
Chinese (zh)
Other versions
CN113141283A (en
Inventor
许凤凯
李庆科
张尼
薛继东
李末军
张宏斌
孙世豪
鞠奕明
王博闻
燕玮
魏利卓
石春竹
田晓娜
李东成
贾星威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
6th Research Institute of China Electronics Corp
Original Assignee
6th Research Institute of China Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 6th Research Institute of China Electronics Corp filed Critical 6th Research Institute of China Electronics Corp
Priority to CN202110689207.4A priority Critical patent/CN113141283B/en
Publication of CN113141283A publication Critical patent/CN113141283A/en
Application granted granted Critical
Publication of CN113141283B publication Critical patent/CN113141283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides a network flow simulation test method, a system and an environment construction method, wherein the system comprises a client, a plurality of containers are configured in the client, and each container is provided with a browser; the client is also internally provided with a Web application program testing tool, a browser driver and a calling program of the Web application program testing tool and the browser driver which are operated in the browser; the calling program is used for calling a Web application program testing tool and a browser driver so as to generate first simulation flow; and the server is in communication connection with the client and used for receiving the first simulation flow generated by each container of the client and responding. The hardware of the system client can be fully used for supporting each container, so that more resources for generating the simulation flow are provided, and a higher number of concurrent users is realized. In addition, the system improves the flow simulation efficiency and reduces the resource consumption in the simulation process while ensuring the data integrity of the simulated flow.

Description

Network flow simulation test method, system and environment construction method
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a network traffic simulation test method, system, and environment construction method.
Background
With the arrival of the 5G era, in the fields of artificial intelligence, the Internet of things, big data and the like, the requirement for technical verification often needs to rely on large-scale network traffic generation and simulation technology.
Currently, the commonly used network traffic generation and simulation techniques include simulation using simulation software such as Jmeter. Jmeter is a 100% pure Java desktop running program originally designed for Web/HTTP (Hyper Text Transfer Protocol) testing, and has now been expanded to a performance testing tool that can support various testing modules, which can be used to test the running condition of a server in a static database or a dynamic database, simulate heavy loading on the server or a network system to test its resistance, analyze the running condition under different types of loads, and the like.
The working principle of the Jmeter is to submit a request to a server and return a request result from the server, and to complete performance tests on a database, an FTP (File Transfer Protocol), a Web Service, a Java object, and the like by analyzing data or displaying a graphic result.
However, because the meter is a flow simulation test implemented by software, the number of running resources and the like of the meter is relatively small, so that when a large number of users simulate concurrent accesses to the server by using the meter, the number of concurrent users is limited to a certain extent, and if the number of simulated concurrent users is too large, problems such as Java memory overflow or meter running errors may be caused.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method, a system, and an environment for network traffic simulation test, so as to achieve a higher number of concurrent users during network traffic simulation test, and ensure data integrity of simulated traffic.
The embodiment of the application provides a network flow simulation test system, which comprises: the system comprises a client, a server and a server, wherein a plurality of containers are configured in the client, and each container is provided with a browser; a Web application program testing tool, a browser driver and a calling program of the Web application program testing tool and the browser driver which run in a browser are also configured in the client; the calling program is used for calling the Web application program testing tool and the browser driver to generate a first simulation flow; and the server is in communication connection with the client and is used for receiving the first simulation flow generated by each container of the client and responding.
In the network flow simulation test system, the client combines the container technology to generate flow, and in a large-flow demand scene, the generation of the simulation flow is directly realized by the hardware of the client based on each container. In addition, according to the scheme of the embodiment of the application, by simultaneously starting the Web application test tool and the browser driver, under the action of the browser driver, the Web application test tool can realize the processing of relevant simulation operations in the memory of the client on the premise of not opening an actual browser, and realize various operation behaviors (such as requesting a server, executing specific contents of a webpage and the like) of the browser, so that corresponding simulation traffic is generated, the data integrity of the simulated traffic is ensured, the traffic simulation efficiency is improved, and the resource consumption in the simulation process is reduced.
Further, the network flow simulation test system also comprises a switch; the client side and the server side are in communication connection through the switch; aggregation links are configured in the switch, and each aggregation link is configured with a network card corresponding to at least one server side; and configuring a load balancing strategy for each aggregation link in the switch so as to send the first analog flow in each aggregation link to each network card corresponding to each aggregation link in a balanced manner.
In the network flow simulation test system, by adopting a link aggregation technology, aggregation links are configured for the switch, and a network card corresponding to at least one server is configured for each aggregation link, so that the flow corresponding to the network card of the server is forwarded according to the bound link, and the controllability of the flow of each network card is realized. Meanwhile, load balancing strategies are configured for the aggregation links in each switch, so that adaptive load balancing of flow can be performed in each aggregation link, the flow received by each network card corresponding to the same aggregation link is balanced substantially, and the resource utilization rate of the whole system under the condition of large flow can be improved.
The embodiment of the present application further provides a network traffic simulation test system, including: the system comprises a client, a server and a server, wherein a plurality of containers are configured in the client, and each container is provided with a browser; a Web application program testing tool running in a browser and a calling program of the Web application program testing tool are also configured in the client; the calling program is used for calling the Web application program testing tool to generate second simulation flow; the server is in communication connection with the client and used for receiving second simulation flow generated by each container of the client and responding; the test end is in communication connection with the client; the data processing platform is in communication connection with the client and the server, and is used for receiving response information responded by the server aiming at the second simulation flow, writing the address information of the test terminal into the response information, and sending the response information written with the address information to the client; the client is further used for extracting the address information of the testing end from the response information, calling the calling program to generate a third simulation flow and sending the third simulation flow to the testing end.
In the network flow simulation test system, various execution operations of a browser can be simulated in a simulation environment, complete flow from a client to a server is generated, and secondary interaction of the client can be realized, namely, a simulation large flow test from the client to a test end is realized. In addition, the data processing platform can realize the ratio control of the written address information of different test ends, thereby realizing the ratio control of various test combinations when a client end simulates a large-flow test to the test end, and generating a controllable simulated large-flow.
Further, the network flow simulation test system also comprises a switch; the client, the test end, the server and the data processing platform are in communication connection through the switch; aggregation links are configured in the switch, and each aggregation link is configured with a network card corresponding to at least one server side; and configuring a load balancing strategy for each aggregation link in the switch so as to send the second analog flow in each aggregation link to each network card corresponding to each aggregation link in a balanced manner.
Further, a Python multithreading function is configured in the client, and when the Python multithreading function is enabled, the multiple threads extract the address information of the test terminal from the multiple pieces of response information in parallel.
In the network flow simulation test system, the Python multithreading function is adopted, and the address information of the test end is extracted from the plurality of response information in parallel by using the plurality of threads, so that the processing efficiency of the client side for the response information is improved, and the Python execution process does not need to generate a corresponding virtual machine, so that the consumed resources in the operation process are less, and the resource consumption in the response information processing process can be reduced.
Furthermore, a plurality of virtual nodes to be tested are arranged in the testing end; the client is specifically configured to extract address information of the virtual node corresponding to each piece of response information from each piece of response information.
In the network flow simulation test system, the test end is internally provided with a plurality of virtual nodes to be tested, so that large-flow tests aiming at the virtual nodes can be simulated, the simulation test of a cluster service environment is realized, the plurality of virtual nodes are utilized to perform data processing under the large-flow environment, and the simulation test efficiency is improved.
The embodiment of the application also provides a network traffic simulation test method, which is applied to the client of the first network traffic simulation test system; the method comprises the following steps: calling the calling program to enable each container to generate first simulation flow respectively and send the first simulation flow to the server; and receiving response information returned by the server aiming at each first simulation flow.
In the implementation process, the client combines the container technology to generate the flow, in a large-flow demand scene, the generation of the simulation flow is directly realized by the hardware of the client based on each container, and compared with a Jmeter software implementation mode, the hardware of the client can be completely used for supporting each container, so that more resources for generating the simulation flow can be provided, and the higher number of concurrent users during the network flow simulation test can be realized.
In addition, in the implementation process, by simultaneously starting the Web application test tool and the browser driver, under the action of the browser driver, the Web application test tool can implement processing of relevant simulation operations in the memory of the client on the premise of not opening an actual browser, so as to implement various operation behaviors of the browser, thereby generating corresponding simulation flow, ensuring the data integrity of the simulated flow in the whole test process, improving the flow simulation efficiency, and reducing the resource consumption in the simulation process.
The embodiment of the application also provides a network traffic simulation test method, which is applied to the client of the second network traffic simulation test system; the method comprises the following steps: calling the calling program to enable each container to generate second simulation flow respectively and send the second simulation flow to the server; receiving response information returned by the server end aiming at each second analog flow; the response information comprises address information of the test terminal; extracting address information in each response message; and calling the calling program to enable each container to respectively generate third simulation flow aiming at the test end pointed by the address information, and sending the third simulation flow to the test end pointed by the address information.
In the implementation process, the address information can be acquired from the response information, so that the simulation large-flow test from the client to the test end is realized.
Further, the testing end is provided with a plurality of virtual nodes to be tested; correspondingly, calling the calling program to enable each container to generate a third simulation flow for the test end pointed by the address information, and sending the third simulation flow to the test end pointed by the address information, including: and calling the calling program to enable each container to respectively generate third simulation flow aiming at the virtual node pointed by the address information, and sending the third simulation flow to the virtual node pointed by the address information.
In the implementation process, the test end is internally provided with a plurality of virtual nodes to be tested, so that the flow test aiming at the virtual nodes is simulated, and the flow simulation test of the cluster service environment is realized.
Further, extracting the address information in each of the response messages includes: and starting a Python multithreading function, and calling each thread to extract the address information of the test end from the plurality of response information in parallel.
In the implementation process, the address information of the test terminal is extracted from the plurality of response information in parallel by calling each thread, so that the processing efficiency of the client side on the response information is improved, and the Python execution process does not need to generate a corresponding virtual machine, so that less resources are consumed during the operation, and the resource consumption during the processing of the response information can be reduced.
The embodiment of the application also provides a network traffic simulation test method, which is applied to the data processing platform of the second network traffic simulation test system; the method comprises the following steps: receiving response information responded by the server end aiming at the second simulation flow, and writing the address information of the test end into the response information; and sending the response information written in the address information to the client, so that the client extracts the address information in each response information, and each container generates third simulation flow aiming at the test end pointed by the address information and sends the third simulation flow to the test end pointed by the address information.
In the implementation process, the address information of the test end is written in each response message through the data processing platform, so that the data processing platform can realize the ratio control of the written address information of different test ends, and the ratio control of various test combinations can be realized when a client end simulates a large-flow test to the test end, and a controllable simulated large flow is generated.
The embodiment of the application further provides a method for constructing a network flow simulation test environment, which comprises the following steps: configuring a target server address in a client; the target server address is an address of a website to be tested in a server to be tested; configuring a website for testing in a server to be tested; configuring a calling program for each container in the client; the calling program is used for calling a Web application program testing tool and a browser driver so as to generate a first simulation flow; initiating a configuration in the client.
Through the configuration, in a large-flow demand scene, the generation of the simulation flow can be directly realized by the hardware of the client based on each container, and compared with a Jmeter software realization mode, the hardware of the client can be completely used for supporting each container, so that more resources for generating the simulation flow can be provided, and the higher number of concurrent users during the network flow simulation test can be realized. In addition, through the configuration, the Web application program testing tool and the browser driver can be simultaneously started, so that under the action of the browser driver, the Web application program testing tool can realize the processing of related simulation operations in the memory of the client on the premise of not opening an actual browser, and various operation behaviors of the browser are realized, thereby generating corresponding simulation flow, ensuring the data integrity of the simulated flow, improving the flow simulation efficiency and reducing the resource consumption in the simulation process.
The embodiment of the application also provides a method for constructing a network flow simulation test environment, which comprises the following steps: configuring a target server address in a client; the target server address is an address of a website to be tested in a server to be tested; configuring a website for testing in a server to be tested; configuring a calling program for each container in the client; the calling program is used for calling a Web application program testing tool so as to generate a second simulation flow when data need to be sent to the server side and generate a third simulation flow when data need to be sent to the testing side; configuring the client to enable a Python multithreading function; configuring a response information processing program in the client; the response information processing program is used for extracting the address information of the test terminal from the response information; initiating a configuration in the client.
Through the configuration, a Web application program testing tool can be started, various operation behaviors of the browser are realized, and therefore corresponding simulation flow is generated, and the data integrity of the simulated flow is guaranteed. In addition, the secondary interaction of the client can be realized, namely, the simulation large-flow test from the client to the test end is realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic diagram of a basic structure of a network traffic simulation test system applied to scenario one according to an embodiment of the present application;
fig. 2 is a schematic diagram of a basic structure of a network traffic simulation test system applied to a scenario two according to an embodiment of the present application;
fig. 3a is a schematic structural diagram of a more specific network traffic simulation test system applied in scenario one according to an embodiment of the present application;
fig. 3b is a schematic structural diagram of a more specific network traffic simulation test system applicable to scenario two according to the embodiment of the present application;
fig. 4 is a schematic flowchart of a method for constructing a network traffic simulation test environment according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a second method for constructing a network traffic simulation test environment according to an embodiment of the present application;
fig. 6a is a schematic flowchart of a first network traffic simulation testing method applied to a client according to an embodiment of the present disclosure;
fig. 6b is a schematic flowchart of a second network traffic simulation testing method applied to a client according to an embodiment of the present application;
fig. 7 is a schematic flowchart of a network traffic simulation testing method applied to a data processing platform according to an embodiment of the present application;
fig. 8a is a schematic structural diagram of a more specific network traffic simulation test system according to an embodiment of the present disclosure;
fig. 8b is a schematic structural diagram of another more specific network traffic simulation test system according to an embodiment of the present application;
fig. 9a is a schematic structural diagram of a first network traffic simulation testing apparatus applied to a client according to an embodiment of the present disclosure;
fig. 9b is a schematic structural diagram of a second network traffic simulation testing apparatus applied to a client according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a network traffic simulation testing apparatus applied to a data processing platform according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The first embodiment is as follows:
in order to meet the simulation test requirement of large network traffic, the embodiment of the application provides a network traffic simulation test system.
Referring to fig. 1, fig. 1 is a schematic diagram of a basic structure of a network traffic simulation test system capable of implementing a large traffic simulation test from a client to a server according to an embodiment of the present application, where the network traffic simulation test system includes a client and a server that are communicatively connected. Wherein:
a plurality of containers are arranged in the client, and each container is provided with a browser.
In the embodiment of the application, a Web application testing tool and a browser driver which run in a browser are also configured in the client, and a calling program of the Web application testing tool and the browser driver. The calling program is used for calling a Web application program testing tool and a browser driver so as to simulate various operation behaviors of the browser and generate simulated flow.
In the embodiment of the present application, the client may be an electronic device having data manipulation and processing capabilities, and the container may be a container such as a docker container.
In the embodiment of the present application, the Web application test tool running in the browser may be, but is not limited to, a Web application test tool running in the browser using Selenium, Selenium2, or the like.
In the embodiment of the present application, the browser driver may be implemented by using a browser driver such as HtmlUnitDriver.
In the embodiment of the application, the calling program can be realized by writing a script by an engineer.
In the embodiment of the application, a Web application test tool, a browser driver and the calling program can be configured in each container, so that independent control of each container is realized.
In this embodiment, the server may include one or more of a WWW (World Wide Web) server, a DNS (Domain Name System) server, an NTP (Network Time Protocol) server, and other typical application servers.
In the embodiment of the present application, a website for testing is configured in the server (for example, if the simulation access to the a homepage is performed, the website of the a homepage needs to be configured in the server), so as to ensure that the simulation access to the corresponding address can be performed during the test.
In this embodiment of the present application, after receiving a first simulation flow sent by each container of a client (for convenience of introduction in this embodiment, it is referred to that in a scenario of implementing a large flow simulation test from the client to the server (hereinafter, scenario one), a simulation flow sent by the client to the server is the first simulation flow), the server may process each first simulation flow, and generate corresponding response information to return to the client, so that analysis on performance, operation conditions, and the like of the server may be implemented based on indexes such as a response speed and response accuracy of the server.
Therefore, the client combines the container technology to generate the flow, in a large-flow demand scene, the generation of the simulation flow is directly realized by the hardware of the client based on each container, and compared with a Jmeter software realization mode, the hardware of the client can be completely used for supporting each container, so that more resources for generating the simulation flow can be provided, and the higher number of concurrent users during the network flow simulation test can be realized. In addition, by simultaneously starting the Web application program testing tool and the browser driver, under the action of the browser driver, the Web application program testing tool can realize the processing of related simulation operations in the memory of the client on the premise of not opening an actual browser, and realize various operation behaviors (such as requesting a server, executing specific contents of a webpage and the like) of the browser, so that corresponding simulation flow is generated, the data integrity of the simulated flow is ensured, the flow simulation efficiency is improved, and the resource consumption in the simulation process is reduced.
In the actual application process, a large flow simulation test from the client to the test end may need to be simulated. In the embodiment of the present application, referring to fig. 2, a network traffic simulation test system applicable to a large traffic simulation test scenario (hereinafter referred to as scenario two) from a client to a test end is further provided, and includes a client, a server, a test end and a data processing platform that are in communication connection. Wherein the content of the first and second substances,
the client and the server are configured similarly in scenario one, except that: in the second scenario, when the calling program in the client is called, only the Web application test tool is called, so that the simulation operation is realized in the browser of each container without calling the browser driver, thereby avoiding occupying too many memory resources of the client and causing insufficient memory resources required by the flow to the test end.
Of course, if the memory in the client is large enough, the method shown in scenario one may also be used in scenario two, that is, the Web application test tool and the browser driver are simultaneously called to generate the traffic to the server.
Note that, in order to distinguish from scenario one, in the embodiment of the present application, the simulated traffic generated by the client to the server in scenario two is referred to as second simulated traffic. Therefore, similar to the scenario one, the server side responds to the second analog traffic and returns the response information of the response.
And the test end is in communication connection with the client. And the data processing platform is respectively in communication connection with the client and the server and is used for receiving response information responded by the server aiming at the second simulation flow of the client, writing the address information of the test end into the response information and sending the response information written with the address information to the client.
It should be understood that the test end may be a target object in the service cluster that is desired to be tested at this time, and is determined before the test is performed, so that the address information of the test end may be written in the data processing platform in advance, so as to write the address information of the test end into the response information.
It should be understood that the data processing platform is an electronic device with a data writing function, and can be implemented by various hosts, servers, and even single-chip microcomputers.
It should be understood that, in the embodiment of the present application, the test end may have a plurality of different virtual nodes to be tested, so that the address information of each virtual node may be written into different response information according to a set proportion.
It should be noted that, in the embodiment of the present application, the virtual node may be a device with data response processing capability, which is virtualized at the test end, such as a virtual machine. In the embodiment of the application, by setting a plurality of different virtual nodes to be tested in the test end, high concurrent response can be realized at the test end, so that the data processing efficiency in the simulation test process is improved.
In this embodiment, after receiving the response message, the client may extract address information of the testing end from the response message, and call the configured calling program to generate a third analog traffic (for convenience of description, the analog traffic sent to the testing end is referred to as the third analog traffic in this embodiment), and send the third analog traffic to the testing end.
Illustratively, in the embodiment of the application, the client may generate a session to the corresponding address according to the address information of the test end in the response information, so as to generate a large-flow session in a simulation manner, and realize a large-flow simulation test on the test end.
In scenario two of the embodiments of the present application, after receiving a piece of response information, the client may generate one or more third analog flows corresponding to the address in the response information and send the third analog flows to the testing end device at the address, thereby implementing a large flow test on the testing end.
In a second scenario of the embodiment of the present application, in order to improve the processing efficiency of the client for the response information, a Python multithreading function may be configured in the client, so that by enabling the Python multithreading function, multiple threads are called to extract the address information of the test end from multiple response information in parallel.
It should be understood that threads are independent, concurrent streams of execution within a program. The threads are isolated to a lesser degree in the process than separate processes, sharing memory, file handles, and other states that the process should have. Because the thread is divided into smaller scales than the process, the concurrency of the multi-thread program is higher. The process has independent memory units in the execution process, and a plurality of threads share the memory, so that the running efficiency of the program can be greatly improved. The Python language is internally provided with a multithreading function (Python multithreading function) support instead of being used as a scheduling mode of a bottom operating system, a corresponding virtual machine does not need to be generated in the Python executing process, and resources consumed in running are reduced.
It should be understood that, in the above scenario two, by controlling the magnitudes of the generated second analog flow and the third analog flow, the large-flow analog test for the service end and the test end can also be simultaneously implemented.
It should be understood that, in an actual application process, for a large flow test scenario, the generated instantaneous flow is usually in the order of millions or even tens of millions, and the data volume is very large, so as to improve the resource utilization rate of the system and better implement the test on the server and/or the test terminal, in scenario one and scenario two of the embodiment of the present application, as shown in fig. 3a and fig. 3b, a switch may also be included in the network flow simulation test system, and the client and the test terminal, or the client, the test terminal, the server and the data processing platform, are communicatively connected through the switch.
In the switch, aggregation links can be configured, and a network card corresponding to at least one server side is configured for each aggregation link, so that each aggregation link is bound with at least one network card of the server side, and the flow reaching the network card of the corresponding server side can only be forwarded according to the bound link.
Meanwhile, a load balancing strategy is configured for each aggregation link in the switch so as to send the simulation flow in each aggregation link to each network card corresponding to each aggregation link in a balanced manner, so that the flow received by each network card corresponding to the same aggregation link is balanced substantially, and the resource utilization rate of the whole system under the condition of large flow is improved.
It should be noted that the term "aggregated link" refers to a link aggregation technique that is used to combine two or more data channels into a single channel, i.e., an aggregated link, which appears as a single logical link with a higher bandwidth.
In the embodiment of the present application, the configuration of the aggregated link may be manually configured by an engineer according to the test requirements. However, by setting a link aggregation adaptive policy, the switch may automatically perform link aggregation according to the data transmission condition in each channel, so that the traffic in each aggregated link is balanced as a whole.
It should be understood that, in the embodiment of the present application, configuring a load balancing policy for each aggregated link may be implemented by using various existing policies or methods, and is not limited in the embodiment of the present application.
It should be noted that, in order to ensure the flow forwarding efficiency in a large flow environment, in the embodiment of the present application, a high-power switch such as a gigabit switch may be used as the switch.
In order to implement the network traffic simulation test system, in the embodiment of the present application, two methods for constructing a network traffic simulation test environment are further provided, which correspond to the environment construction before the scene one test and the environment construction before the scene two test, respectively.
Referring to fig. 4, a method for constructing a first network traffic simulation test environment corresponding to an environment before a scenario one test provided in the embodiment of the present application includes:
s401: and configuring a target server address in the client.
It should be noted that the target server address is an address of a website to be tested in the server to be tested. The website for testing is a website designed to be accessed in the testing process.
S402: and configuring a website for testing in the server to be tested.
It should be understood that there is no timing relationship between step S401 and step S402, and the two operation steps can be determined by an engineer according to actual operation habits.
S403: and configuring a calling program for each container in the client.
In an embodiment of the application, the calling program is used for calling a Web application testing tool and a browser driver to generate a first simulation flow.
S404: the configuration in the client is initiated.
In the embodiment of the present application, the start of the configuration in the client may be realized by restarting the application program related to the configured information in the client.
After the configuration is started, the client can simulate multiple users to access the server through the multiple containers, and therefore large-flow simulation test of the server is achieved.
Referring to fig. 5, a method for constructing a second network traffic simulation test environment corresponding to an environment before a scenario two test provided in the embodiment of the present application includes:
s501: and configuring a target server address in the client.
S502: and configuring a website for testing in the server to be tested.
It should be understood that there is no timing relationship between step S501 and step S502, and the two operation steps can be determined by an engineer according to actual operation habits.
S503: and configuring a calling program for each container in the client.
In the embodiment of the application, the calling program is used for calling a Web application testing tool and a browser driver so as to generate a second simulation flow when data needs to be sent to the server side and generate a third simulation flow when data needs to be sent to the testing side.
S504: the client is configured to enable Python multithreading.
In the embodiment of the application, a program can be written in a Python language in the client, and then a Python multithreading function is started based on the Python language.
S505: and configuring a response information processing program in the client.
In the embodiment of the present application, the response information processing program is configured to extract address information of the test terminal from the response information.
S506: the configuration in the client is initiated.
It should be understood that after the above configuration is started, the client can simulate multiple users to access the server through multiple containers, thereby implementing a large-flow simulation test on the server. Meanwhile, the access to the test end can be realized, and the simulation test of the test end can be realized.
It should be noted that, in a possible implementation manner of the embodiment of the present application, for example, as shown in fig. 8a, the data processing platform may access between the client and the server through the switch in a bypass connection manner, so that it may be configured that the response information returned by the server arrives at the switch first, and then mirror the response information, and send the mirrored response information to the data processing platform, so that the data processing platform performs a write operation of the address information of the test end.
At this time, in order to ensure that the response information received by the client is the response information in which the address information of the test terminal is written by the data processing platform, a delay program for the server to the client may be configured in the switch, so as to delay and send the response information of the server to the client, and the response information of the data processing platform is normally sent to the client. Therefore, due to the limitation of the communication protocol, for the same response message, the client does not process the second response message after receiving the first response message, so that the client can be ensured to process only the response message of the data processing platform. And the mirrored response information can keep the integrity of the data because the response information transmitted from the server is not discarded at the switch.
In addition, in a possible implementation manner of the embodiment of the present application, for example, as shown in fig. 8b, the data processing platform may be directly connected between the client and the server in a serial connection manner (the data processing platform shown in the figure is disposed between the switch and the server, and the data processing platform may also be disposed between the switch and the client in an actual application process), so that the response information returned by the server may arrive at the data processing platform first, and then the response information is processed by the data processing platform and then sent to the client. In the method, mirror response information is not needed, and a delay program aiming at the server side to the client side is not needed to be configured in the switch.
In the embodiment of the present application, based on the network traffic simulation test system, a network traffic simulation test method applied to a client of the system corresponding to scenario one is also provided in the embodiment of the present application.
Referring to fig. 6a, the method comprises:
S601A: and calling a calling program configured in the client so that each container generates first simulation flow respectively, and sending the first simulation flow to the server.
At this time, under the action of a calling program, each container can be based on a Web application program testing tool, and under the action of browser driving, under the condition that an actual browser is not opened, various browser operations are directly simulated in a memory of a client, so that a large amount of first simulation flow is generated, and the condition that multiple users and multiple Internet Protocol (Internet Protocol) access to a server side is simulated.
S602A: and receiving response information returned by the server aiming at each first simulation flow.
After receiving each first analog flow, the server side normally processes each first analog flow, so as to generate response information of large flow and send the response information to the client side.
Therefore, large-flow multi-user simulation from the client to the server is realized.
In the embodiment of the present application, based on the network traffic simulation test system, a network traffic simulation test method applied to a client of the system corresponding to scenario two is also provided in the embodiment of the present application.
Referring to fig. 6b, the method comprises:
S601B: and calling a calling program configured in the client so that each container generates second simulation flow respectively, and sending the second simulation flow to the server.
It should be noted that, at this time, each container may open its own browser under the action of the calling program, and only call the Web application test tool to simulate various browser operations, so as to generate a large amount of second simulation traffic, thereby simulating the situation of multiple users and multiple IP access servers.
S602B: and receiving response information returned by the server aiming at each second analog flow.
In a feasible implementation manner of the embodiment of the application, the address information of the test terminal can be written in the response information by using the data processing platform, so that the client can also realize the large-flow simulation test on the test terminal.
Referring to fig. 7, fig. 7 shows a network traffic simulation test method applied to a data processing platform of a network traffic simulation test system, including:
s701: and the data processing platform receives response information responded by the server end aiming at the second simulation flow, and writes the address information of the test end into the response information.
S702: and sending the response information written with the address information to the client.
It should be understood that in the embodiment of the present application, the data processing platform and the server and the client may be connected through a switch, as shown in fig. 8 a. At this time, the switch may change the destination of the response information after receiving the response information sent by the server, forward the response information to the data processing platform, and then write the address information of the test terminal in the response information by the data processing platform, and then send the response information to the client through the switch again.
In addition, in the manner shown in fig. 8a, the switch may mirror the response information sent by the server, send the mirrored response information to the data processing platform, write the address information of the test terminal in the mirrored response information by the data processing platform, and send the mirrored response information to the client through the switch.
In this way, in order to ensure that the response information sent by the data processing platform is processed by the client and that the response information of the mirror image received by the data processing platform is complete, a delay program for the data of the server may be configured in the switch to delay sending the response information of the server to the client, so as to ensure that the client receives the response information sent by the data processing platform first.
In addition, the data processing platform can also be directly disposed between the server and the client, as shown in fig. 8 b. At this time, the response information returned by the server is transferred through the data processing platform, so that the data processing platform can write the address information of the test terminal into the response information, and then send the response information to the client through the switch again.
S603B: and extracting address information in each response message.
After receiving the response information written with the address information of the test terminal, the client can extract the address information of the test terminal from each response information.
It should be understood that, in order to improve the efficiency of extracting the address information, a Python multithreading function may be enabled in the client, and each thread is called to extract the address information of the test end from multiple pieces of response information in parallel.
S604B: and calling a calling program to enable each container to respectively generate third simulation flow aiming at the test end pointed by the address information, and sending the third simulation flow to the test end pointed by the address information.
In a feasible implementation manner of the embodiment of the application, the test end may have a plurality of virtual nodes to be tested, so that a calling program may be called, and each container may generate a third simulation traffic for the virtual node to which the address information points, and send the third simulation traffic to the virtual node to which the address information points.
It should be understood that, in the embodiment of the present application, the traffic ratio of each virtual node may be preset, so that the data processing platform may, in a manner that the address information of each virtual node is written in the response information according to the set ratio, enable the client to generate the third simulation traffic sent to each virtual node according to the set ratio, thereby improving controllability of the simulation flow test process.
According to the network flow simulation test method, the network flow simulation test system and the network flow simulation test environment construction method, the client combines the container technology to generate flow, in a large-flow demand scene, the generation of the simulation flow is directly realized by hardware of the client based on each container, and compared with a Jmeter software realization mode, the hardware of the client can be completely used for supporting each container, so that more resources for generating the simulation flow can be provided, and the higher number of concurrent users during network flow simulation test is realized. In addition, for the first scenario, the scheme of the embodiment of the application enables the Web application test tool and the browser driver at the same time, so that under the action of the browser driver, the Web application test tool can implement processing of related simulation operations in the memory of the client on the premise of not opening an actual browser, and implement various operation behaviors of the browser (such as requesting a server, executing specific contents of a webpage, and the like), thereby generating corresponding simulation traffic, ensuring data integrity of the simulated traffic, improving traffic simulation efficiency, and reducing resource consumption in a simulation process.
In addition, for scenario two, the embodiment of the application can write the address information of the test terminal into the response information of the service terminal through the data processing platform, so that secondary interaction of the client terminal can be realized, that is, a large-flow simulation test from the client terminal to the test terminal is realized. In addition, the data processing platform can realize the ratio control of the written address information of different test ends, thereby realizing the ratio control of various test combinations when a client end simulates a large-flow test to the test end, and generating a controllable simulated large-flow.
In addition, in the embodiment of the application, an aggregation link can be configured for the switch by adopting a link aggregation technology, and at least one corresponding network card of the server is configured for each aggregation link, so that the traffic corresponding to the network card of the server is forwarded according to the bound link, and the controllability of the traffic of each network card is realized. Meanwhile, load balancing strategies are configured for the aggregation links in each switch, so that adaptive load balancing of flow can be performed in each aggregation link, the flow received by each network card corresponding to the same aggregation link is balanced substantially, and the resource utilization rate of the whole system under the condition of large flow can be improved.
Example two:
in this embodiment, on the basis of the first embodiment, a specific network traffic simulation test system in which a container is a docker container, a Web application test tool uses Selenium, and a browser driver uses HtmlUnitDriver is taken as an example, which is further described in this application.
Referring to the network traffic simulation test system shown in fig. 8a, a client has multiple groups of docker containers, and a test end has multiple virtual nodes.
Firstly, an engineer configures a client and a server, including:
and configuring a target server address in the client. The target server address is the address of the website to be tested in the server to be tested. The website for testing is a website designed to be accessed in the testing process.
And then, configuring a website for testing in the service end to be tested.
Next, a calling program is configured for each container in the client. The calling program can be used for calling the Selenium and the HtmlUnitdriver as required to realize the cooperation of the dual-drive engine, so that when the simulation flow is generated, an actual browser does not need to be opened, the efficiency is higher, the resource consumption is less, or the browser is normally opened, only the Selenium is called, and the operation simulation of the browser is realized.
Then, Python multithreading is enabled in the configuration client.
Then, a response message handler in the client is configured.
And then configuring a delay program aiming at the service end and an information writing program of the data processing platform in the switch. The information writing program is used for writing the address information of the designated virtual node in the response information.
In addition, in the embodiment of the present application, an engineer manually configures aggregation links for a switch, defines a network card of a server corresponding to each aggregation link, and configures load balancing for each aggregation link.
After configuration is completed, the system can perform the following two scenarios of testing tasks:
in a first scenario, a traffic simulation test is performed only for a server:
and starting the configuration of the target server address and the calling program in the client, and starting the configuration of the test website in the server.
The client calls a calling program, calls the Selenium and the HtmlUnitdriver, simulates browser operations of a user (such as requesting a server, executing specific contents of a webpage and the like) in each docker container, generates a large amount of first simulation flow which is complete in data, simulates multi-user and multi-IP operations, and sends the first simulation flow to the server.
And the switch forwards the first analog flow to each network card of the server side in a balanced manner by using the aggregation link.
The server side responds to each first simulation flow to generate a large amount of response information, and the response information is returned to the client side through the switch, so that the flow simulation test aiming at the server side is realized.
And in a second scenario, flow simulation test is carried out on the server side and the test side:
and starting all the configurations in the client, the switch, the server and the data processing platform.
The client calls a calling program, only calls the Selenium to simulate the browser operation of the user (such as requesting the server, executing specific content of a webpage and the like) in each docker container, generates a large amount of second simulation flow which is complete in data, simulates multi-user and multi-IP operation, and sends the second simulation flow to the server.
And the switch forwards the second analog flow to each network card of the server side in a balanced manner by using the aggregation link.
The server side responds to each second analog flow, generates a large amount of response information and returns the response information to the switch.
And after receiving the response information sent by the server, the switch performs mirroring and sends the mirrored response information to the data processing platform.
And the data processing platform calls an information writing program, writes the address information of the specified virtual node in the response information of the mirror image, and sends the address information back to the switch.
The exchanger sends the response information of the data processing platform to the client, and sends the original response information sent by the server to the client after the delay program arrives.
The client receives the response information of the data processing platform, so that the address information of the virtual node is extracted from the multiple pieces of response information in parallel by utilizing Python multithreading.
When the client receives the same response message subsequently, the client discards the corresponding message received later according to the protocol specification, thereby realizing the non-processing of the original response message sent by the server and saving the processing resource.
After the client analyzes a response message to obtain address information of a virtual node, the client calls the Selenium to simulate the browser operation of a user in one or more docker containers, generates simulated session flow aiming at the virtual node, and sends the simulated session flow to the virtual node according to the address information of the virtual node.
And each virtual node continuously receives the simulation session flow of the client and responds, so that the large-flow simulation test of each virtual node of the test end is realized.
By the scheme, various execution operations of the browser can be simulated in a simulation environment, the complete data large flow from the client to the server is generated, the proportioning flow can be specified according to a Transmission Control Protocol (TCP), and the client can realize large-flow conversation to the test end. Meanwhile, the pressure of large flow on a network card of a server side in the existing actual environment is relieved by configuring a switch aggregation link and load balancing.
Meanwhile, the implementation of the scheme does not need complex commands, for the scene one, through the action of the html unitdriver, the Selenium can realize the simulation operation of the related browser in the memory on the premise of not opening the actual browser, realize various operation behaviors of the browser, and start the large-flow test, so that the data integrity of the simulated flow is ensured, the flow simulation efficiency is improved, and the resource consumption in the simulation process is reduced. For the second scenario, only the Selenium is called, and the memory resource of the client does not need to be preempted when the simulation flow is generated again, so that precious realization resources are provided for Python multithreading, and the data processing efficiency is improved.
Example three:
based on the same inventive concept, the present application further provides two network traffic simulation test apparatuses 100 and 200 applied to the client in the first embodiment, and a network traffic simulation test apparatus 300 applied to the data processing platform in the first embodiment. Referring to fig. 9a, 9b and 10, fig. 9a shows a network traffic simulation test device using the method shown in fig. 6a, fig. 9b shows a network traffic simulation test device using the method shown in fig. 6b, and fig. 10 shows a network traffic simulation test device using the method shown in fig. 7. It should be understood that the specific functions of the apparatus 100, the apparatus 200 and the apparatus 300 can be referred to the above description, and the detailed description is appropriately omitted here to avoid redundancy. The devices 100, 200 and 300 include at least one software functional module that can be stored in a memory in the form of software or firmware or solidified in an operating system of the devices 100, 200 and 300. Specifically, the method comprises the following steps:
referring to fig. 9a, the apparatus 100 is applied to a client, and includes: a first calling module 101 and a first receiving module 102. Wherein:
the first calling module 101 is configured to call the calling program, so that each container generates a first analog traffic, and send the first analog traffic to the server.
The first receiving module 102 is configured to receive response information returned by the server for each first analog traffic.
Referring to fig. 9b, the apparatus 200 is applied to a client, and includes: a second calling module 201, a second receiving module 202, an extracting module 203 and a sending module 204. Wherein:
a second calling module 201, configured to call the calling program, so that each container generates a second analog traffic, and send the second analog traffic to the server;
a second receiving module 202, configured to receive response information returned by the server for each second analog flow; the response information comprises address information of the test terminal;
an extracting module 203, configured to extract address information in each piece of response information;
the second calling module 201 is further configured to call the calling program, so that each container generates a third simulation flow for the test end to which the address information points;
a sending module 204, configured to send the third analog traffic to the test end to which the address information points.
In the embodiment of the application, the testing end is provided with a plurality of virtual nodes to be tested; the second calling module 201 is specifically configured to call the calling program, so that each container generates a third simulation traffic for the virtual node pointed by the address information, and sends the third simulation traffic to the virtual node pointed by the address information.
In this embodiment of the application, the second calling module 201 is specifically configured to enable a Python multithreading function, and call each thread to extract address information of the test end from a plurality of pieces of response information in parallel.
Referring to fig. 10, the apparatus 300 is applied to a data processing platform, and includes: a receiving unit 301 and a writing unit 302. Wherein:
the receiving unit 301 is configured to receive response information, responded to by the server, of the second analog traffic, and write address information of the test end into the response information;
the writing unit 302 is configured to send the response information written with the address information to the client, so that the client extracts the address information in each response information, and causes each container to generate a third simulation traffic for the test end to which the address information points, and send the third simulation traffic to the test end to which the address information points.
It should be understood that, for the sake of brevity, the contents described in some embodiments are not repeated in this embodiment.
Example four:
the present embodiment provides a readable storage medium, such as a floppy disk, an optical disk, a hard disk, a flash Memory, a usb (universal serial bus) Card, an MMC (Multimedia Card) Card, etc., where one or more programs for implementing the above steps are stored in the readable storage medium, and the one or more programs may be executed by one or more processors to implement the network traffic simulation testing method executed by the service distribution device in the first embodiment and/or the second embodiment. And will not be described in detail herein.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
In this context, a plurality means two or more.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A network traffic simulation test system, comprising:
the system comprises a client, a server and a server, wherein a plurality of containers are configured in the client, and each container is provided with a browser; a Web application program testing tool, a browser driver and a calling program of the Web application program testing tool and the browser driver which run in a browser are also configured in the client; the calling program is used for calling the Web application program testing tool and the browser driver to generate a first simulation flow;
and the server is in communication connection with the client and is used for receiving the first simulation flow generated by each container of the client and responding.
2. The network traffic simulation test system of claim 1, wherein the network traffic simulation test system further comprises a switch;
the client side and the server side are in communication connection through the switch;
aggregation links are configured in the switch, and each aggregation link is configured with a network card corresponding to at least one server side; and configuring a load balancing strategy for each aggregation link in the switch so as to send the first analog flow in each aggregation link to each network card corresponding to each aggregation link in a balanced manner.
3. A network traffic simulation test system, comprising:
the system comprises a client, a server and a server, wherein a plurality of containers are configured in the client, and each container is provided with a browser; a Web application program testing tool running in a browser and a calling program of the Web application program testing tool are also configured in the client; the calling program is used for calling the Web application program testing tool to generate second simulation flow;
the server is in communication connection with the client and used for receiving second simulation flow generated by each container of the client and responding;
the test end is in communication connection with the client;
the data processing platform is in communication connection with the client and the server, and is used for receiving response information responded by the server aiming at the second simulation flow, writing the address information of the test terminal into the response information, and sending the response information written with the address information to the client;
the client is further used for extracting the address information of the testing end from the response information, calling the calling program to generate a third simulation flow and sending the third simulation flow to the testing end.
4. The network traffic simulation test system according to claim 3, wherein a Python multithreading function is configured in the client, and when the Python multithreading function is enabled, a plurality of threads extract address information of the test end from a plurality of the response information in parallel.
5. A network traffic simulation test method, which is applied to the client of the network traffic simulation test system according to claim 1 or 2; the method comprises the following steps:
calling the calling program to enable each container to generate first simulation flow respectively and send the first simulation flow to the server;
and receiving response information returned by the server aiming at each first simulation flow.
6. A network traffic simulation test method, which is applied to the client of the network traffic simulation test system according to claim 3 or 4; the method comprises the following steps:
calling the calling program to enable each container to generate second simulation flow respectively and send the second simulation flow to the server;
receiving response information returned by the server end aiming at each second analog flow; the response information comprises address information of the test terminal;
extracting address information in each response message;
and calling the calling program to enable each container to respectively generate third simulation flow aiming at the test end pointed by the address information, and sending the third simulation flow to the test end pointed by the address information.
7. The method according to claim 6, wherein extracting the address information in each of the response messages comprises:
and starting a Python multithreading function, and calling each thread to extract the address information of the test end from the plurality of response information in parallel.
8. A network flow simulation test method is applied to the data processing platform of the network flow simulation test system according to claim 3 or 4; the method comprises the following steps:
receiving response information responded by the server end aiming at the second simulation flow, and writing the address information of the test end into the response information;
and sending the response information written in the address information to the client, so that the client extracts the address information in each response information, and each container generates third simulation flow aiming at the test end pointed by the address information and sends the third simulation flow to the test end pointed by the address information.
9. A method for constructing a network flow simulation test environment is characterized by comprising the following steps:
configuring a target server address in a client; the target server address is an address of a website to be tested in a server to be tested;
configuring a website for testing in a server to be tested;
configuring a calling program for each container in the client; the calling program is used for calling a Web application program testing tool and a browser driver so as to generate a first simulation flow;
initiating a configuration in the client.
10. A method for constructing a network flow simulation test environment is characterized by comprising the following steps:
configuring a target server address in a client; the target server address is an address of a website to be tested in a server to be tested;
configuring a website for testing in a server to be tested;
configuring a calling program for each container in the client; the calling program is used for calling a Web application program testing tool so as to generate a second simulation flow when data need to be sent to the server side and generate a third simulation flow when data need to be sent to the testing side;
configuring the client to enable a Python multithreading function;
configuring a response information processing program in the client; the response information processing program is used for extracting the address information of the test terminal from the response information;
initiating a configuration in the client.
CN202110689207.4A 2021-06-22 2021-06-22 Network flow simulation test method, system and environment construction method Active CN113141283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110689207.4A CN113141283B (en) 2021-06-22 2021-06-22 Network flow simulation test method, system and environment construction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110689207.4A CN113141283B (en) 2021-06-22 2021-06-22 Network flow simulation test method, system and environment construction method

Publications (2)

Publication Number Publication Date
CN113141283A CN113141283A (en) 2021-07-20
CN113141283B true CN113141283B (en) 2021-08-17

Family

ID=76815860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110689207.4A Active CN113141283B (en) 2021-06-22 2021-06-22 Network flow simulation test method, system and environment construction method

Country Status (1)

Country Link
CN (1) CN113141283B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992553B (en) * 2021-10-21 2023-05-23 哈尔滨工业大学 Micro-service-based platform traffic generation system, method, computer and storage medium
CN114780170B (en) * 2022-04-11 2023-07-21 远景智能国际私人投资有限公司 Container resource configuration method, device, equipment and storage medium
CN115412458B (en) * 2022-08-29 2023-11-03 山石网科通信技术股份有限公司 Network equipment testing method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139004A (en) * 2011-12-02 2013-06-05 阿里巴巴集团控股有限公司 Method and system for simulating network bandwidth by using network rate-limiting tool
CN112231213A (en) * 2020-10-16 2021-01-15 广州助蜂网络科技有限公司 Web automatic testing method, system, storage medium and terminal equipment
CN112860375A (en) * 2021-02-01 2021-05-28 上海道客网络科技有限公司 Kubernetes-based containerized application request replication method, system, medium and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7043460B2 (en) * 2001-05-31 2006-05-09 International Business Machines Corporation Web browser-based object oriented application component test client
US7730352B2 (en) * 2006-06-28 2010-06-01 Microsoft Corporation Testing network applications without communicating over a network layer communication link

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139004A (en) * 2011-12-02 2013-06-05 阿里巴巴集团控股有限公司 Method and system for simulating network bandwidth by using network rate-limiting tool
CN112231213A (en) * 2020-10-16 2021-01-15 广州助蜂网络科技有限公司 Web automatic testing method, system, storage medium and terminal equipment
CN112860375A (en) * 2021-02-01 2021-05-28 上海道客网络科技有限公司 Kubernetes-based containerized application request replication method, system, medium and device

Also Published As

Publication number Publication date
CN113141283A (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN113141283B (en) Network flow simulation test method, system and environment construction method
CN104077212B (en) pressure testing system and method
US20120130950A1 (en) Data replication to multiple data nodes
CN112449750A (en) Log data collection method, log data collection device, storage medium, and log data collection system
CN110875840B (en) Network element management method, device, system and storage medium
CN110034972B (en) Server pressure testing method and device
CN104579822A (en) Automatic performance test system and method of mobile application based on Http protocol
CN108183975A (en) A kind of method and system of domain name mapping
CN103138995A (en) Method and device for server performance test
CN104009880A (en) Web test method, proxy server and Web test device
CN112039722B (en) MQTT protocol simulation method and simulation equipment
CN109951566A (en) A kind of Nginx load-balancing method, device, equipment and readable storage medium storing program for executing
US20160147643A1 (en) Web browser emulator
Shafabakhsh et al. Evaluating the Impact of Inter Process Communication in Microservice Architectures.
CN112988346B (en) Task processing method, device, equipment and storage medium
CN112527647B (en) NS-3-based Raft consensus algorithm test system
WO2023093043A1 (en) Data processing method and apparatus, and medium
CN112948091A (en) Application system migration method and device, electronic equipment and storage medium
CN105681426A (en) Heterogeneous system
CN112346980B (en) Software performance testing method, system and readable storage medium
US7962799B2 (en) System and method for synchronizing test runs on separate systems
CN104717175A (en) Virtual desktop processing method and system
EP2842275A1 (en) Increasing a data transfer rate
CN112346979A (en) Software performance testing method, system and readable storage medium
US7925487B2 (en) Replaying distributed systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant