CN112433948A - Simulation test system and method based on network data analysis - Google Patents
Simulation test system and method based on network data analysis Download PDFInfo
- Publication number
- CN112433948A CN112433948A CN202011368615.1A CN202011368615A CN112433948A CN 112433948 A CN112433948 A CN 112433948A CN 202011368615 A CN202011368615 A CN 202011368615A CN 112433948 A CN112433948 A CN 112433948A
- Authority
- CN
- China
- Prior art keywords
- data
- network
- test
- module
- transaction
- 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.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 174
- 238000004088 simulation Methods 0.000 title claims abstract description 48
- 238000007405 data analysis Methods 0.000 title claims abstract description 21
- 238000000034 method Methods 0.000 title description 24
- 238000012544 monitoring process Methods 0.000 claims abstract description 28
- 238000005516 engineering process Methods 0.000 claims abstract description 15
- 238000007781 pre-processing Methods 0.000 claims abstract description 13
- 238000004519 manufacturing process Methods 0.000 claims abstract description 11
- 238000010998 test method Methods 0.000 claims abstract description 5
- 238000004458 analytical method Methods 0.000 claims description 21
- 238000001914 filtration Methods 0.000 claims description 17
- 230000004044 response Effects 0.000 claims description 14
- 230000006870 function Effects 0.000 description 18
- 230000008569 process Effects 0.000 description 8
- 238000007726 management method Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000013515 script Methods 0.000 description 4
- 230000007547 defect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000010420 art technique Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000004141 dimensional analysis Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000013522 software testing Methods 0.000 description 1
- 230000007474 system interaction Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3664—Environments for testing or debugging software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a simulation test system and a simulation test method based on network data analysis, which comprises the following steps: module M1: acquiring a network message in a production environment through a network packet capturing technology, analyzing the network message, generating and storing structured transaction data; module M2: preprocessing the structured transaction data to obtain preprocessed transaction data; module M3: and selecting a data set from the preprocessed transaction data according to the test requirement, replaying the data set to the tested software system for testing according to the preset proportion and speed, monitoring the state of the tested system, and generating a test report. The invention uses the full production data to establish the test database, the simulation degree is high, the test scene coverage is comprehensive, and the calling proportion of each service is consistent with the actual scene.
Description
Technical Field
The invention relates to the technical field of simulation test, in particular to a simulation test system and method based on network data analysis.
Background
Software testing is an important link in the software product development process and is used for finding software defects and guaranteeing software quality. There are a large number of commercial products (tools) and open source products (tools) competing for this market, and a large number of companies will also self-research in conjunction with their own practices. The efficient and comprehensive test method has great commercial value.
For a complex software system, simulation tests of the real use environment of simulation software are more important, such as work function regression tests, system compatibility tests, pressure tests and the like before a new function or a system is on line. Such complex softwares include (but are not limited to): 1) transaction business systems such as unions, online banking, stocks, funds, financing, insurance, and the like; 2) a social software system; 3) e-commerce order system; 4) logistics systems, and the like.
The simulation test refers to a test performed by simulating a real use environment of software and configuring the software to a real use state, and in the following tests, huge requirements on the number of test cases and the number of test data exist:
and (4) performing regression testing. Generally, after a new function is added, the method is used for verifying that the existing function is not influenced and can be operated correctly.
And (5) testing compatibility. Typically after upgrading on the system or migrating to a new platform, for verifying proper functioning of the functionality.
And (6) testing the pressure. The software stress test is to continuously stress the software, force it to run under extreme conditions, observe how far it can run, and test the extreme processing performance of the system.
Simulation testing may be a first-order simulation in a simulated environment. It is clear that this method has the following drawbacks: 1) low efficiency, high time and labor costs; 2) the test quality is not guaranteed and depends on the test case writing and the tester level.
While some prior art techniques developed using test tools generally address these simulation test requirements, the following approaches are available:
user access behavior is simulated using a testing tool, such as JMeter. Such methods have the following drawbacks:
a developer is required to write a test script;
if all service scenes need to be covered, a large number of test scripts need to be compiled, and the cost is high;
recording the browser access process and making the browser access process into a script for playback. Such methods have the following drawbacks:
only HTTP service testing is supported;
if all service scenes need to be covered, a large number of test scripts need to be recorded, and the cost is high.
The methods are mainly performed by testers based on the understanding of requirements and software products to simulate users in the development process, and are obviously different from the actual scenes. Therefore, the common defects of the service simulation system based on the technical method are as follows: 1) low simulation degree, 2) large test development investment, and 3) high time and labor cost.
In view of the above-mentioned drawbacks of the prior art, the technical problems to be solved by the present invention are as follows:
1) a large amount of real service data is rapidly obtained through network packet capturing;
2) processing the service data according to requirements to form a large amount of simulation test data;
3) injecting the materials into the system in batch or in real time for testing according to the requirements;
4) analyzing and comparing the test results as required to form a test conclusion and a report;
5) the operations are all carried out in a UI system and run by background software, so that the operation is efficient and easy to use.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a simulation test system and method based on network data analysis.
The invention provides a simulation test system based on network data analysis, which comprises:
module M1: acquiring a network message in a production environment through a network packet capturing technology, analyzing the network message, generating and storing structured transaction data;
module M2: preprocessing the structured transaction data to obtain and store the preprocessed transaction data;
module M3: and selecting required test case data from the preprocessed transaction data according to the test requirement, replaying the test case data to the tested software system according to a preset proportion and speed for testing, monitoring the state of the tested system, and generating a test report.
Preferably, said module M1 comprises:
module M1.1: in a transaction environment, network mirroring or network road assisting equipment is adopted, network data is exported as a data message under the condition that transaction is not influenced, and the network message is acquired;
module M1.2: analyzing network data of the network message to obtain flat key value pair information or structured information;
module M1.3: and distinguishing the request and the response of the flat key value pair information or the structured information, associating a plurality of information by adopting a transaction association technology to obtain structured transaction data, and storing the structured transaction data.
Preferably, said module M1.2 comprises: the analysis method comprises data packet decoding, deep packet analysis, regular expression, rule matching and/or character string searching.
Preferably, the preprocessing in the module M2 includes: filtering and matching transaction data meeting preset conditions, filtering sensitive information, calling simulation of an external system and modifying a user name.
Preferably, said module M3 comprises:
module M3.1: setting a starting parameter according to the test requirement, and starting a simulation test;
module M3.2: loading test case data required by the test according to the starting parameters;
module M3.3: sending the required test case data to a tested software system through a network according to a preset proportion and a preset rate;
module M3.4: monitoring key performance indexes of the tested software system through a monitoring module;
module M3.5: and generating a test report according to the key performance indexes.
Preferably, the key performance indicators include transaction amount, success rate, response time, system load, and/or memory.
The simulation test method based on network data analysis provided by the invention comprises the following steps:
step M1: acquiring a network message in a production environment through a network packet capturing technology, analyzing the network message, generating and storing structured transaction data;
step M2: preprocessing the structured transaction data to obtain and store the preprocessed transaction data;
step M3: and selecting required test case data from the preprocessed transaction data according to the test requirement, replaying the test case data to the tested software system according to a preset proportion and speed for testing, monitoring the state of the tested system, and generating a test report.
Preferably, the step M1 includes:
step M1.1: in a transaction environment, network mirroring or network road assisting equipment is adopted, network data is exported as a data message under the condition that transaction is not influenced, and the network message is acquired;
step M1.2: analyzing network data of the network message to obtain flat key value pair information or structured information;
step M1.3: distinguishing requests and responses of the flat key value pair information or the structured information, associating a plurality of information by adopting a transaction association technology to obtain structured transaction data, and storing the structured transaction data;
said step M1.2 comprises: the analysis method comprises data packet decoding, deep packet analysis, regular expression, rule matching and/or character string searching.
Preferably, the preprocessing in the step M2 includes: filtering and matching transaction data meeting preset conditions, filtering sensitive information, calling simulation of an external system and modifying a user name.
Preferably, the step M3 includes:
step M3.1: setting a starting parameter according to the test requirement, and starting a simulation test;
step M3.2: loading test case data required by the test according to the starting parameters;
step M3.3: sending the required test case data to a tested software system through a network according to a preset proportion and a preset rate;
step M3.4: monitoring key performance indexes of the tested software system through a monitoring module;
step M3.5: generating a test report according to the key performance indexes;
the key performance indicators include transaction amount, success rate, response time, system load, and/or memory.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention uses the full production data to establish the test database, the simulation degree is high, the test scene coverage is comprehensive, and the calling proportion of each service is consistent with the actual scene;
2. according to the invention, the test case library is automatically established according to the full production data, the test case establishing cost is low, and a large number of test cases can be quickly established; the test case is maintained by the system, and the cost for maintaining the test case is low;
3. the invention uses UI to manage the use cases and the test process, is efficient and easy to use, and manages a large number of test cases through the UI, including a test case creating strategy; through the UI arrangement and management test process, a report is automatically generated, and history comparison can be performed; in the testing process, the state of the tested system is monitored in real time, multi-dimensional analysis is integrated, and deep problems are found.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
FIG. 1 is a flow chart of a simulation testing method based on network data analysis;
FIG. 2 is a diagram of a simulation test system based on network data analysis.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.
Example 1
The invention provides a simulation test system based on network data analysis, which comprises:
module M1: acquiring a network message in a production environment through a network packet capturing technology, analyzing the network message, generating and storing structured transaction data;
module M2: preprocessing the structured transaction data to obtain and store the preprocessed transaction data;
module M3: and selecting required test case data from the preprocessed transaction data according to the test requirement, replaying the test case data to the tested software system according to a preset proportion and speed for testing, monitoring the state of the tested system, and generating a test report.
Specifically, the module M1 includes:
module M1.1: in a transaction environment, network mirroring or network road assisting equipment is adopted, network data is exported as a data message under the condition that transaction is not influenced, and the network message is acquired;
module M1.2: analyzing network data of the network message to obtain flat key value pair information or structured information;
module M1.3: and distinguishing the request and the response of the flat key value pair information or the structured information, associating a plurality of information by adopting a transaction association technology to obtain structured transaction data, and storing the structured transaction data.
In particular, said module M1.2 comprises: the analysis method comprises data packet decoding, deep packet analysis, regular expression, rule matching and/or character string searching.
Specifically, the preprocessing in the module M2 includes: filtering and matching transaction data meeting preset conditions, filtering sensitive information, calling simulation of an external system and modifying a user name.
Specifically, the module M3 includes:
module M3.1: setting a starting parameter according to the test requirement, and starting a simulation test;
module M3.2: loading test case data required by the test according to the starting parameters;
module M3.3: sending the required test case data to a tested software system through a network according to a preset proportion and a preset rate;
module M3.4: monitoring key performance indexes of the tested software system through a monitoring module;
module M3.5: and generating a test report according to the key performance indexes.
Specifically, the key performance indicators include transaction amount, success rate, response time, system load, and/or memory.
The simulation test method based on network data analysis provided by the invention comprises the following steps:
step M1: acquiring a network message in a production environment through a network packet capturing technology, analyzing the network message, generating and storing structured transaction data;
step M2: preprocessing the structured transaction data to obtain and store the preprocessed transaction data;
step M3: and selecting required test case data from the preprocessed transaction data according to the test requirement, replaying the test case data to the tested software system according to a preset proportion and speed for testing, monitoring the state of the tested system, and generating a test report.
Specifically, the step M1 includes:
step M1.1: in a transaction environment, network mirroring or network road assisting equipment is adopted, network data is exported as a data message under the condition that transaction is not influenced, and the network message is acquired;
step M1.2: analyzing network data of the network message to obtain flat key value pair information or structured information;
step M1.3: distinguishing requests and responses of the flat key value pair information or the structured information, associating a plurality of information by adopting a transaction association technology to obtain structured transaction data, and storing the structured transaction data;
said step M1.2 comprises: the analysis method comprises data packet decoding, deep packet analysis, regular expression, rule matching and/or character string searching.
Specifically, the preprocessing in the step M2 includes: filtering and matching transaction data meeting preset conditions, filtering sensitive information, calling simulation of an external system and modifying a user name.
Specifically, the step M3 includes:
step M3.1: setting a starting parameter according to the test requirement, and starting a simulation test;
step M3.2: loading test case data required by the test according to the starting parameters;
step M3.3: sending the required test case data to a tested software system through a network according to a preset proportion and a preset rate;
step M3.4: monitoring key performance indexes of the tested software system through a monitoring module;
step M3.5: generating a test report according to the key performance indexes;
the key performance indicators include transaction amount, success rate, response time, system load, and/or memory.
Example 2
Example 2 is a modification of example 1
Referring to the system flow diagram of fig. 1, the present invention includes the following steps:
step 1: and (5) data acquisition process. Acquiring network messages in a production environment through a network packet capturing technology, further analyzing and generating structured transaction data and storing the structured transaction data;
step 2: and (5) testing and constructing a flow. According to the test requirement, creating a test data set from the data in the step 1 through conversion and filtering;
and step 3: and (5) testing and executing the flow. And (3) according to the test requirement, selecting a specific data set from the data in the step (2) to be played back to the tested system in proportion and at a speed rate for testing. Simultaneously monitoring the state of the tested system and finally generating a test report;
wherein, step 1 includes the following steps:
step 1.1: and (5) collecting network data. Network data is collected. In a real transaction environment, network mirroring (TAP) or network side equipment (SPAN) is adopted, and network data is exported in a data message and collected under the condition of not influencing the transaction. This method is also called network packet grabbing;
step 1.2: network data is analyzed. Parsing methods include, but are not limited to, packet decoding (decode), deep packet analysis (DPI), Regular expression (Regular expression), rule matching, string search, and the like.
The result of the analysis is flat key-value pair information, or structured information, which constitutes a message. The structuring includes, but is not limited to XML, JSON, Protocol buffer, YAML, TOML, and the like.
In a complex scenario, a request and a response are further required to be distinguished from a message, and a transaction association technology is adopted to associate a plurality of messages to form a transaction, so that the validity and accuracy of data are ensured.
Step 1.3: and storing the analysis result. And (5) optional steps. Storing the analysis data, and generating test cases repeatedly for many times;
wherein, the step 2 comprises the following steps:
step 2.1: a test generation strategy is defined. And designing a test case according to the test requirement. The method comprises the following steps: selecting data messages, filtering sensitive information, calling simulation of an external system and the like;
step 2.2: and loading the analysis result. The data stored in step 1.3 is loaded from persistent storage. According to the requirements of the test cases, filtering and matching the analysis results meeting the conditions;
step 2.3: and generating a test case. According to the test generation strategy, further processing the analysis result, such as sensitive information filtering, external system calling simulation, user name modification and the like;
step 2.4: the test cases are stored. And (5) optional steps. The generated test case is stored, and repeated test execution can be carried out;
wherein, the step 3 comprises the following steps:
step 3.1: and arranging test cases. And starting a simulation test according to the test requirement. Starting parameters comprises selecting a contained test case set and setting the execution times and speed of each test case;
step 3.2: and loading the test case. Loading test case data required by the test according to the starting parameters in the step 3.1;
step 3.3: the test data is played back. Sending the test data loaded in the step 3.2 to a tested server through a network according to the starting parameters in the step 3.1;
step 3.4: and monitoring the tested system. Monitoring key performance indexes of the tested server through a monitoring module, such as transaction amount, success rate, response time, system load, memory and the like to evaluate the service level;
step 3.5: and generating a test report. Generating a test report according to the system information collected in the step 3.4;
in order to complete the above steps, referring to the system structure diagram of fig. 2, the system of the present invention includes the following modules:
a user interface layer for providing user interaction interface functions;
the data processing layer is used for providing core functions including data acquisition, analysis, test case management and the like;
the storage layer is used for storing the original data, the analyzed intermediate result and the test case;
wherein: the user interface layer comprises the following modules:
the data generation module is used for step 1, providing Web-based network data management functions, including protocol stack configuration, flow monitoring and the like;
the test arrangement module is used for the steps 2, 3.1, 3.2 and 3.3, and provides Web-based test case management functions, including test case definition, starting, stopping, monitoring test and the like;
the system monitoring module is used for the steps 3.4 and 3.5, providing the running state monitoring of the tested system and providing a test report generating function;
wherein: the data processing layer comprises the following modules:
the data acquisition module is used for the steps 1.1, 1.3 and 2.2 and provides network data acquisition, storage and retrieval functions;
a coding and decoding module, which is used for step 1.2 and step 3.3, providing the coding and decoding functions of the network data;
a network transmission module, which is used for step 3.3, providing that the behavior of simulating user access or operation defined in the test case is sent to the tested system in the form of network data message;
a transaction correlation module for step 1.2, providing a function of correlating a plurality of atomic operations into one transaction;
a use case editing module used for providing the function of modifying the original data message in the step 2.3, and used for filtering sensitive data, simulating three-party system interaction and the like;
the case management module is used for organizing the processed data into test cases for unified management in the steps 2.3 and 3.1;
a case playback module used for loading the test cases according to the requirement and sending the test data to the tested system through the network transmission module in the step 3.3;
the statistical module is used for step 3.4, and provides monitoring, statistics and analysis functions for the tested system;
a comparison module for comparing the monitored statistical result with the expected result in step 3.4 to evaluate the running state of the system under test;
the report module is used for providing test data summarizing and report generating functions in the step 3.5;
wherein: the storage layer comprises the following modules:
a data access module for step 1.3 and step 2.4 providing an interface for accessing the database module and the file system module;
the database module is used for the step 1.3 and the step 2.4 and provides functions of network data packet indexing and test case storage and reading;
and a file system module used in step 1.3 for providing storage and reading functions of the original network data packet.
Those skilled in the art will appreciate that, in addition to implementing the systems, apparatus, and various modules thereof provided by the present invention in purely computer readable program code, the same procedures can be implemented entirely by logically programming method steps such that the systems, apparatus, and various modules thereof are provided in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system, the device and the modules thereof provided by the present invention can be considered as a hardware component, and the modules included in the system, the device and the modules thereof for implementing various programs can also be considered as structures in the hardware component; modules for performing various functions may also be considered to be both software programs for performing the methods and structures within hardware components.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.
Claims (10)
1. A simulation test system based on network data analysis is characterized by comprising:
module M1: acquiring a network message in a production environment through a network packet capturing technology, analyzing the network message, generating and storing structured transaction data;
module M2: preprocessing the structured transaction data to obtain and store the preprocessed transaction data;
module M3: and selecting required test case data from the preprocessed transaction data according to the test requirement, replaying the test case data to the tested software system according to a preset proportion and speed for testing, monitoring the state of the tested software system, and generating a test report.
2. The simulation test system based on network data analysis of claim 1, wherein the module M1 comprises:
module M1.1: in a transaction environment, network mirroring or network road assisting equipment is adopted, network data is exported as a data message under the condition that transaction is not influenced, and the network message is acquired;
module M1.2: analyzing network data of the network message to obtain flat key value pair information or structured information;
module M1.3: and distinguishing the request and the response of the flat key value pair information or the structured information, associating a plurality of information by adopting a transaction association technology to obtain structured transaction data, and storing the structured transaction data.
3. The simulation test system based on network data analysis according to claim 2, wherein the module M1.2 comprises: the analysis method comprises data packet decoding, deep packet analysis, regular expression, rule matching and/or character string searching.
4. The simulation test system based on network data analysis of claim 1, wherein the preprocessing in the module M2 comprises: filtering and matching transaction data meeting preset conditions, filtering sensitive information, calling simulation of an external system and modifying a user name.
5. The simulation test system based on network data analysis of claim 1, wherein the module M3 comprises:
module M3.1: setting a starting parameter according to the test requirement, and starting a simulation test;
module M3.2: loading test case data required by the test according to the starting parameters;
module M3.3: sending the required test case data to a tested software system through a network according to a preset proportion and a preset rate;
module M3.4: monitoring key performance indexes of the tested software system through a monitoring module;
module M3.5: and generating a test report according to the key performance indexes.
6. The simulation test system based on network data analysis of claim 5, wherein the key performance indicators comprise transaction amount, success rate, response time, system load and/or memory.
7. A simulation test method based on network data analysis is characterized by comprising the following steps:
step M1: acquiring a network message in a production environment through a network packet capturing technology, analyzing the network message, generating and storing structured transaction data;
step M2: preprocessing the structured transaction data to obtain and store the preprocessed transaction data;
step M3: and selecting required test case data from the preprocessed transaction data according to the test requirement, replaying the test case data to the tested software system according to a preset proportion and speed for testing, monitoring the state of the tested system, and generating a test report.
8. The simulation testing method based on network data analysis of claim 7, wherein said step M1 includes:
step M1.1: in a transaction environment, network mirroring or network road assisting equipment is adopted, network data is exported as a data message under the condition that transaction is not influenced, and the network message is acquired;
step M1.2: analyzing network data of the network message to obtain flat key value pair information or structured information;
step M1.3: distinguishing requests and responses of the flat key value pair information or the structured information, associating a plurality of information by adopting a transaction association technology to obtain structured transaction data, and storing the structured transaction data;
said step M1.2 comprises: the analysis method comprises data packet decoding, deep packet analysis, regular expression, rule matching and/or character string searching.
9. The simulation testing method based on network data analysis of claim 7, wherein the preprocessing in the step M2 includes: filtering and matching transaction data meeting preset conditions, filtering sensitive information, calling simulation of an external system and modifying a user name.
10. The simulation testing method based on network data analysis of claim 7, wherein said step M3 includes:
step M3.1: setting a starting parameter according to the test requirement, and starting a simulation test;
step M3.2: loading test case data required by the test according to the starting parameters;
step M3.3: sending the required test case data to a tested software system through a network according to a preset proportion and a preset rate;
step M3.4: monitoring key performance indexes of the tested software system through a monitoring module;
step M3.5: generating a test report according to the key performance indexes;
the key performance indicators include transaction amount, success rate, response time, system load, and/or memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011368615.1A CN112433948A (en) | 2020-11-30 | 2020-11-30 | Simulation test system and method based on network data analysis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011368615.1A CN112433948A (en) | 2020-11-30 | 2020-11-30 | Simulation test system and method based on network data analysis |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112433948A true CN112433948A (en) | 2021-03-02 |
Family
ID=74698057
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011368615.1A Pending CN112433948A (en) | 2020-11-30 | 2020-11-30 | Simulation test system and method based on network data analysis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112433948A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113032270A (en) * | 2021-03-31 | 2021-06-25 | 上海天旦网络科技发展有限公司 | White box simulation test method and system based on flow comparison |
CN113242151A (en) * | 2021-06-04 | 2021-08-10 | 上海天旦网络科技发展有限公司 | Specific data extraction method and system based on massive network data |
CN113709003A (en) * | 2021-09-02 | 2021-11-26 | 上海天旦网络科技发展有限公司 | System, method and medium for automatically generating test case through network flow data |
CN115080574A (en) * | 2022-08-22 | 2022-09-20 | 西安弘捷电子技术有限公司 | Method and device for processing electronic product test data, computer equipment and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101052020A (en) * | 2007-05-21 | 2007-10-10 | 中兴通讯股份有限公司 | Monitor method and system for automatically measuring executing process |
CN101330329A (en) * | 2008-07-29 | 2008-12-24 | 中兴通讯股份有限公司 | Self-adapting testing method and system |
US8547974B1 (en) * | 2010-05-05 | 2013-10-01 | Mu Dynamics | Generating communication protocol test cases based on network traffic |
CN103716826A (en) * | 2013-12-05 | 2014-04-09 | 同济大学 | Wireless data service simulated scene-based user experience quality testing method |
CN104168288A (en) * | 2014-08-27 | 2014-11-26 | 中国科学院软件研究所 | Automatic vulnerability discovery system and method based on protocol reverse parsing |
CN105099833A (en) * | 2015-09-14 | 2015-11-25 | 北京华青融天技术有限责任公司 | Business test method , device and system |
CN105808432A (en) * | 2015-03-04 | 2016-07-27 | 中车株洲电力机车研究所有限公司 | Software automated testing system and method for rail traffic drive control unit/ tractive control unit (DCU/TCU) |
CN109471791A (en) * | 2018-09-25 | 2019-03-15 | 中国电力科学研究院有限公司 | A kind of demand response communication consistency testing system and method |
CN110287093A (en) * | 2019-05-20 | 2019-09-27 | 平安普惠企业管理有限公司 | Mobile terminal, data-interface test method and storage medium |
CN110401581A (en) * | 2019-07-22 | 2019-11-01 | 杭州电子科技大学 | Industry control agreement fuzz testing case generation method based on flow retrospect |
CN110912764A (en) * | 2019-08-01 | 2020-03-24 | 中国第一汽车股份有限公司 | Test method, system, equipment and storage medium |
-
2020
- 2020-11-30 CN CN202011368615.1A patent/CN112433948A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101052020A (en) * | 2007-05-21 | 2007-10-10 | 中兴通讯股份有限公司 | Monitor method and system for automatically measuring executing process |
CN101330329A (en) * | 2008-07-29 | 2008-12-24 | 中兴通讯股份有限公司 | Self-adapting testing method and system |
US8547974B1 (en) * | 2010-05-05 | 2013-10-01 | Mu Dynamics | Generating communication protocol test cases based on network traffic |
CN103716826A (en) * | 2013-12-05 | 2014-04-09 | 同济大学 | Wireless data service simulated scene-based user experience quality testing method |
CN104168288A (en) * | 2014-08-27 | 2014-11-26 | 中国科学院软件研究所 | Automatic vulnerability discovery system and method based on protocol reverse parsing |
CN105808432A (en) * | 2015-03-04 | 2016-07-27 | 中车株洲电力机车研究所有限公司 | Software automated testing system and method for rail traffic drive control unit/ tractive control unit (DCU/TCU) |
CN105099833A (en) * | 2015-09-14 | 2015-11-25 | 北京华青融天技术有限责任公司 | Business test method , device and system |
CN109471791A (en) * | 2018-09-25 | 2019-03-15 | 中国电力科学研究院有限公司 | A kind of demand response communication consistency testing system and method |
CN110287093A (en) * | 2019-05-20 | 2019-09-27 | 平安普惠企业管理有限公司 | Mobile terminal, data-interface test method and storage medium |
CN110401581A (en) * | 2019-07-22 | 2019-11-01 | 杭州电子科技大学 | Industry control agreement fuzz testing case generation method based on flow retrospect |
CN110912764A (en) * | 2019-08-01 | 2020-03-24 | 中国第一汽车股份有限公司 | Test method, system, equipment and storage medium |
Non-Patent Citations (3)
Title |
---|
孙暄等: "基于大数据的电力安全监测系统设计与研究", 《通信技术》 * |
杨晔等: "测试启动准则", 《软件测试技术》 * |
王妍等: "测试流程及流程管理", 《软件测试技术与工具应用》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113032270A (en) * | 2021-03-31 | 2021-06-25 | 上海天旦网络科技发展有限公司 | White box simulation test method and system based on flow comparison |
CN113032270B (en) * | 2021-03-31 | 2023-08-22 | 上海天旦网络科技发展有限公司 | White box simulation test method and system based on flow comparison |
CN113242151A (en) * | 2021-06-04 | 2021-08-10 | 上海天旦网络科技发展有限公司 | Specific data extraction method and system based on massive network data |
CN113709003A (en) * | 2021-09-02 | 2021-11-26 | 上海天旦网络科技发展有限公司 | System, method and medium for automatically generating test case through network flow data |
CN115080574A (en) * | 2022-08-22 | 2022-09-20 | 西安弘捷电子技术有限公司 | Method and device for processing electronic product test data, computer equipment and storage medium |
CN115080574B (en) * | 2022-08-22 | 2022-11-18 | 西安弘捷电子技术有限公司 | Method and device for processing electronic product test data, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110309071B (en) | Test code generation method and module, and test method and system | |
US10552301B2 (en) | Completing functional testing | |
CN112433948A (en) | Simulation test system and method based on network data analysis | |
US9465718B2 (en) | Filter generation for load testing managed environments | |
US20130024847A1 (en) | Software test automation systems and methods | |
CN117421217B (en) | Automatic software function test method, system, terminal and medium | |
CN112256581A (en) | Log playback test method and device for high-simulation securities trade system | |
CN115080398A (en) | Automatic interface test system and method | |
CN112650676A (en) | Software testing method, device, equipment and storage medium | |
US8850407B2 (en) | Test script generation | |
Thooriqoh et al. | Selenium Framework for Web Automation Testing: A Systematic Literature Review | |
CN111881056A (en) | Automatic test framework and test method | |
Tiwari et al. | Mimicking production behavior with generated mocks | |
CN110765007A (en) | Crash information online analysis method for android application | |
CN114996127A (en) | Intelligent test method and system for solid state disk firmware module | |
CN114297961A (en) | Chip test case processing method and related device | |
CN113079061A (en) | Internet of things performance testing method and system | |
US10579761B1 (en) | Method and system for reconstructing a graph presentation of a previously executed verification test | |
CN114546814A (en) | Recording playback method, recording playback device and storage medium | |
CN111552648A (en) | Automatic verification method and system for application | |
CN116069628A (en) | Intelligent-treatment software automatic regression testing method, system and equipment | |
CN115269387A (en) | Automatic interface testing method and device | |
CN112433947A (en) | Chaos engineering method and system based on network data | |
Coppola | Fragility and evolution of android test suites | |
Jayathilake | A mind map based framework for automated software log file analysis |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210302 |