CN110730107B - Test data generation method and device, computer equipment and storage medium - Google Patents
Test data generation method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110730107B CN110730107B CN201910823447.1A CN201910823447A CN110730107B CN 110730107 B CN110730107 B CN 110730107B CN 201910823447 A CN201910823447 A CN 201910823447A CN 110730107 B CN110730107 B CN 110730107B
- Authority
- CN
- China
- Prior art keywords
- data
- message
- request message
- server
- logic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/14—Arrangements for monitoring or testing data switching networks using software, i.e. software packages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Computer Security & Cryptography (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present application relates to data updating in the field of data processing, and in particular, to a test data generation method and apparatus, a computer device, and a storage medium. The method comprises the following steps: receiving a data request message sent by a terminal, wherein the data request message carries a data server identifier; sending the data request message to a data server according to the data server identification; receiving a data response message which is returned by the data server and corresponds to the data request message; inquiring original data contained in the data response message, and changing the original data to obtain a test data message; and sending the test data message to the terminal so that the terminal tests according to the test data message. By adopting the method, the database can be effectively prevented from being polluted, and the security of the database is greatly improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a test data generation method and apparatus, a computer device, and a storage medium.
Background
Along with the development of computer technology, the popularization of computer technology brings great convenience to the work and life of people, and based on the requirements of users, the update iteration speed of computer related software is faster and faster. Before computer software is put into use, a software testing link for simulating relevant scenes is indispensable.
Conventionally, in the current software test, related simulation scenes are varied, required test data are diverse, the test data usually exceed the range of a data server database, data used in the test are generally test data generated after real data in the data server are modified manually, but the test data may be stored in the data server during manual misoperation, so that the real data in the data server are lost, and the safety of the data server database is reduced.
Disclosure of Invention
In view of the above, it is necessary to provide a test data generation method, apparatus, computer device and storage medium capable of improving security of a database.
A method of test data generation, the method comprising:
receiving a data request message sent by a terminal, wherein the data request message carries a data server identifier;
sending the data request message to a data server according to the data server identification;
receiving a data response message which is returned by the data server and corresponds to the data request message;
inquiring original data contained in the data response message, and changing the original data to obtain a test data message;
and sending the test data message to the terminal so that the terminal tests according to the test data message.
In one embodiment, the querying original data contained in the data response message and changing the original data to obtain a test data message includes:
acquiring data change logic, and inquiring a data field corresponding to the data change logic in the data response message;
extracting original data corresponding to the data field;
acquiring replacement data corresponding to the data field according to the original data;
and changing the original data into the replacement data to obtain a test data message.
In one embodiment, the test data generating method further includes:
counting the acquisition times of the data change logic, and taking the data change logic with the acquisition times lower than a preset value as logic to be deleted;
outputting deletion prompt information corresponding to the logic to be deleted;
and receiving a deleting instruction, wherein the deleting instruction is generated according to the deleting prompt information, and deleting the logic to be deleted according to the deleting instruction.
In one embodiment, the sending the data request message to a data server according to the data server identifier includes:
inquiring a field to be inquired in the data request message;
extracting request data corresponding to the field to be inquired from the data request message, and acquiring pre-stored target data corresponding to the field to be inquired;
and when the request data is the same as the target data, sending the data request message to a data server according to the data server identification.
In one embodiment, after the extracting the request data corresponding to the field to be queried from the data request message and acquiring pre-stored target data corresponding to the field to be queried, the method further includes:
when the request data is different from the target data, inquiring a sending interface of the terminal from the data request message, wherein the sending interface is associated with the field to be inquired;
acquiring a storage path of an operation log corresponding to the sending interface, and extracting the operation log according to the storage path;
obtaining a detection model, wherein the detection model is obtained by training according to sample parameters and sample results of a sample log, and detecting the operation log according to the detection model to obtain a detection result;
and screening abnormal logs in the operation logs according to the detection result, and storing the abnormal logs in an abnormal database.
A test data generation apparatus, the apparatus comprising:
the data receiving module is used for receiving a data request message sent by a terminal, wherein the data request message carries a data server identifier;
the data sending module is used for sending the data request message to a data server according to the data server identification;
the data response module is used for receiving a data response message which is returned by the data server and corresponds to the data request message;
the data change module is used for inquiring the original data contained in the data response message and changing the original data to obtain a test data message;
and the data return module is used for sending the test data message to the terminal so that the terminal can test according to the test data message.
In one embodiment, the data change module comprises:
the query unit is used for acquiring data change logic and querying a data field corresponding to the data change logic in the data response message;
the extraction unit is used for extracting original data corresponding to the data field;
an obtaining unit, configured to obtain replacement data corresponding to the data field according to the original data;
and the replacing unit is used for changing the original data into the replacing data to obtain the test data message.
In one embodiment, the data change module further comprises:
the statistical unit is used for counting the acquisition times of the data change logic, and taking the data change logic with the acquisition times lower than a preset value as logic to be deleted;
the prompting unit is used for outputting deletion prompting information corresponding to the logic to be deleted;
and the instruction unit is used for receiving a deletion instruction, the deletion instruction is generated according to the deletion prompt information, and the logic to be deleted is deleted according to the deletion instruction.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving a data request message sent by a terminal, wherein the data request message carries a data server identifier;
sending the data request message to a data server according to the data server identification;
receiving a data response message which is returned by the data server and corresponds to the data request message;
inquiring original data contained in the data response message, and changing the original data to obtain a test data message;
and sending the test data message to the terminal so that the terminal tests according to the test data message.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
receiving a data request message sent by a terminal, wherein the data request message carries a data server identifier;
sending the data request message to a data server according to the data server identification;
receiving a data response message which is returned by the data server and corresponds to the data request message;
inquiring original data contained in the data response message, and changing the original data to obtain a test data message;
and sending the test data message to the terminal so that the terminal tests according to the test data message.
According to the test data generation method, the test data generation device, the computer equipment and the storage medium, the data request message is sent to the data server by receiving the data request message sent by the terminal, the original data contained in the data response message is inquired by the data response message sent by the data server, the original data is changed to obtain the test data message, and then the test data message is sent to the data server. In the whole test data generation process, the test data obtained by changing the original data in the response data message from the receiving of the response data message sent by the data server does not need to be changed through the data server, so that the situation that the changed data replaces the original real data due to misoperation is avoided, the database is effectively prevented from being polluted, and the safety of the database is greatly improved.
Drawings
FIG. 1 is a diagram of an application scenario for a method for generating test data in one embodiment;
FIG. 2 is a flow diagram illustrating a method for generating test data according to one embodiment;
FIG. 3 is a schematic flow chart diagram illustrating the data alteration step in one embodiment;
FIG. 4 is a flow diagram illustrating the logic deletion step in one embodiment;
FIG. 5 is a schematic flow chart diagram illustrating the interface verification step in one embodiment;
FIG. 6 is a flowchart illustrating the exception checking step of the interface according to an embodiment;
FIG. 7 is a block diagram showing the construction of a test data generating apparatus according to an embodiment;
FIG. 8 is a block diagram that illustrates the structure of a data change module in one embodiment;
FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The test data generation method provided in the embodiment of the present invention may be applied to an application environment as shown in fig. 1. A proxy server 104 is established between the terminal 102 and the data server 106, and the terminal 102, the proxy server 104 and the data server 106 communicate with each other through a network. The data request message sent by the terminal 102 and the data response message returned by the data server 106 are both sent through the proxy server 104, the proxy server 104 can change data in different messages, when the proxy server 104 receives the data request message sent by the terminal 102, the data request message is sent to the data server 106 according to the data server identifier carried in the data request message, and then the proxy server 104 receives the data response message returned by the data server 106, inquires the original data contained in the data response message, and changes the original data to obtain a test data message, and then sends the test data message to the terminal 102, so that the terminal 102 performs testing according to the test data message.
In an embodiment, as shown in fig. 2, a test data generating method is provided, which is described by taking the example that the method is applied to the proxy server in fig. 1, and includes:
Specifically, the data request packet refers to data acquisition request information sent by a terminal to a data server, where the data acquisition request information includes different fields and request data corresponding to the different fields, and carries a data server identifier. The data server identification is a unique flag used to instruct the proxy server to query the corresponding server. It is understood that the data server identification is a network address corresponding to the data server, or an interface identification corresponding to the data server. The proxy server is a server additionally arranged between the terminal and the data server based on a proxy program, has the functions of analyzing messages and modifying message contents based on rules, and comprises data change logic, pre-stored replacement data and target data. Specifically, in the test process, the terminal is connected with the proxy server through the network, and receives a data request message sent through an input device of the terminal, where the data request message carries a data server identifier, and the data server identifier is used to instruct the proxy server to search for the data server.
For example, a financial APP (Application) is installed in the terminal, and the amount data displayed by the APP in the terminal is two decimal numbers, whether the data exceeding the two decimal numbers can be processed by the terminal is tested, the processed amount data is displayed on an interface corresponding to the APP, rounding operation is performed on the amount data exceeding the two decimal numbers, and a scene required to be simulated at present is the amount data exceeding the two decimal numbers sent to the terminal where the financial APP is installed. The terminal is connected with the proxy server through a network, generates a data request message, carries a data server identifier, a request field and request data corresponding to the request field, and carries the data server identifier of the data server, and sends the data request message to the proxy server.
And step 204, sending the data request message to the data server according to the data server identification.
Specifically, the data server refers to a server for storing original real data, and the server is configured with a database for storing real data. Specifically, after receiving a data request message sent by a terminal, the proxy server queries the data server according to a data server identifier in the data request message, and sends the data request message to the data server. The proxy server may parse the data server identifier and query the receiving interface, and send the data request message to the data server according to the receiving interface. For example, the proxy server queries a data server receiving interface according to the data server identification, and sends the data request message to the data server, wherein the data server stores real money data.
And step 206, receiving a data response message corresponding to the data request message returned by the data server.
Specifically, the data response message is response information sent by the data server after receiving a data request message sent by the terminal, and the response information includes different fields and original data corresponding to the fields. Specifically, after the proxy server sends the data request message to the data server, the data server reads the data request message, according to the data request in the data request message, queries pre-stored data corresponding to the data request, generates a data response message according to the pre-stored data, and returns the data response message to the proxy server, and the proxy server receives the data response message corresponding to the data request message returned by the data server. For example, after receiving the data request message sent by the proxy server, the data server sends a message containing the amount data stored in the data server to the proxy server.
And step 208, inquiring the original data contained in the data response message, and changing the original data to obtain a test data message.
Specifically, the raw data refers to data stored in the database of the data server, such as user information and money amount data corresponding to the user information. The test data message is a message containing data required by scene simulation, wherein the data required by scene simulation is generally data obtained by the proxy server after changing the original data according to the data change logic. Specifically, the proxy server receives a data response message returned by the data server, analyzes the data response message, queries original data in the data response message, queries whether the original data is preset data, sends the data response message containing the original data to the terminal as a test data message when the original data is the preset data, changes the original data when the original data is not the preset data, and sends the data response message of the changed original data to the terminal as the test data message. For example, when the data server sends a data response message containing the amount data stored in the data server back to the proxy server, the proxy server analyzes the data response message, if the original data in the data response message is the amount data exceeding two decimal numbers, the proxy server directly sends the data response message as a test data message to the terminal, and if the original data in the data response message is the amount data exceeding two decimal numbers, the proxy server changes the original data in the data response message, namely the amount data of two decimal numbers, into the amount data exceeding two decimal numbers to obtain the test data message.
Specifically, the proxy server changes the data response message, and sends the test data message to the terminal after obtaining the test data message. The terminal receives the test data message and extracts the test data contained in the test data message, so that the related processing and the related scene simulation test are completed. For example, after receiving a test data message containing money data exceeding two decimal places, the proxy server returns the test data message to the terminal, the terminal receives the test data message and analyzes the test data message, and then extracts the test data, namely the money data, from the analyzed test data message, the terminal inquires whether the money data exceeds two decimal places, modifies the money data exceeding two decimal places, and displays the modified data on a display interface, thereby completing the corresponding test.
In this embodiment, the whole test data generation process does not need to modify the database storing the original data in the data server, and the security of the database in the data server is ensured.
In an embodiment, as shown in fig. 3, a flow diagram of a data modification step is provided, where the data modification step is a step of querying original data contained in a data response message, and modifying the original data to obtain a test data message, and the method further includes:
Specifically, the data change logic is a kind of falsification rule pre-stored to the proxy server. The proxy server supports configuration of a plurality of tampering rules and realizes simulation of various data scenes. The data field refers to a unit representing the content of the message in the data response message. Specifically, after querying different fields in the data response message, the proxy server screens out data fields corresponding to the data change logic, which can be understood as that the data fields are matched with corresponding tamper rules. For example, the data server returns a data response message after receiving the data request message, wherein the data change logic is a tampering rule which is stored in the proxy server in advance by a tester and used for changing the amount data less than two decimal places into the amount data more than two decimal places. When the proxy server receives the data response message, the amount field corresponding to the data change logic can be inquired from the data response message according to the tampering rule in the proxy server, the amount field is the data field, and the amount field represents information representing amount data in the data response message. The specific data field may be set arbitrarily according to an actual scene or a need, and this embodiment is not limited specifically.
At step 304, raw data corresponding to the data field is extracted.
Specifically, the raw data refers to detailed data in the data response message. In this embodiment, when the proxy server obtains the data response packet, the original data corresponding to the data field is extracted, and the original data is also the real data stored in the database of the data server. For example, the raw data is real amount data stored in the data server, which may be 10.1, 10.22, 10.333 or other decimal amount data. It can be understood that the actual amount data corresponding to the data field in the data response message is 10.333. The specific original data may be set arbitrarily according to an actual scene or a need, and this embodiment is not limited specifically.
And step 306, acquiring the replacement data corresponding to the data field according to the original data.
Specifically, the replacement data refers to data corresponding to original data in the data response message acquired by the proxy server, the replacement data is also data obtained through data modification logic, and the replacement data is also target data required by the terminal to complete the scene simulation test. Specifically, after the original data in the data response message is extracted according to the data field, the proxy server obtains the replacement data corresponding to the original data through the data modification logic. For example, when the data change logic is to change less than two decimal amounts of money data to more than two decimal amounts of money data, the replacement data is the proxy server changing less than two decimal amounts of money data to more than two decimal amounts of money data according to the data change logic, such as changing 10.1 to 10.100, 10.101, 10.107, 10.109, etc. The replacement amount 10.100, 10.101, 10.107 or 10.109 is the replacement data corresponding to the actual amount 10.1. The specific replacement data may be set arbitrarily according to an actual scene or a need, and this embodiment is not limited specifically.
And 308, changing the original data into the replacement data to obtain a test data message.
Specifically, the test data packet refers to a data packet obtained by the proxy server changing original data in the data response packet into replacement data through the data change logic, and the data packet includes data content required by the test. Specifically, after the proxy server acquires the replacement data, the original data in the data response message is changed into the replacement data, so that the data response message obtains a test data message, and the test data message is sent to the terminal to complete the related test. For example, the proxy server changes the actual amount data 10.1 in the data response message to the replacement amount data 10.101, obtains a test data message, and sends the test data message to the terminal. After receiving the test data message, the terminal analyzes the test data message and extracts test data, namely, the amount data 10.101, the terminal queries 10.101 the amount data exceeding two decimal places, rounds 10.101 to obtain 10.10 amount data, and displays 10.10 amount data on a display interface to complete related tests.
In the embodiment, the data change logic is stored in the proxy server in advance, the replacement data corresponding to the original data is acquired through the data change logic, the original data is changed into the replacement data in the proxy server to obtain the test data message, the data message is sent to the terminal to complete the related test, and the change of the data response message is completed in the proxy server, so that the database is effectively prevented from being polluted under the condition that the related scene simulation can be completed, manual modification is not needed, and the test efficiency is improved.
In one embodiment, as shown in fig. 4, a flow chart of a logical deletion step after a data alteration step is provided, where the logical deletion step includes:
Specifically, the number of times of obtaining the data change logic may be the number of times of accessing the data change logic, and is characterized by the number of times of hitting the data change logic, and the greater the number of times represents that the probability of hitting the data change logic is higher, and otherwise, the probability is lower. The preset value refers to the number of times that the preset data modification logic is hit, and the preset number may be 1, 2, or 3. Specifically, the proxy server counts the acquisition times of the data change logic, acquires a preset value, compares the acquisition times with the preset value, and when the acquisition times are lower than the preset value, that is, the hit times of the data change logic do not reach an expected test, it indicates that the hit probability of the data change logic is low, and the data change logic can be used as logic to be deleted.
And step 404, outputting deletion prompt information corresponding to the logic to be deleted.
Specifically, the deletion prompt information is generated by the proxy server according to the logic to be deleted and is used for prompting the deletable data change logic, and may include a name of the logic to be deleted, the number of times of obtaining the logic to be deleted, the latest obtaining time of the logic to be deleted, the distribution of the obtaining time of the logic to be deleted, and the like, and the deletion prompt information may further include an optional deletion instruction. And after the logic to be deleted is screened out, the proxy server generates deletion prompt information corresponding to the logic to be deleted. Specifically, the proxy server guides the tester to select whether to delete the logic to be deleted or not through the deletion prompt message.
And 406, receiving a deletion instruction, wherein the deletion instruction is generated according to the deletion prompt information, and deleting the logic to be deleted according to the deletion instruction.
Specifically, the deletion instruction refers to a deletion command, and may be a deletion command obtained by selecting, by a tester, a logic to be deleted according to the deletion prompt information, where the deletion command is generated by the logic to be deleted that is selected to be deleted. Specifically, the proxy server outputs deletion prompt information, receives the logic to be deleted through a tester, selectively deletes the logic to be deleted, generates a deletion instruction, and deletes the logic to be deleted according to the deletion instruction. For example, the proxy server outputs deletion prompt information of the logic 1 to be deleted, deletion prompt information of the logic 2 to be deleted, and deletion prompt information of the logic 3 to be deleted, and the logic 1 to be deleted is deleted by a tester, and a deletion instruction generated by the deletion prompt information of the logic 1 to be deleted selected by the tester is received, so that the logic 1 to be deleted is deleted according to the deletion instruction.
In this embodiment, the proxy server counts the acquisition times of the data change logic, selects the data change logic with the acquisition times lower than the preset value as the logic to be deleted, and outputs the deletion prompt information, so that the data change logic with the acquisition times lower than the preset value can be flexibly selected and deleted according to the requirements. The embodiment realizes flexible control of data change logic in the proxy server and saves storage space.
In an embodiment, as shown in fig. 5, a schematic flow chart of an interface verification step is provided, where the interface verification step, that is, the step of sending the data request packet to the data server according to the data server identifier, includes:
Specifically, the field to be queried refers to a field associated with an interface corresponding to the terminal in the data request message, that is, the field to be queried includes information of a terminal sending interface. Specifically, after receiving the data request message, the proxy server parses fields in the data request message, queries fields associated with a terminal sending interface, and takes the fields as fields to be queried.
Specifically, the request data refers to data selected by the proxy server from the data request message and associated with the field to be queried. The target data refers to standard data pre-stored by the proxy server and corresponding to the field to be queried, and may be actual data associated with the field to be queried, that is, expected data corresponding to the field to be queried. Specifically, after obtaining the field to be queried associated with the terminal sending interface, the proxy server extracts the request data corresponding to the field to be queried from the data request message, and acquires the target data from the data pre-stored in the proxy server according to the field to be queried.
Specifically, the proxy server compares the request data with the target data after obtaining the request data, obtains a data interface corresponding to the data server according to a second service identifier carried in the data request message when the request data is the same as the target data, and sends the data request message to the data server through the data interface.
It should be noted that the proxy server may also check the sending interface of the data server according to the data response message, and when the proxy server receives the data response message returned by the data server, query a field to be queried in the data response message, where the field to be queried is associated with the sending interface of the data server. And extracting detailed data corresponding to the field to be inquired from the data response message, and acquiring pre-stored target data corresponding to the field to be inquired. And if the detailed data is the same as the target data, the terminal interface passes the verification.
In this embodiment, the proxy server extracts the request data or the detailed data in the data request message or the data response message and acquires the pre-stored target data corresponding to the field to be queried, and sends the data request message to the data server when the request data or the detailed data is the same as the target data. In the embodiment, the proxy server is used for verifying the sending interface, so that an interface verification link of a terminal or a data server is omitted, the response efficiency of data is improved, and the safety of reading the data by the terminal or the data server is ensured.
In another embodiment, as shown in fig. 6, after providing a flowchart of the interface checking step, that is, after the steps of extracting the request data corresponding to the field to be queried from the data request packet and acquiring the pre-stored target data corresponding to the field to be queried, the method further includes:
Specifically, the proxy server compares the request data with the target data after obtaining the request data, when the request data is different from the target data, that is, the data request message is not verified in the proxy server, the proxy server analyzes the field in the data request message, and queries the field to be queried associated with the terminal, wherein the field to be queried corresponds to the sending interface corresponding to the terminal.
And step 604, acquiring a storage path of the operation log corresponding to the sending interface, and extracting the operation log according to the storage path.
Specifically, the operation log refers to a log file for recording a modification operation of data, and includes information of all operations in a process from sending a request message to returning a test data message, and may include a terminal sending interface and a terminal receiving interface. The proxy server inquires a storage path of the operation log according to a sending interface of the terminal, the storage path of the operation log is stored in the proxy server, and the operation log is obtained according to the storage path of the operation log.
And 606, obtaining a detection model, wherein the detection model is obtained by training according to sample parameters and sample results of the sample logs, and detecting the operation logs according to the detection model to obtain a detection result.
Specifically, the detection model refers to a model that can detect the operation log, and the detection model is obtained by training according to sample parameters and sample results included in the sample log. Specifically, the proxy server may extract the parameter to be detected from the operation log, and input the parameter to be detected into the detection model, so as to obtain a determined detection result.
And step 608, screening abnormal logs in the operation log according to the detection result, and storing the abnormal logs in an abnormal database.
Specifically, when the proxy server outputs the detection result of the operation log, and when the detection result indicates that an abnormal log exists in the operation log, the proxy server extracts the abnormal log and stores the abnormal log in an abnormal database of the proxy server.
It should be noted that, when the detailed data is different from the target data, that is, when the data response message is not verified, the proxy server may query the data server sending interface with the data response message, obtain a storage path of an operation log corresponding to the sending interface, extract the operation log according to the storage path for querying, detect the operation log corresponding to the data server through the detection model, and store the abnormal log in an abnormal database in the proxy server when the detection result shows that the operation log is abnormal.
In this embodiment, when the request data or the detailed data is different from the target data, that is, when the interface check in the message fails, the proxy server detects the operation log by using the detection model, and stores the operation log whose detection result is abnormal into an abnormal database in the proxy server. According to the embodiment, the abnormal operation log which appears for the first time is stored in the abnormal database in the proxy server, so that the subsequent inquiry of the abnormal operation log is facilitated.
In an embodiment, when the proxy server receives the data request packet and the data request packet fails to be verified, it may query whether the request packet carries a change identifier, and when the request packet carries the change identifier, obtain a request change logic corresponding to the data request packet according to the change identifier, and change the data request packet according to the request change logic.
Specifically, the modification identifier refers to a field representing a modification request carried on the packet. The request change logic is a kind of tampering rule pre-stored in the proxy server, and the change identifier in the data request message can trigger the request change logic. Specifically, when the proxy server receives a data request message, fields in the data request message are analyzed, a change identifier carried by the data request message is inquired, a request change logic is obtained according to the change identifier, a request change field corresponding to the request change logic in the data request message is inquired, request change data corresponding to the request change field in the data request message is further extracted, change data corresponding to the request change data in the proxy server are obtained, the change data are data prestored in the proxy server, the request change data are changed into change data, the change request message is obtained and sent to the data server, and whether the data server can verify the data message to be received or not is detected through analysis of the change request message and feedback made by the data server.
For example, when the proxy server receives the data request message, the field in the data request message is analyzed, and the change identifier carried by the request message is inquired as the interface change identifier. The proxy server acquires the request change logic according to the interface change identifier, inquires out an interface field corresponding to the request change logic in the request message, further extracts interface data corresponding to the interface field in the data request message, acquires change data corresponding to the interface data in the proxy server, changes the interface data into the change data to obtain a change request message, and the change data contained in the change request message is different from the interface data corresponding to the actual sending interface of the terminal. And sending the change request message to the data server so as to detect whether the data server can detect the changed interface in the change request message.
In this embodiment, after receiving the data request packet, the proxy server may query whether the request packet carries a change identifier, and when carrying the change identifier, the proxy server obtains a request change logic according to the change identifier, and changes the data request packet according to the request change logic, and obtains a test data packet by changing the data request packet carrying the change identifier, and sends the test data packet to the data server, so that the proxy server can detect identification and interception of an abnormal data request packet by the data server, thereby ensuring accuracy of the data server in reflecting the abnormal data request.
It should be understood that although the steps in the flowcharts of fig. 2 to 6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 7, there is provided a test data generating apparatus 700 including:
a data receiving module 702, configured to receive a data request message sent by a terminal, where the data request message carries a data server identifier.
And a data sending module 704, configured to send the data request message to the data server according to the data server identifier.
And the data response module 706 is configured to receive a data response packet corresponding to the data request packet returned by the data server.
The data change module 708 is configured to query the original data included in the data response message, and change the original data to obtain a test data message.
And the data returning module 710 is configured to send the test data packet to the terminal, so that the terminal performs a test according to the test data packet.
In another embodiment, as shown in fig. 8, a block diagram of a data change module 708 is provided, the data change module 708 comprising:
the query unit 708A is configured to obtain the data change logic and query a data field corresponding to the data change logic in the data response message;
an extracting unit 708B for extracting original data corresponding to the data field;
an obtaining unit 708C, configured to obtain, according to the original data, replacement data corresponding to the data field;
a replacing unit 708D, configured to change the original data into replacing data, so as to obtain a test data packet.
In another embodiment, the data change module 708 further comprises:
and the statistical unit is used for counting the acquisition times of the data change logic and taking the data change logic with the acquisition times lower than a preset value as the logic to be deleted.
And the prompt unit is used for outputting deletion prompt information corresponding to the logic to be deleted.
And the instruction unit is used for receiving a deletion instruction, the deletion instruction is generated according to the deletion prompt information, and the logic to be deleted is deleted according to the deletion instruction.
In another embodiment, the data sending module 704 includes:
and the to-be-queried unit is used for querying the to-be-queried field in the data request message.
And the preparation unit is used for extracting the request data corresponding to the field to be inquired from the data request message and acquiring the pre-stored target data corresponding to the field to be inquired.
And the judging unit is used for sending the data request message to the data server according to the data server identification when the request data is the same as the target data.
In another embodiment, the data sending module 704 further includes:
and the sending interface query unit is used for querying a sending interface of the terminal from the data request message when the request data is different from the target data, and the sending interface is associated with the field to be queried.
And the storage log extraction unit is used for acquiring a storage path of the operation log corresponding to the sending interface and extracting the operation log according to the storage path.
And the detection result acquisition unit is used for acquiring a detection model, the detection model is obtained by training according to the sample parameters and the sample results of the sample logs, and the operation logs are detected according to the detection model to obtain a detection result.
And the abnormal log storage unit screens abnormal logs in the operation logs according to the detection result and stores the abnormal logs in an abnormal database.
For specific limitations of the test data generation apparatus, reference may be made to the above limitations of the test data generation method, which are not described herein again. The modules in the test data generation device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure thereof may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing test data generation data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a test data generation method.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program:
and receiving a data request message sent by the terminal, wherein the data request message carries a data server identifier.
And sending the data request message to the data server according to the data server identification.
And receiving a data response message which is returned by the data server and corresponds to the data request message.
And inquiring the original data contained in the data response message, and changing the original data to obtain the test data message.
And sending the test data message to the terminal so that the terminal performs testing according to the test data message.
In one embodiment, the processor when executing the computer program further performs the steps of: and acquiring data change logic, and inquiring a data field corresponding to the data change logic in the data response message. Raw data corresponding to the data fields is extracted. And acquiring the replacement data corresponding to the data field according to the original data. And changing the original data into the replacement data to obtain the test data message.
In a further embodiment, the processor, when executing the computer program, further performs the steps of: and counting the acquisition times of the data change logic, and taking the data change logic with the acquisition times lower than a preset value as the logic to be deleted. And outputting deletion prompt information corresponding to the logic to be deleted. And receiving a deleting instruction, wherein the deleting instruction is generated according to the deleting prompt information, and the logic to be deleted is deleted according to the deleting instruction.
In a further embodiment, the processor, when executing the computer program, further performs the steps of: and inquiring the field to be inquired in the data request message. And extracting the request data corresponding to the field to be inquired from the data request message, and acquiring pre-stored target data corresponding to the field to be inquired. And when the request data is the same as the target data, sending the data request message to a data server according to the data server identification.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and when the request data is different from the target data, inquiring a sending interface of the terminal from the data request message, wherein the sending interface is associated with the field to be inquired. And acquiring a storage path of the operation log corresponding to the sending interface, and extracting the operation log according to the storage path. And obtaining a detection model, wherein the detection model is obtained by training according to the sample parameters and the sample results of the sample logs, and detecting the operation logs according to the detection model to obtain a detection result. And screening abnormal logs in the operation logs according to the detection result, and storing the abnormal logs in an abnormal database.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
and receiving a data request message sent by the terminal, wherein the data request message carries a data server identifier.
And sending the data request message to the data server according to the data server identification.
And receiving a data response message which is returned by the data server and corresponds to the data request message.
And inquiring the original data contained in the data response message, and changing the original data to obtain a test data message.
And sending the test data message to the terminal, so that the terminal carries out testing according to the test data message.
In one embodiment, the computer program when executed by the processor further performs the steps of: and acquiring data change logic, and inquiring a data field corresponding to the data change logic in the data response message. Raw data corresponding to the data field is extracted. And acquiring the replacement data corresponding to the data field according to the original data. And changing the original data into the replacement data to obtain the test data message.
In one embodiment, the computer program when executed by the processor further performs the steps of: and counting the acquisition times of the data change logic, and taking the data change logic with the acquisition times lower than a preset value as the logic to be deleted. And outputting the deletion prompt information corresponding to the logic to be deleted. And receiving a deleting instruction, wherein the deleting instruction is generated according to the deleting prompt information, and the logic to be deleted is deleted according to the deleting instruction.
In one embodiment, the computer program when executed by the processor further performs the steps of: and inquiring the field to be inquired in the data request message. And extracting the request data corresponding to the field to be inquired from the data request message, and acquiring pre-stored target data corresponding to the field to be inquired. And when the request data is the same as the target data, sending the data request message to a data server according to the data server identification.
In one embodiment, the computer program when executed by the processor further performs the steps of: and when the request data is different from the target data, inquiring a sending interface of the terminal from the data request message, wherein the sending interface is associated with the field to be inquired. And acquiring a storage path of the operation log corresponding to the sending interface, and extracting the operation log according to the storage path. And obtaining a detection model, wherein the detection model is obtained by training according to the sample parameters and the sample results of the sample logs, and detecting the operation logs according to the detection model to obtain a detection result. And screening abnormal logs in the operation logs according to the detection result, and storing the abnormal logs in an abnormal database.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method of test data generation, the method comprising:
receiving a data request message sent by a terminal, wherein the data request message carries a data server identifier;
if the data request message passes the verification, sending the data request message to a data server according to the data server identification;
receiving a data response message which is returned by the data server and corresponds to the data request message;
inquiring original data contained in the data response message, and changing the original data to obtain a test data message;
sending the test data message to the terminal so that the terminal can test according to the test data message;
if the data request message fails to be verified, inquiring a change identifier carried in the data request message, acquiring a request change logic corresponding to the data request message according to the change identifier, changing the data request message according to the request change logic, sending the changed data request message to the data server, and detecting whether the data server can verify the changed data request message based on feedback information sent by the data server.
2. The method according to claim 1, wherein the querying the original data contained in the data response message and changing the original data to obtain a test data message comprises:
acquiring data change logic, and inquiring a data field corresponding to the data change logic in the data response message;
extracting original data corresponding to the data field;
acquiring replacement data corresponding to the data field according to the original data;
and changing the original data into the replacement data to obtain a test data message.
3. The method of claim 2, further comprising:
counting the acquisition times of the data change logic, and taking the data change logic with the acquisition times lower than a preset value as logic to be deleted;
outputting deletion prompt information corresponding to the logic to be deleted;
and receiving a deleting instruction, wherein the deleting instruction is generated according to the deleting prompt information, and deleting the logic to be deleted according to the deleting instruction.
4. The method according to claim 1, wherein the sending the data request message to a data server according to the data server identifier comprises:
inquiring a field to be inquired in the data request message;
extracting request data corresponding to the field to be inquired from the data request message, and acquiring pre-stored target data corresponding to the field to be inquired;
and when the request data is the same as the target data, sending the data request message to a data server according to the data server identification.
5. The method of claim 4, wherein after extracting the request data corresponding to the field to be queried from the data request message and obtaining pre-stored target data corresponding to the field to be queried, the method comprises:
when the request data is different from the target data, inquiring a sending interface of the terminal from the data request message, wherein the sending interface is associated with the field to be inquired;
acquiring a storage path of an operation log corresponding to the sending interface, and extracting the operation log according to the storage path;
acquiring a detection model, wherein the detection model is obtained by training according to sample parameters and sample results of a sample log, and the operation log is detected according to the detection model to obtain a detection result;
and screening abnormal logs in the operation logs according to the detection result, and storing the abnormal logs to an abnormal database.
6. A test data generation apparatus, characterized in that the apparatus comprises:
the data receiving module is used for receiving a data request message sent by a terminal, wherein the data request message carries a data server identifier;
the data sending module is used for sending the data request message to a data server according to the data server identification if the data request message passes the verification;
the data response module is used for receiving a data response message which is returned by the data server and corresponds to the data request message;
the data change module is used for inquiring the original data contained in the data response message and changing the original data to obtain a test data message;
the data return module is used for sending the test data message to the terminal so that the terminal can test according to the test data message;
the message detection module is used for inquiring a change identification carried in the data request message if the data request message fails to be validated, acquiring a request change logic corresponding to the data request message according to the change identification, changing the data request message according to the request change logic, sending the changed data request message to the data server, and detecting whether the data server can check the changed data request message based on feedback information sent by the data server.
7. The apparatus of claim 6, wherein the data change module comprises:
the query unit is used for acquiring data change logic and querying a data field corresponding to the data change logic in the data response message;
the extraction unit is used for extracting original data corresponding to the data field;
the acquisition unit is used for acquiring the replacement data corresponding to the data field according to the original data;
and the replacing unit is used for changing the original data into the replacing data to obtain the test data message.
8. The apparatus of claim 7, wherein the data change module further comprises:
the statistical unit is used for counting the acquisition times of the data change logic, and taking the data change logic with the acquisition times lower than a preset value as logic to be deleted;
the prompting unit is used for outputting deletion prompting information corresponding to the logic to be deleted;
and the instruction unit is used for receiving a deletion instruction, the deletion instruction is generated according to the deletion prompt information, and the logic to be deleted is deleted according to the deletion instruction.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910823447.1A CN110730107B (en) | 2019-09-02 | 2019-09-02 | Test data generation method and device, computer equipment and storage medium |
PCT/CN2020/105362 WO2021042914A1 (en) | 2019-09-02 | 2020-07-29 | Test data generation method and apparatus, computer device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910823447.1A CN110730107B (en) | 2019-09-02 | 2019-09-02 | Test data generation method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110730107A CN110730107A (en) | 2020-01-24 |
CN110730107B true CN110730107B (en) | 2022-07-12 |
Family
ID=69218814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910823447.1A Active CN110730107B (en) | 2019-09-02 | 2019-09-02 | Test data generation method and device, computer equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110730107B (en) |
WO (1) | WO2021042914A1 (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110730107B (en) * | 2019-09-02 | 2022-07-12 | 深圳壹账通智能科技有限公司 | Test data generation method and device, computer equipment and storage medium |
CN111478941B (en) * | 2020-03-05 | 2023-08-22 | 平安银行股份有限公司 | Mock automatic operation method and device, computer equipment and storage medium |
CN111737133B (en) * | 2020-06-24 | 2024-10-11 | 中国银行股份有限公司 | Test method and device, computer equipment and computer readable storage medium |
CN112861496A (en) * | 2021-03-22 | 2021-05-28 | 平安商业保理有限公司 | Report generation display method and device, computer equipment and readable storage medium |
CN113238945A (en) * | 2021-05-17 | 2021-08-10 | 上海中通吉网络技术有限公司 | Automatic test method for chart query of BI (business intelligence) system |
CN113656282A (en) * | 2021-07-19 | 2021-11-16 | 广州虎牙科技有限公司 | Non-intrusive test method and related device and storage medium |
CN113705184B (en) * | 2021-09-01 | 2023-09-22 | 同盾科技有限公司 | Custom report generation method and device, storage medium and electronic equipment |
CN113778879B (en) * | 2021-09-13 | 2024-03-08 | 上海幻电信息科技有限公司 | Interface fuzzy test method and device |
CN115842716B (en) * | 2021-09-14 | 2024-08-06 | 腾讯科技(深圳)有限公司 | Method, device, equipment and storage medium for determining fault server |
CN113722235B (en) * | 2021-09-16 | 2024-10-11 | 中国银行股份有限公司 | Automatic test method and device |
CN113938408B (en) * | 2021-10-14 | 2023-07-11 | 平安银行股份有限公司 | Data traffic testing method and device, server and storage medium |
CN114143240A (en) * | 2021-11-19 | 2022-03-04 | 北京达佳互联信息技术有限公司 | Abnormity generation and test method and device |
CN115150259A (en) * | 2022-06-16 | 2022-10-04 | 北京三快在线科技有限公司 | Fault positioning method and device |
CN115865488B (en) * | 2022-11-30 | 2024-10-18 | 中国人民财产保险股份有限公司 | Flow playback testing method, device, equipment and medium based on desensitization log |
CN116149969B (en) * | 2023-04-04 | 2023-06-20 | 湖南中青能科技有限公司 | Database model matching anomaly monitoring and processing method |
CN116453582B (en) * | 2023-06-14 | 2023-09-22 | 合肥康芯威存储技术有限公司 | Signal testing system and method for memory |
CN117234949B (en) * | 2023-11-13 | 2024-03-19 | 广州品唯软件有限公司 | Test data noise reduction method and device, storage medium and computer equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528432A (en) * | 2016-12-12 | 2017-03-22 | 北京三快在线科技有限公司 | Construction method and apparatus for test scene data, and buried point test method |
CN108573006A (en) * | 2017-06-06 | 2018-09-25 | 北京金山云网络技术有限公司 | Across computer room data synchronous system, method and device, electronic equipment |
CN109298997A (en) * | 2018-08-08 | 2019-02-01 | 平安科技(深圳)有限公司 | Interface test method, system, computer equipment and storage medium |
CN109739815A (en) * | 2019-01-10 | 2019-05-10 | 北京达佳互联信息技术有限公司 | Document handling method, system, device, equipment and storage medium |
CN109992500A (en) * | 2017-12-29 | 2019-07-09 | 北京奇虎科技有限公司 | Interface test method, device and the computer readable storage medium of application |
CN110008118A (en) * | 2019-03-13 | 2019-07-12 | 深圳壹账通智能科技有限公司 | Page data test method, device, computer equipment and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9639453B2 (en) * | 2015-03-04 | 2017-05-02 | Vmware, Inc. | Method and system for determining functional tests to execute based on code coverage |
CN105183672B (en) * | 2015-08-07 | 2018-09-11 | 北京思特奇信息技术股份有限公司 | A kind of adaptive interface call method and system |
CN110069413B (en) * | 2019-04-22 | 2020-11-24 | 苏州亿歌网络科技有限公司 | Test data communication, test method, device, equipment and storage medium |
CN110134607A (en) * | 2019-05-17 | 2019-08-16 | 广州品唯软件有限公司 | A kind of app automated testing method and device |
CN110730107B (en) * | 2019-09-02 | 2022-07-12 | 深圳壹账通智能科技有限公司 | Test data generation method and device, computer equipment and storage medium |
-
2019
- 2019-09-02 CN CN201910823447.1A patent/CN110730107B/en active Active
-
2020
- 2020-07-29 WO PCT/CN2020/105362 patent/WO2021042914A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528432A (en) * | 2016-12-12 | 2017-03-22 | 北京三快在线科技有限公司 | Construction method and apparatus for test scene data, and buried point test method |
CN108573006A (en) * | 2017-06-06 | 2018-09-25 | 北京金山云网络技术有限公司 | Across computer room data synchronous system, method and device, electronic equipment |
CN109992500A (en) * | 2017-12-29 | 2019-07-09 | 北京奇虎科技有限公司 | Interface test method, device and the computer readable storage medium of application |
CN109298997A (en) * | 2018-08-08 | 2019-02-01 | 平安科技(深圳)有限公司 | Interface test method, system, computer equipment and storage medium |
CN109739815A (en) * | 2019-01-10 | 2019-05-10 | 北京达佳互联信息技术有限公司 | Document handling method, system, device, equipment and storage medium |
CN110008118A (en) * | 2019-03-13 | 2019-07-12 | 深圳壹账通智能科技有限公司 | Page data test method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2021042914A1 (en) | 2021-03-11 |
CN110730107A (en) | 2020-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110730107B (en) | Test data generation method and device, computer equipment and storage medium | |
CN107908541B (en) | Interface testing method and device, computer equipment and storage medium | |
CN109446068B (en) | Interface test method, device, computer equipment and storage medium | |
CN108459954B (en) | Application program vulnerability detection method and device | |
CN108400978B (en) | Vulnerability detection method and device, computer equipment and storage medium | |
CN110489314B (en) | Model anomaly detection method and device, computer equipment and storage medium | |
CN109726134B (en) | Interface test method and system | |
CN108256322B (en) | Security testing method and device, computer equipment and storage medium | |
CN110569159A (en) | Baffle generation method, device, equipment and computer storage medium | |
CN108874661B (en) | Test mapping relation library generation method and device, computer equipment and storage medium | |
CN104751056A (en) | Vulnerability verification system and method based on attack library | |
CN111459796B (en) | Automated testing method, apparatus, computer device and storage medium | |
CN109766483B (en) | Regular expression generation method, device, computer equipment and storage medium | |
CN112559364B (en) | Test case generation method and device, computer equipment and storage medium | |
CN110493064A (en) | Firewall management method, apparatus, computer equipment and storage medium | |
CN112511384B (en) | Flow data processing method and device, computer equipment and storage medium | |
CN110134595A (en) | Analysis method, device, computer equipment before SVN resource library test | |
CN112153375A (en) | Front-end performance testing method, device, equipment and medium based on video information | |
CN110162310B (en) | Plug-in interface test method and device, computer equipment and storage medium | |
CN112817816B (en) | Embedded point processing method and device, computer equipment and storage medium | |
CN111949548B (en) | Automatic unauthorized penetration testing method and storage device | |
CN112612706A (en) | Automated testing method, computer device and storage medium | |
CN110737426B (en) | Program block creating method, program block creating device, computer equipment and storage medium | |
CN111797005A (en) | Gateway interface analysis method and device, computer equipment and storage medium | |
CN111767218A (en) | Automatic testing method, equipment and storage medium for continuous integration |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |