CN113360413A - Code testing method and device - Google Patents

Code testing method and device Download PDF

Info

Publication number
CN113360413A
CN113360413A CN202110823264.7A CN202110823264A CN113360413A CN 113360413 A CN113360413 A CN 113360413A CN 202110823264 A CN202110823264 A CN 202110823264A CN 113360413 A CN113360413 A CN 113360413A
Authority
CN
China
Prior art keywords
data
service
test
result data
interactive
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
Application number
CN202110823264.7A
Other languages
Chinese (zh)
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110823264.7A priority Critical patent/CN113360413A/en
Publication of CN113360413A publication Critical patent/CN113360413A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The embodiment of the application provides a code testing method and a device, which can be used in the technical field of information security, and the method comprises the following steps: acquiring interactive data generated by service and corresponding service result data; inputting the interactive data into a code to be tested to generate corresponding test result data; and comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed. According to the method and the device, manual compiling of the test cases is reduced, more production service scenes can be covered, and authenticity and effectiveness of the test cases are guaranteed. The test efficiency of the test is improved, the test risk is reduced, and the test cost is saved.

Description

Code testing method and device
Technical Field
The application relates to information security, in particular to a code testing method and device.
Background
Information systems technology companies all need to perform information systems testing work. Information system testing is the process by which a tester tests an information system, either manually or automatically, to verify that it meets specified requirements. A test mode in which an operation result obtained by operating the information system and using specific request information is compared with an expected operation result is called a dynamic test. By the dynamic testing method, a tester can verify the usability of the functions of the information system, and also can verify the functions of the information system, such as the operating efficiency, the robustness and the like. With the development of information technology, the development trend of information systems shows that the scale is huge, the structure is complicated, the functions are diversified, and the development and test are agile. Along with the increasing requirements for testing information systems, the conventional method and system for testing information systems according to writing limited test cases (as shown in fig. 1) are gradually unable to meet the requirements for testing coverage of information systems.
The traditional method and system for testing the information system according to the limited test cases have the problems of low automation level, excessive dependence on manual work, test automation tool universality checking and the like. Specifically, the following problems exist.
In the traditional test process, all scenes of an information system are covered by a test case written by an information system tester, so that the condition of missing a manual carding business scene is easily caused, and the risk of insufficient test exists;
in the traditional test process, testers need to manually comb service scenes and compile service cases, even some test cases require the testers to manually test, so that more test labor cost is consumed, and the economic cost of information system test is improved;
in the traditional test process, testers need to manually card service scenes and compile service cases, so that the test period is prolonged, and the time cost of information system test is increased.
Aiming at the characteristics of different information systems to be tested, testers need to develop different automatic test case execution devices, so that the automation level is low, and the universality is poor.
During performance testing, the test cases are the same or similar, and the real production situation cannot be accurately simulated, so that accurate information system performance indexes cannot be obtained.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides a code testing method and a code testing device, and interactive data generated by service and corresponding service result data are obtained firstly; inputting the interactive data into a code to be tested to generate corresponding test result data; and comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed. The invention can cover more production service scenes while reducing manual test case compiling, and ensures the authenticity and effectiveness of the test cases. The test efficiency of the test is improved, the test risk is reduced, and the test cost is saved.
In one aspect of the present invention, a code testing method is provided, including:
acquiring interactive data generated by service and corresponding service result data;
inputting the interactive data into a code to be tested to generate corresponding test result data;
and comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed.
In a preferred embodiment, the acquiring interaction data generated by the service and corresponding service result data includes:
collecting network flow data generated in the service process;
and analyzing the network flow data to obtain interactive data generated by service and corresponding service result data.
In a preferred embodiment, the acquiring network traffic data generated during the service running process includes:
recording the network card flow of the designated port by utilizing a preset process to obtain network flow data in a preset standard format;
and sending the network flow data with the preset standard format to a setting system so that the network flow data can be subscribed through the setting system.
In a preferred embodiment, the acquiring network traffic data generated during the service running process includes:
recording the network card flow of the designated port;
and serializing the recorded messages to generate a flow file.
In a preferred embodiment, the setting process is a Go process, correspondingly, the preset standard format is a pcap standard format, and the setting system is a Kafka system;
recording the network card flow of the designated port by utilizing a pre-deployed set process to obtain the network flow data with the preset standard format, wherein the recording of the network card flow of the designated port by utilizing a pre-deployed Go process to obtain the network flow data with the pcap standard format is specifically included;
the sending of the preset standard format network traffic data to a setting system specifically comprises sending the pcap standard format network traffic data to a Kafka system.
In a preferred embodiment, the analyzing the network traffic data to obtain interaction data generated by a service and corresponding service result data includes:
subscribing to the network traffic data from the Kafka system;
and analyzing the network flow data according to the pcap standard format, and screening interactive data generated by the service and corresponding service result data.
In a preferred embodiment, further comprising:
and if the utilization rate of the central processing unit resource is greater than a preset threshold value, stopping the network flow data generated in the process of acquiring the service until the utilization rate of the central processing unit resource is continuously less than the preset threshold value.
In a preferred embodiment: preprocessing the interactive data to obtain preprocessed interactive data;
the inputting the interaction data into the code to be tested comprises the following steps:
and inputting the preprocessing interaction data into a code to be tested.
In a preferred embodiment, the preprocessing the interaction data includes: and desensitizing, labeling, formatting and persisting the interactive data.
In a preferred embodiment, the comparing the service result data and the test result data includes:
searching fields of which the service result data are the same as the test result data;
and comparing the value of the field in the service result data with the value of the corresponding field in the test result data.
In another aspect of the present invention, there is provided a code testing apparatus, including:
the service data acquisition module is used for acquiring interactive data generated by service and corresponding service result data;
the test result generation module is used for inputting the interaction data into a code to be tested and generating corresponding test result data;
and the result comparison module is used for comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed.
In a preferred embodiment, the acquiring service data acquiring module includes:
the network flow data acquisition unit is used for acquiring network flow data generated in the service process;
and the network flow data analyzing unit is used for analyzing the network flow data to obtain interactive data generated by service and corresponding service result data.
In a preferred embodiment, the network traffic data collecting unit includes:
the network flow data recording unit is used for recording the network card flow of the appointed port by utilizing a pre-deployed Go process to obtain the network flow data in the pcap standard format;
the network traffic data sending unit is used for sending the pcap standard format network traffic data to the Kafka system so that the network traffic data can be subscribed through the Kafka system;
alternatively, the first and second electrodes may be,
the network flow data acquisition unit comprises:
the network flow data recording unit records the network card flow of the designated port on the JVM attach level;
and the browsing file generation unit is used for serializing the recorded messages to generate flow files.
In a preferred embodiment, the network traffic data parsing unit includes:
the network traffic data subscription unit subscribes the network traffic data from the Kafka system;
and the service data screening unit is used for analyzing the network flow data according to the pcap standard format and screening interactive data generated by the service and corresponding service result data.
In a preferred embodiment, further comprising:
and the service data acquisition suspending unit stops acquiring network flow data generated in the service process if the utilization rate of the central processor resource is greater than a preset threshold value until the utilization rate of the central processor resource is continuously less than the preset threshold value.
In a preferred embodiment, further comprising: an interactive data preprocessing module;
the test result generation module comprises:
and the preprocessing data input unit is used for inputting the preprocessing interactive data into a code to be tested.
In a preferred embodiment, the interactive data preprocessing module includes: and desensitizing, labeling, formatting and persisting the interactive data.
In a preferred embodiment, the result comparing module includes:
a comparison field searching unit for searching a field of which the service result data is the same as the test result data;
and the field value comparison unit is used for comparing the value of the field in the service result data with the value of the corresponding field in the test result data.
In another aspect of the present invention, the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the code testing method when executing the program.
In still another aspect of the present invention, the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the code testing method.
According to the technical scheme, the code testing method provided by the application comprises the following steps: acquiring interactive data generated by service and corresponding service result data; inputting the interactive data into a code to be tested to generate corresponding test result data; and comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed. The invention can cover more production service scenes while reducing manual test case compiling, and ensures the authenticity and effectiveness of the test cases. The test efficiency of the test is improved, the test risk is reduced, and the test cost is saved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of a code testing method.
Fig. 2 is a schematic view of a service data acquisition process.
Fig. 3 is a schematic diagram of a network traffic data collection process.
Fig. 4 is a schematic diagram of a network traffic data parsing flow.
FIG. 5 is a schematic flow diagram of a result comparison module.
Fig. 6 is a schematic diagram of the components of the network traffic recording.
FIG. 7 is a schematic diagram of the components of interactive data synchronization.
Fig. 8 is a schematic diagram of the composition of the interactive data playback test.
FIG. 9 is a schematic diagram of a code testing apparatus.
Fig. 10 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the code testing method and apparatus disclosed in the present application may be used in the field of information security, and may also be used in any field other than the field of information security.
Information systems technology companies all need to perform information systems testing work. Information system testing is the process by which a tester tests an information system, either manually or automatically, to verify that it meets specified requirements. A test mode in which an operation result obtained by operating the information system and using specific request information is compared with an expected operation result is called a dynamic test. By the dynamic testing method, a tester can verify the usability of the functions of the information system, and also can verify the functions of the information system, such as the operating efficiency, the robustness and the like. With the development of information technology, the development trend of information systems shows that the scale is huge, the structure is complicated, the functions are diversified, and the development and test are agile. Along with the increasing requirements for testing information systems, the conventional method and system for testing information systems according to writing limited test cases (as shown in fig. 1) are gradually unable to meet the requirements for testing coverage of information systems.
The traditional method and system for testing the information system according to the limited test cases have the problems of low automation level, excessive dependence on manual work, test automation tool universality checking and the like. Specifically, the following problems exist.
In the traditional test process, all scenes of an information system are covered by a test case written by an information system tester, so that the condition of missing a manual carding business scene is easily caused, and the risk of insufficient test exists;
in the traditional test process, testers need to manually comb service scenes and compile service cases, even some test cases require the testers to manually test, so that more test labor cost is consumed, and the economic cost of information system test is improved;
in the traditional test process, testers need to manually card service scenes and compile service cases, so that the test period is prolonged, and the time cost of information system test is increased.
Aiming at the characteristics of different information systems to be tested, testers need to develop different automatic test case execution devices, so that the automation level is low, and the universality is poor.
During performance testing, the test cases are the same or similar, and the real production situation cannot be accurately simulated, so that accurate information system performance indexes cannot be obtained.
Aiming at the problems in the prior art, the application provides a code testing method and a code testing device, and interactive data generated by service and corresponding service result data are obtained firstly; inputting the interactive data into a code to be tested to generate corresponding test result data; and comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed, so that the invention can cover more production service scenes while reducing manual test case writing, and ensure the authenticity and validity of the test case. The test efficiency of the test is improved, the test risk is reduced, and the test cost is saved.
The following describes the code testing method and apparatus provided by the present invention in detail with reference to the accompanying drawings.
In a specific embodiment, the present application provides a code testing method, as shown in fig. 1, including:
s1, acquiring interactive data generated by the service and corresponding service result data;
specifically, for each service, there exist interaction data and corresponding service result data results, and these interaction data and service result data are generally transmitted through a network, so that related nodes of the service are interconnected and intercommunicated. The acquiring of the interaction data generated by the service and the corresponding service result data, as shown in fig. 2, includes:
s11, collecting the network flow data generated in the process of service;
in a specific embodiment, the acquiring network traffic data generated in the service performing process, as shown in fig. 3, includes:
s111, recording the network card flow of the designated port by utilizing a pre-deployed Go process to obtain network flow data in a pcap standard format;
specifically, the pre-deployed Go process program is developed based on the gopackage, supports the network card flow recording of the designated port, converts the recorded flow data into the pcap standard format flow data, and is more matched with the system compared with other processes.
And S112, sending the pcap standard format network traffic data to a Kafka system so that the network traffic data can be subscribed through the Kafka system.
Specifically, the pcap standard format network traffic data is sent to the Kafka system and processed through Agent software. Kafka is a high-throughput distributed publish-subscribe messaging system that can handle all the activity flow data of a consumer in a website, and can publish collected network traffic data so that the network traffic data can be subscribed to.
And S12, analyzing the network flow data to obtain interactive data generated by service and corresponding service result data.
In a specific embodiment, the analyzing the network traffic data to obtain interaction data generated by the service and corresponding service result data, as shown in fig. 4, includes:
s121, subscribing the network flow data from the Kafka system;
specifically, after the Kafka publishes the collected network traffic data, the process of analyzing the network traffic data actively subscribes the network traffic data from the Kafka.
And S122, analyzing the network flow data according to the pcap standard format, and screening out interactive data generated by the service and corresponding service result data.
Specifically, the pcap standard format is a data stream format, and the format is as follows:
a file header (24 bytes) + a data packet header (16 bytes) + a data packet header + a data packet.
Analyzing the network flow data according to the format of the pcap to obtain analyzed message data, wherein the analyzed message is a json message generally, and the interactive data generated by the service and the corresponding service result information are screened out from the message data.
In other embodiments, the collecting network traffic data generated during the service running process includes:
recording the network card flow of the appointed port on the JVM attach level;
and serializing the recorded messages to generate a flow file.
In the embodiment, by using a Java bytecode enhanced recording technology and using a JVM attach mechanism, transaction traffic is obtained on a JVM level without intrusion, which has the advantages of realizing recording on an interface level and even parameter adjustment during playback, and has the disadvantages of poor support of a heterogeneous system and only support of a system realized by Java.
In a specific embodiment, if the utilization rate of the central processing unit resource is greater than a preset threshold, the network traffic data generated in the service acquisition process is stopped until the utilization rate of the central processing unit resource is continuously less than the preset threshold. For example, when the utilization rate of the central processor resource is greater than 80%, it indicates that the operation of the current service needs to consume a large amount of the central processor resource, in order to not affect the operation of the normal service, the operation of stopping the network traffic data generated in the process of acquiring the service is adopted until the utilization rate of the central processor resource is continuously less than 80% and then the acquisition of the network traffic data is restarted.
S2, inputting the interactive data into the code to be tested to generate corresponding test result data;
specifically, the interactive data in the acquired network traffic data is unprocessed original interactive data, and the original interactive data needs to be preprocessed to obtain preprocessed interactive data; and desensitizing, labeling, formatting and persisting the interactive data. The desensitization is caused by the existence of some sensitive information in the original data, and the data needs to be desensitized for data security. The data can be traced by performing labeling, the formatting is to convert the data format into the input format of the test code, and the persistence can be understood as storage. In a specific embodiment, a unified receiving gateway is used for adapting to receive interactive data information recorded by multiple channels, and functions of the gateway are to filter non-secure data and format data. And then another server receives the formatted interactive data transmitted by gateway, desensitizes sensitive fields in the interactive data and tags the interactive data. An ElasticSearch (other databases or search engines similar to the ElasticSearch can also be used) server stores the preprocessed interaction data into the ElasticSearch server, so that the data can be persisted.
In a specific embodiment, the inputting the interaction data into the code to be tested includes: and inputting the preprocessing interaction data into a code to be tested. Specifically, the preprocessed interactive data needs to be synchronized to the test environment first, and manual synchronization processing can be performed in a disk file copying manner. And storing the preprocessed interactive data into a test database, inputting the related interactive data into the code to be tested according to the specific requirements of the code to be tested, executing the logic of the code to be tested, and generating corresponding test result data.
And S3, comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed.
Specifically, if the logic of the code to be tested is correct, the test result data and the service result data extracted from the network traffic should be consistent, a test result is generated by comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed; if not, returning the difference information of the two. The comparing the service result data with the test result data, as shown in fig. 5, includes:
s31, searching fields of the service result data which are the same as the test result data;
and S32, comparing the value of the field in the service result data with the value of the corresponding field in the test result data.
In specific embodiments, for example, the test result data is a:1, b:2, c:3, d: 4; and if the service result data is a:1, b:2, c:4 and d:4, finding out the fields with the same value, such as a, b, c and d, respectively comparing the values of the fields, and finally obtaining the difference of the values of c, if the values of c are different, the test is failed, and returning the difference of the values of c.
The present invention is further described with reference to a specific embodiment, which mainly comprises the following steps:
s101, recording network flow
The step mainly includes network traffic recording management M101, network traffic recording database M102, production, operation and maintenance task issuing M103, traffic collection AgentM104, traffic information analysis M105, and the like, as shown in fig. 6. The main function is to record transaction messages aiming at service requests and responses at a production environment service node of target application, and particularly to store interactive data after the transaction messages are subjected to operations such as collection, desensitization, labeling, formatting, persistence and the like.
The network traffic recording management M101 is an entry, and may specifically be a server, and the main programs are Agent media management U10101, recording task management U10102, recording configuration management U10103, and recording monitoring U10104.
The network traffic recording database M102 is used for storing data of the network traffic recording management M101, and may be specifically a database server, which may use a common MySLQ or Oracle database, or other database products with a data persistence function. The data recorded on the database mainly comprise Agent node information, Agent version, recording task information, recording configuration information and monitoring information of recording nodes.
The production operation and maintenance task issuing M103 has the functions of agent installation/deletion command issuing, recording task issuing, stopping task issuing, and the like.
The traffic collection AgentM104 is exemplified by Go language (other programming languages may be used as well), and the principle thereof is a Go process independently deployed on the information system node of the collected interactive data, and the program of the process is developed based on gopackage, and supports the recording of network card traffic of a specified port, and generates pcap standard format traffic. In addition, the process also provides system resource threshold detection, monitors the utilization rate of system resources, actively degrades and stops tasks when the set threshold is reached, and prevents normal production transaction from being influenced. And the network traffic information acquired by the traffic acquisition AgentM104 is sent to the Kafka system in the form of pcap packets.
The traffic information analyzing M105 is generally a server, and has a function of actively subscribing to network traffic information produced by the consumption traffic acquiring AgentM104 in the Kafka system, analyzing pcap traffic, and converting traffic data into service interaction data and service result data.
S102, interactive data synchronization
The method mainly comprises a unified Gateway (Gateway) M201, an interactive data cleaning M202, an interactive data persistence M203, an application target database M204, a mirror image synchronization M205, an interactive data mirror image M206 and a test end mirror database M207, and has the main function of performing subsequent transaction desensitization processing by consuming production interactive data written by the unified Gateway; the desensitized application transaction, and the desensitized application database, are synchronized to the test environment, as shown in fig. 7.
The unified gateway M201 is a server. The function of the gateway is as a uniform interactive data receiving gateway for adapting to receive interactive data recorded by multiple channels, and the function is to filter information and format information.
The interactive data washing M202 obtains the json message sent from the unified server, and has the functions of desensitizing sensitive fields in the service interactive data and the service result data and labeling the interactive data.
The interaction data persistence M203 is an ElasticSearch (other database or search engine similar to the ElasticSearch may also be used) server, and functions to store desensitized data in the ElasticSearch server to implement data persistence.
The application target database M204 is a database for performing a traffic recording information system, and stores application service data thereof. The system can use a common MySLQ or Oracle database, and can also be other database products with data persistence functions.
The mirror sync M205 includes: transaction synchronization U20501 and database synchronization U20502. The transaction synchronization U20501 has a main function of synchronizing service interaction data to a test environment, and can perform manual synchronization processing by using a disk file replication method. The database synchronization U20502 has the main function of performing mirror synchronization from production to test environment by using a database, and performing desensitization processing on synchronous data.
The interaction data mirror M206 is deployed in a test environment, and functions to receive and store desensitization interaction data sent by the mirror synchronization M205, and is an ElasticSearch (other databases or search engines similar to the ElasticSearch may also be used) server.
The testing-side mirror database M207 is deployed in a testing environment and functions to receive and store desensitization database data sent by the mirror sync M205. It suggests using the same database product as the application target database M204.
S103, testing by using interactive data
The step of performing a test using the interactive data, which is also referred to as an interactive data playback test, mainly includes interactive data playback management M301, an interactive data playback database M302, an interactive data playback implementation M303, an interactive data playback result comparison M304, and an interactive data playback result storage M305. The functions of the method are mainly to realize flow management and playback task arrangement and issue through the interactive data playback management M301, support playback test on test environment services, and provide monitoring statistics function and playback result comparison function, as shown in FIG. 8.
The interactive data playback management M301 is specifically a server, and the program is divided into five parts, which are a playback task scheduling U30101, a playback task issuing U30102, a traffic query and management U30103, a playback result comparison U30104, and a monitoring statistics U30105.
The interaction data playback database M302 is used for storing data of the interaction data playback management M301, and is specifically a database server, which may use a common MySLQ or Oracle database, and may also be another database product with a data persistence function. The data recorded on the database mainly include playback task information, traffic management information, playback result information, and monitoring information.
The interactive data playback implementation M303 acquires the prepared service interactive data from the message queue, performs playback test on the test environment service, and records a test service response into the message queue.
The interactive data playback result comparison M304 has a function of acquiring test result data recorded by the interactive data playback implementing M303, comparing the test result data with the service result data, and writing the comparison result into the interactive data playback result storage M305.
The interactive data playback result storage M305 is specifically an ElasticSearch (other database or search engine similar to ElasticSearch may also be used) server, and functions to store data information of the comparison result.
As can be seen from the above description, the code testing method provided by the present invention first obtains the interactive data generated by the service and the corresponding service result data; inputting the interactive data into a code to be tested to generate corresponding test result data; and comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed, so that the invention can cover more production service scenes while reducing manual test case writing, and ensure the authenticity and validity of the test case. The test efficiency of the test is improved, the test risk is reduced, and the test cost is saved.
From the software aspect, the present application provides an embodiment of a code testing apparatus for executing all or part of the content of the code testing method, and referring to fig. 9, the code testing apparatus specifically includes the following contents:
the service data acquisition module is used for acquiring interactive data generated by service and corresponding service result data;
the test result generation module is used for inputting the interaction data into a code to be tested and generating corresponding test result data;
and the result comparison module is used for comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed.
As can be seen from the above description, in the code testing apparatus provided by the present invention, the apparatus first obtains the interaction data generated by the service and the corresponding service result data; inputting the interactive data into a code to be tested to generate corresponding test result data; and comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed. The invention can cover more production service scenes while reducing manual test case compiling, and ensures the authenticity and effectiveness of the test cases. The test efficiency of the test is improved, the test risk is reduced, and the test cost is saved.
In a specific embodiment, the present application provides a code testing apparatus, which is specifically configured to perform the following steps:
s1, acquiring interactive data generated by the service and corresponding service result data;
specifically, for each service, there exist interaction data and corresponding service result data results, and these interaction data and service result data are generally transmitted through a network, so that related nodes of the service are interconnected and intercommunicated. The service data acquisition module is used for executing the following steps:
s11, collecting the network flow data generated in the process of service;
in a specific embodiment, the network traffic data acquisition unit is configured to perform the following steps:
s111, recording the network card flow of the designated port by utilizing a pre-deployed Go process to obtain network flow data in a pcap standard format;
specifically, the pre-deployed Go process program is developed based on a gopackage, supports the network card traffic recording of a designated port, and converts the recorded traffic data into the pcap standard format traffic data.
And S112, sending the pcap standard format network traffic data to a Kafka system so that the network traffic data can be subscribed through the Kafka system.
Specifically, the pcap standard format network traffic data is sent to the Kafka system and processed through Agent software. Kafka is a high-throughput distributed publish-subscribe messaging system that can handle all the activity flow data of a consumer in a website, and can publish collected network traffic data so that the network traffic data can be subscribed to.
It can be understood that the network traffic data acquisition unit executing the above steps can be understood as including a network traffic data recording unit and a network traffic data transmitting unit. Wherein, the network traffic data recording unit executes step S111, and the network traffic data sending unit executes step S112, which are not described in detail in the following related embodiments.
And S12, analyzing the network flow data to obtain interactive data generated by service and corresponding service result data.
In a specific embodiment, the network traffic data parsing unit is configured to perform the following steps:
s121, subscribing the network flow data from the Kafka system;
specifically, after the Kafka publishes the collected network traffic data, the process of analyzing the network traffic data actively subscribes the network traffic data from the Kafka.
And S122, analyzing the network flow data according to the pcap standard format, and screening out interactive data generated by the service and corresponding service result data.
Specifically, the pcap standard format is a data stream format, and the format is as follows:
a file header (24 bytes) + a data packet header (16 bytes) + a data packet header + a data packet.
Analyzing the network flow data according to the format of the pcap to obtain analyzed message data, wherein the analyzed message is a json message generally, and the interactive data generated by the service and the corresponding service result information are screened out from the message data.
In a specific embodiment, if the utilization rate of the central processing unit resource is greater than a preset threshold, the network traffic data generated in the service acquisition process is stopped until the utilization rate of the central processing unit resource is continuously less than the preset threshold. For example, when the utilization rate of the central processor resource is greater than 80%, it indicates that the operation of the current service needs to consume a large amount of the central processor resource, in order to not affect the operation of the normal service, the operation of stopping the network traffic data generated in the process of acquiring the service is adopted until the utilization rate of the central processor resource is continuously less than 80% and then the acquisition of the network traffic data is restarted.
S2, inputting the interactive data into the code to be tested to generate corresponding test result data;
specifically, the interactive data in the acquired network traffic data is unprocessed original interactive data, and the original interactive data needs to be preprocessed to obtain preprocessed interactive data; and desensitizing, labeling, formatting and persisting the interactive data. The desensitization is caused by the existence of some sensitive information in the original data, and the data needs to be desensitized for data security. The data can be traced by performing labeling, the formatting is to convert the data format into the input format of the test code, and the persistence can be understood as storage. In a specific embodiment, a unified receiving gateway is used for adapting to receive interactive data information recorded by multiple channels, and functions of the gateway are to filter non-secure data and format data. And then another server receives the formatted interactive data transmitted by gateway, desensitizes sensitive fields in the interactive data and tags the interactive data. An ElasticSearch (other databases or search engines similar to the ElasticSearch can also be used) server stores the preprocessed interaction data into the ElasticSearch server, so that the data can be persisted.
In a specific embodiment, the inputting the interaction data into the code to be tested includes: and inputting the preprocessing interaction data into a code to be tested. Specifically, the preprocessed interactive data needs to be synchronized to the test environment first, and manual synchronization processing can be performed in a disk file copying manner. And storing the preprocessed interactive data into a test database, inputting the related interactive data into the code to be tested according to the specific requirements of the code to be tested, executing the logic of the code to be tested, and generating corresponding test result data.
And S3, comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed.
Specifically, if the logic of the code to be tested is correct, the test result data and the service result data extracted from the network traffic should be consistent, a test result is generated by comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed; if not, returning the difference information of the two. The result comparison module is used for executing the following steps:
s31, searching fields of the service result data which are the same as the test result data;
and S32, comparing the value of the field in the service result data with the value of the corresponding field in the test result data.
In specific embodiments, for example, the test result data is a:1, b:2, c:3, d: 4; and if the service result data is a:1, b:2, c:4 and d:4, finding out the fields with the same value, such as a, b, c and d, respectively comparing the values of the fields, and finally obtaining the difference of the values of c, if the values of c are different, the test is failed, and returning the difference of the values of c.
The invention is further illustrated with reference to a specific embodiment. The device in the specific embodiment mainly comprises the following structures:
1. the network flow recording module:
the module mainly comprises a network flow recording management M101, a network flow recording database M102, a production operation and maintenance task issuing M103, a flow acquisition AgentM104, a flow information analysis M105 and the like. The main function is to record transaction messages aiming at service requests and responses at a production environment service node of target application, and particularly to store interactive data after the transaction messages are subjected to operations such as collection, desensitization, labeling, formatting, persistence and the like.
The network traffic recording management M101 is an entry, and may specifically be a server, and the main programs are Agent media management U10101, recording task management U10102, recording configuration management U10103, and recording monitoring U10104.
The network traffic recording database M102 is used for storing data of the network traffic recording management M101, and may be specifically a database server, which may use a common MySLQ or Oracle database, or other database products with a data persistence function. The data recorded on the database mainly comprise Agent node information, Agent version, recording task information, recording configuration information and monitoring information of recording nodes.
The production operation and maintenance task issuing M103 has the functions of agent installation/deletion command issuing, recording task issuing, stopping task issuing, and the like.
The traffic collection AgentM104 is exemplified by Go language (other programming languages may be used as well), and the principle thereof is a Go process independently deployed on the information system node of the collected interactive data, and the program of the process is developed based on gopackage, and supports the recording of network card traffic of a specified port, and generates pcap standard format traffic. In addition, the process also provides system resource threshold detection, monitors the utilization rate of system resources, actively degrades and stops tasks when the set threshold is reached, and prevents normal production transaction from being influenced. And the network traffic information acquired by the traffic acquisition AgentM104 is sent to the Kafka system in the form of pcap packets.
The traffic information analyzing M105 is generally a server, and has a function of actively subscribing to network traffic information produced by the consumption traffic acquiring AgentM104 in the Kafka system, analyzing pcap traffic, and converting traffic data into service interaction data and service result data.
2. The interactive data synchronization module:
the module mainly comprises a unified Gateway (Gateway) M201, an interactive data cleaning M202, an interactive data persistence M203, an application target database M204, a mirror synchronization M205, an interactive data mirror M206 and a test side mirror database M207. The main function is to perform subsequent transaction desensitization processing through the production interactive data written in by the consumption unified gateway; and synchronizing the desensitized application transaction and the desensitized application database to the test environment.
The unified gateway M201 is a server. The function of the gateway is as a uniform interactive data receiving gateway for adapting to receive interactive data recorded by multiple channels, and the function is to filter information and format information.
The interactive data washing M202 obtains the json message sent from the unified server, and has the functions of desensitizing sensitive fields in the service interactive data and the service result data and labeling the interactive data.
The interaction data persistence M203 is an ElasticSearch (other database or search engine similar to the ElasticSearch may also be used) server, and functions to store desensitized data in the ElasticSearch server to implement data persistence.
The application target database M204 is a database for performing a traffic recording information system, and stores application service data thereof. The system can use a common MySLQ or Oracle database, and can also be other database products with data persistence functions.
The mirror sync M205 includes: transaction synchronization U20501 and database synchronization U20502. The transaction synchronization U20501 has a main function of synchronizing service interaction data to a test environment, and can perform manual synchronization processing by using a disk file replication method. The database synchronization U20502 has the main function of performing mirror synchronization from production to test environment by using a database, and performing desensitization processing on synchronous data.
The interaction data mirror M206 is deployed in a test environment, and functions to receive and store desensitization interaction data sent by the mirror synchronization M205, and is an ElasticSearch (other databases or search engines similar to the ElasticSearch may also be used) server.
The testing-side mirror database M207 is deployed in a testing environment and functions to receive and store desensitization database data sent by the mirror sync M205. It suggests using the same database product as the application target database M204.
3. And the module for testing by using the interactive data:
the module mainly comprises an interactive data playback management M301, an interactive data playback database M302, an interactive data playback implementation M303, an interactive data playback result comparison M304 and an interactive data playback result storage M305. The functions of the method are mainly to realize flow management and playback task arrangement and issue through the interactive data playback management M301, support playback test on test environment services, and provide monitoring statistics function and playback result comparison function.
The interactive data playback management M301 is specifically a server, and the program is divided into five parts, which are a playback task scheduling U30101, a playback task issuing U30102, a traffic query and management U30103, a playback result comparison U30104, and a monitoring statistics U30105.
The interaction data playback database M302 is used for storing data of the interaction data playback management M301, and is specifically a database server, which may use a common MySLQ or Oracle database, and may also be another database product with a data persistence function. The data recorded on the database mainly include playback task information, traffic management information, playback result information, and monitoring information.
The interactive data playback implementation M303 acquires the prepared service interactive data from the message queue, performs playback test on the test environment service, and records a test service response into the message queue.
The interactive data playback result comparison M304 has a function of acquiring test result data recorded by the interactive data playback implementing M303, comparing the test result data with the service result data, and writing the comparison result into the interactive data playback result storage M305.
The interactive data playback result storage M305 is specifically an ElasticSearch (other database or search engine similar to ElasticSearch may also be used) server, and functions to store data information of the comparison result.
As can be seen from the above description, the code testing apparatus provided by the present invention includes a service data obtaining module, configured to obtain interactive data generated by a service and corresponding service result data; the test result generation module is used for inputting the interaction data into a code to be tested and generating corresponding test result data; and the result comparison module is used for comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed. The invention can cover more production service scenes while reducing manual test case compiling, and ensures the authenticity and effectiveness of the test cases. The test efficiency of the test is improved, the test risk is reduced, and the test cost is saved.
In terms of hardware, the present application provides an embodiment of an electronic device for implementing all or part of the contents in the code testing method, where the electronic device specifically includes the following contents:
fig. 10 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 10, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this fig. 10 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In one embodiment, the code test method functionality may be integrated into a central processor. Wherein the central processor may be configured to control:
s1, acquiring interactive data generated by the service and corresponding service result data;
s2, inputting the interactive data into the code to be tested to generate corresponding test result data;
and S3, comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed.
From the above description, the electronic device provided by the embodiment of the application can cover more production service scenes while reducing manual test case writing, and ensure the authenticity and effectiveness of the test cases. The test efficiency of the test is improved, the test risk is reduced, and the test cost is saved.
In another embodiment, the code testing apparatus may be configured separately from the central processor 9100, for example, the code testing apparatus may be configured as a chip connected to the central processor 9100, and the code testing method function is realized by the control of the central processor.
As shown in fig. 10, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 10; in addition, the electronic device 9600 may further include components not shown in fig. 10, which can be referred to in the prior art.
As shown in fig. 10, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.
The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.
The memory 9140 may be a solid state memory, such as Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 9140 could also be some other type of device. Memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.
The memory 9140 can also include a data store 9143, the data store 9143 being used to store data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers for the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and playing locally stored sounds through the speaker 9131.
Embodiments of the present application further provide a computer-readable storage medium capable of implementing all steps in the code testing method in the foregoing embodiments, where the computer-readable storage medium stores thereon a computer program, and when the computer program is executed by a processor, the computer program implements all steps of the code testing method in the foregoing embodiments, where the execution subject is a server or a client, for example, when the processor executes the computer program, the processor implements the following steps:
s1, acquiring interactive data generated by the service and corresponding service result data;
s2, inputting the interactive data into the code to be tested to generate corresponding test result data;
and S3, comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed.
From the above description, the computer-readable storage medium provided by the embodiment of the application can cover more production service scenes while reducing manual test case writing, and ensure the authenticity and effectiveness of the test cases. The test efficiency of the test is improved, the test risk is reduced, and the test cost is saved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (13)

1. A code testing method, comprising:
acquiring interactive data generated by service and corresponding service result data;
inputting the interactive data into a code to be tested to generate corresponding test result data;
and comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed.
2. The code testing method according to claim 1, wherein the acquiring of the interaction data generated by the service and the corresponding service result data comprises:
collecting network flow data generated in the service process;
and analyzing the network flow data to obtain interactive data generated by service and corresponding service result data.
3. The code testing method according to claim 2, wherein the collecting network traffic data generated during the service running process comprises:
recording the network card flow of the designated port by utilizing a preset process to obtain network flow data in a preset standard format;
and sending the network flow data with the preset standard format to a setting system so that the network flow data can be subscribed through the setting system.
4. The code testing method according to claim 2, wherein the collecting network traffic data generated during the service running process comprises:
recording the network card flow of the designated port;
and serializing the recorded messages to generate a flow file.
5. A code testing method according to claim 3, wherein said setting process is a Go process, correspondingly, said preset standard format is a pcap standard format, and said setting system is a Kafka system;
recording the network card flow of the designated port by utilizing a pre-deployed set process to obtain the network flow data with the preset standard format, wherein the recording of the network card flow of the designated port by utilizing a pre-deployed Go process to obtain the network flow data with the pcap standard format is specifically included;
the sending of the preset standard format network traffic data to a setting system specifically comprises sending the pcap standard format network traffic data to a Kafka system.
6. The code testing method according to claim 3, wherein the analyzing the network traffic data to obtain interaction data generated by the service and corresponding service result data comprises:
subscribing to the network traffic data from the Kafka system;
and analyzing the network flow data according to the pcap standard format, and screening interactive data generated by the service and corresponding service result data.
7. A code testing method according to claim 2, further comprising:
and if the utilization rate of the central processing unit resource is greater than a preset threshold value, stopping the network flow data generated in the process of acquiring the service until the utilization rate of the central processing unit resource is continuously less than the preset threshold value.
8. A code testing method according to claim 1, further comprising: preprocessing the interactive data to obtain preprocessed interactive data;
the inputting the interaction data into the code to be tested comprises the following steps:
and inputting the preprocessing interaction data into a code to be tested.
9. The code testing method of claim 8, wherein the preprocessing the interaction data comprises: and desensitizing, labeling, formatting and persisting the interactive data.
10. The code testing method according to claim 1, wherein said comparing said service result data with said test result data comprises:
searching fields of which the service result data are the same as the test result data;
and comparing the value of the field in the service result data with the value of the corresponding field in the test result data.
11. A code testing apparatus, comprising:
the service data acquisition module is used for acquiring interactive data generated by service and corresponding service result data;
the test result generation module is used for inputting the interaction data into a code to be tested and generating corresponding test result data;
and the result comparison module is used for comparing the service result data with the test result data, and if the service result data and the test result data are consistent, the test is passed.
12. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the code testing method of any one of claims 1 to 10 when executing the program.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the code testing method of any one of claims 1 to 10.
CN202110823264.7A 2021-07-21 2021-07-21 Code testing method and device Pending CN113360413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110823264.7A CN113360413A (en) 2021-07-21 2021-07-21 Code testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110823264.7A CN113360413A (en) 2021-07-21 2021-07-21 Code testing method and device

Publications (1)

Publication Number Publication Date
CN113360413A true CN113360413A (en) 2021-09-07

Family

ID=77540031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110823264.7A Pending CN113360413A (en) 2021-07-21 2021-07-21 Code testing method and device

Country Status (1)

Country Link
CN (1) CN113360413A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113852520A (en) * 2021-11-29 2021-12-28 中国光大银行股份有限公司 Data processing method and device
CN116232967A (en) * 2023-05-09 2023-06-06 中国科学技术大学先进技术研究院 Network security detection method, device, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113852520A (en) * 2021-11-29 2021-12-28 中国光大银行股份有限公司 Data processing method and device
CN113852520B (en) * 2021-11-29 2022-02-15 中国光大银行股份有限公司 Data processing method and device
CN116232967A (en) * 2023-05-09 2023-06-06 中国科学技术大学先进技术研究院 Network security detection method, device, equipment and storage medium
CN116232967B (en) * 2023-05-09 2023-07-04 中国科学技术大学先进技术研究院 Network security detection method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111083225A (en) Data processing method and device in Internet of things platform and Internet of things platform
US10887201B2 (en) Method for automatically monitoring end-to-end end user performance and apparatus for performing the method
US20130081001A1 (en) Immediate delay tracker tool
CN110750458A (en) Big data platform testing method and device, readable storage medium and electronic equipment
CN113360413A (en) Code testing method and device
CN101645815B (en) Video and audio file download prompt method
CN113360301B (en) Message transmission system and method
CN111476015A (en) Document processing method and device, electronic equipment and storage medium
CN110769018A (en) Message pushing method and device
CN116204438A (en) Test case generation method, automatic test method and related device
CN113553260B (en) Test method, test apparatus, device, and medium
CN111240847A (en) Data processing method, device, medium and computing equipment
CN116069838A (en) Data processing method, device, computer equipment and storage medium
CN113746842A (en) Message sending method based on Protobuf protocol dynamic analysis
US20140047447A1 (en) Work scheduling method and system implemented via cloud platform
US10432490B2 (en) Monitoring single content page application transitions
CN111324480A (en) Large host transaction fault positioning system and method
CN113742408B (en) Protobuf protocol dynamic analysis-based data interaction method
CN112445861A (en) Information processing method, device, system and storage medium
CN114531345B (en) Flow comparison result storage method, device, equipment and storage medium
CN114285774A (en) Flow recording method and device, electronic equipment and storage medium
CN109684158B (en) State monitoring method, device, equipment and storage medium of distributed coordination system
CN111427710A (en) Communication method, device, equipment and storage medium of components in application program
CN112364267A (en) Front-end data acquisition method and device
CN111930608A (en) Automatic testing device and method based on process control

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