Data batch writing method and device, equipment, medium and product

By writing test case data in batches to the database and obtaining the data returned by the interface in advance, the problems of low efficiency and data acquisition failure in the existing technology are solved, and efficient and reliable data management and invocation are achieved.

CN118535582APending Publication Date: 2024-08-23PICC INFORMATION TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410905226.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In the existing technology, manually adding test case data to the database is inefficient and error-prone. When calling third-party interfaces in real time, timeouts or system exceptions are likely to occur, resulting in failure to obtain baffle data.

Method used

By obtaining the test case data in the target excel file, perform type conversion and write it into the preset database in batches, obtain the data returned by the interface in advance, and store the baffle data in the database for subsequent calls.

Benefits of technology

It improves data writing efficiency, avoids manual addition errors, saves time in calling interfaces, and avoids data acquisition failures caused by timeouts or system exceptions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535582A
    Figure CN118535582A
Patent Text Reader

Abstract

The invention provides a data batch writing method and device, equipment, a medium and a product, and relates to the field of software testing. The method comprises the following steps: acquiring first test case data; performing type conversion on the first test case data to obtain second test case data, and storing the second test case data in a first list; calling a preset method to write the second test case data into a target case table of a preset database in batches; initiating a calling request for a preset interface by adopting target test case data in second test case data stored in the first list to obtain data returned by the preset interface; performing type conversion on the returned data to obtain baffle data, and storing the baffle data in a second list; and calling a preset method to write the baffle data in the second list into a target baffle table of a preset database in batches. According to the method, the working efficiency is improved, and the test case data and the baffle data are uniformly managed and called.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of software testing, and in particular to a method, device, equipment, medium and product for batch writing of data. Background Art

[0002] With the continuous improvement of information technology, the development of software and systems has become increasingly sophisticated, resulting in a significant increase in the number of test cases, and the demand for baffle data has also increased accordingly.

[0003] At present, in order to facilitate unified management and calling of test case data, the test case data is manually added to the database. During the project development process, it is necessary to call the third-party interface in real time to obtain the baffle data.

[0004] However, manually adding test case data to the database is inefficient and error-prone. When calling a third-party interface in real time, the calling process may time out or fail to respond, or the system may be abnormal, resulting in the inability to obtain baffle data. Summary of the invention

[0005] The present application provides a method, device, equipment, medium and product for batch writing of data, which are used to solve the technical problems of low efficiency of the method of manually adding test case data and inability to obtain baffle data in a timely manner.

[0006] In a first aspect, the present application provides a method for batch writing of data, the method comprising:

[0007] Acquire first test case data, where the first test case data is stored according to the header data type of the target Excel file;

[0008] Performing type conversion on the first test case data to obtain second test case data, and storing the second test case data in a first list;

[0009] Calling a preset method to write the second test case data in batches into a target case table of a preset database;

[0010] In response to determining that the second test case data has been written into the target test case table, initiating a call request to a preset interface using the target test case data in the second test case data stored in the first list to obtain data returned by the preset interface;

[0011] Performing type conversion on the returned data to obtain baffle data, and storing the baffle data in a second list;

[0012] The preset method is called to write the baffle data in the second list in batches into the target baffle table of the preset database.

[0013] In a possible design, obtaining the first test case data includes:

[0014] Obtain the target Excel file, wherein the target Excel file contains at least one row of test case data;

[0015] The first type of reading object is used to loop through each row of test case data in the target Excel file to obtain the first test case data.

[0016] In a possible design, performing type conversion on the first test case data to obtain second test case data, and storing the second test case data in the first list includes:

[0017] Using the data type conversion tool of the first category to perform type conversion on the first test case data to obtain second test case data;

[0018] The second test case data is stored in the first list according to the header data type of the target Excel file.

[0019] In a possible design, after storing the second test case data in the first list, the method further includes:

[0020] Creating a query object for the target use case table;

[0021] Searching the target test case table according to the second test case data stored in the first list;

[0022] Determine whether the second test case data stored in the first list is repeated with the data in the target test case table;

[0023] If there is duplicate data, the duplicate data will be deleted from the first list.

[0024] In a possible design, after deleting the duplicate data from the first list, the method further includes:

[0025] Determine whether the second test case data exists in the first list;

[0026] If it does not exist, the program will end.

[0027] In a possible design, calling a preset method to write the second test case data in batches into a target case table of a preset database includes:

[0028] Creating a first list object to send the second test case data to a preset method object;

[0029] Using the preset method object to assign the second test case data to a preset write statement;

[0030] Execute a preset write statement to write the second test case data in batches into a target use case table of a preset database.

[0031] In a possible design, the step of using the target test case data in the second test case data stored in the first list to initiate a call request to a preset interface includes:

[0032] Using a loop logic tool to read each row of test case data in the first list;

[0033] Determine whether the test case data of the current cycle is the target test case data;

[0034] If so, the request address, request header and request parameters of the test case data of the current cycle are set in the request sending tool to initiate a call request to the preset interface.

[0035] In a possible design, converting the returned data into a type to obtain baffle data, and storing the baffle data in a second list includes:

[0036] Determine whether the status code in the returned data meets a preset value;

[0037] If satisfied, the returned data is converted into a type to obtain baffle data, and the baffle data is stored in the second list.

[0038] In a possible design, before calling the preset method to write the baffle data in the second list in batches into the target baffle table of the preset database, the method further includes:

[0039] Determine whether the baffle data exists in the second list;

[0040] If it does not exist, the program will end.

[0041] In a possible design, the second list also includes:

[0042] The interface name, request address, request parameters corresponding to each target test case data, and the time and creator of obtaining the baffle data after type conversion of the returned data.

[0043] In a second aspect, the present application provides a device for batch writing of data, the device comprising:

[0044] An acquisition module, used for acquiring first test case data, wherein the first test case data is stored according to the header data type of the target Excel file;

[0045] A conversion module, used for performing type conversion on the first test case data to obtain second test case data;

[0046] A storage module, used for storing the second test case data in the first list;

[0047] A calling module, used for calling a preset method to write the second test case data in batches into a target case table of a preset database;

[0048] an initiating module, configured to, in response to determining that the second test case data has been written into the target test case table, initiate a call request to a preset interface using the target test case data in the second test case data stored in the first list to obtain data returned by the preset interface;

[0049] The conversion module is further used to obtain baffle data after performing type conversion on the returned data;

[0050] The storage module is further used to store the baffle data in a second list;

[0051] The calling module is further used to call the preset method to write the baffle data in the second list into the target baffle table of the preset database in batches.

[0052] In a third aspect, the present application provides a data batch writing device, comprising: a processor, and a memory communicatively connected to the processor;

[0053] The memory stores computer-executable instructions;

[0054] The processor executes the computer-executable instructions stored in the memory to implement the method according to the first aspect.

[0055] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in the first aspect.

[0056] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the method described in the first aspect when executed by a processor.

[0057] The data batch writing method, device, equipment, medium and product provided by the present application obtain first test case data, which is stored according to the header data type of the target Excel file; the first test case data is type-converted to obtain second test case data, and the second test case data is stored in a first list; a preset method is called to batch write the second test case data into a target case table of a preset database; in response to determining that the second test case data has been written into the target case table, a call request is initiated to a preset interface using the target test case data in the second test case data stored in the first list to obtain data returned by the preset interface; baffle data is obtained after type-converting the returned data, and the baffle data is stored in a second list; a preset method is called to batch write the baffle data in the second list into the target baffle table of the preset database. The first test case data is stored according to the header data type of the target excel file, so the first test case data contains the key data of the test case, the first test case data is obtained and the data type is converted, so that the obtained second test case data meets the requirements of the target case table in the preset database, and is convenient for storage in the target case table, and the preset method is called to write the second test case data in batches into the target case table of the preset database, without manual addition, thereby improving work efficiency while avoiding the problem of easy error in manual addition, and the test case data is placed in the preset database for unified management and calling; after the second test case data is written into the target case table, the target test case data in the second test case data stored in the first list is used to initiate a call request to the preset interface, so that the data returned by the preset interface can be obtained in advance, and the returned data is type-converted so that the baffle data meets the requirements of the target baffle table in the preset database, and the preset method is called to write the baffle data in the second list in batches into the target baffle table of the preset database, so that when the baffle data is needed, it can be directly called from the preset database, without real-time calling of the third-party interface and other return data, which not only saves the time of calling the interface, but also avoids timeout and no response or system abnormality during the calling process, resulting in the inability to obtain the baffle data. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0059] Figure 1 An application scenario diagram of the table retrieval method in the document provided in this application;

[0060] Figure 2 A flowchart of a table search method in a document provided in an embodiment of the present application;

[0061] Figure 3 A flowchart of a table retrieval method in a document provided in another embodiment of the present application;

[0062] Figure 4 A schematic diagram of the structure of a table search device in a document provided in an embodiment of the present application;

[0063] Figure 5 A schematic diagram of the structure of a device for searching a table in a document provided in an embodiment of the present application.

[0064] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0065] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0066] In order to clearly understand the technical solution of the present application, the solution of the prior art is first introduced in detail.

[0067] When conducting software testing, a large number of test cases need to be written to test the software's functions, performance, security, etc., and potential defects in the software can be reduced through testing. Therefore, each project contains a large amount of test case data. In order to facilitate unified management and calling of test case data, the staff manually adds the test case data to the database to ensure that the test case data is properly stored and managed; in software testing, baffle data is also an indispensable part. During the development process, it is often necessary to call third-party interfaces or external services to obtain data. However, adding test case data to the database manually is not only inefficient but also prone to errors; calling the third-party interface in real time will result in timeouts or system abnormalities during the calling process, resulting in the inability to obtain baffle data.

[0068] Therefore, when facing the technical problems in the prior art, in order to improve work efficiency and ensure the accuracy of the test case data written into the database, a programmed method is used to write the test case data in batches into the preset database. Then, the first test case data must be obtained first. The first test case data is stored according to the header data type of the target excel file, which contains the key data of the test case. In order to successfully store the data in the target use case table of the preset database, the first test case data needs to be type-converted to obtain the second test case data, and the second test case data is stored in the first list, and then the preset method is called to write the second test case data in batches into the target use case table of the preset database to complete the automatic addition of test case data. In order to avoid real-time calling In the event of a timeout or system abnormality in the third-party interface, after the second test case data is written into the target test case table, the target test case data in the second test case data stored in the first list is used to initiate a call request to the preset interface to obtain the data returned by the preset interface. In this way, the data returned by the preset interface can be obtained in advance. In order to ensure that the data is smoothly stored in the target baffle table of the preset database, the returned data is type-converted to obtain the baffle data, and the baffle data is stored in the second list. The preset method is then called to write the baffle data in the second list in batches into the target baffle table of the preset database. When the baffle data is needed, it can be called directly from the preset database without the need to call the third-party interface in real time to return the data, saving the time of calling the interface.

[0069] Figure 1 This is an application scenario diagram that can implement the batch writing method of data provided by this application, such as Figure 1 As shown, the scenario diagram corresponding to the method for batch writing of data provided in the present application includes: a terminal device 101, a server 102, a preset database 103, and a preset interface 104. Among them, the batch writing device of data can be integrated in the server 102, wherein the server is a form of the batch writing device of data, and the batch writing device of data can also be in other forms, which is not limited in this embodiment.

[0070] Specifically, the user inputs the target Excel file in the terminal device 101, and the server 102 obtains the first test case data from the target Excel file after receiving it. The first test case data is stored according to the header data type of the target Excel file, and then the first test case data is converted to obtain the second test case data, and the second test case data is stored in the first list. The server 102 calls the preset method to write the second test case data in batches into the target case table of the preset database 103; after all the second test case data are written into the target case table, the server 102 uses the target test case data in the second test case data stored in the first list to initiate a call request to the preset interface 104, and the preset interface 104 returns data to the server 102. The server 102 converts the returned data to obtain the baffle data, and stores the baffle data in the second list. Finally, the preset method is called to write the baffle data in the second list into the target baffle table of the preset database 103 in batches. At this time, the preset database 103 stores the target case table containing the test case data and the target baffle table containing the baffle data, and the user can call it from the preset database 103 when necessary.

[0071] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0072] Figure 2 A flowchart of a method for batch writing data provided by an embodiment of the present application is shown in FIG. Figure 2 As shown, the execution subject of this embodiment is a batch writing device for data, which can be implemented by a computer program, or by a medium storing relevant computer programs, such as a USB flash drive and / or an optical disk, or can also be implemented by a physical device integrated or installed with relevant computer programs, such as a chip or a batch writing device for data. The batch writing device for data can be a server, a server cluster, etc. The batch writing method for data provided in this embodiment includes the following steps:

[0073] Step 201, obtaining first test case data, where the first test case data is stored according to the header data type of the target Excel file.

[0074] Among them, the first test case data is the data stored in the target Excel file according to the header data type of the target Excel file, and the data can be manually filled into the target Excel file according to the header data type of the target Excel file in advance according to the interface document.

[0075] Among them, the target Excel file is an Excel file used to store the first test case data. The file contains multiple header types. The test case data is stored in the target Excel file according to the header type. The header includes: interface name, test case name, request address, request header, request parameters, expected return, and assertion checkpoint.

[0076] It is understandable that when writing the program code, it is stipulated that only the first worksheet of the target Excel file is read, so the target Excel file can only have one worksheet; each row in the worksheet corresponds to a test case, that is, the relevant data of a test case are written in the same row; all cells used are formatted as text; in view of the program code reading efficiency and the machine's memory, performance and other issues, the file size of a target Excel file should not be greater than 100MB. If there is a lot of data, it should be split into multiple target Excel files for storage, and each target Excel file needs to contain a header.

[0077] Specifically, the user inputs the target Excel file into the batch writing device, and after receiving the target Excel file, the preset class reading object is initialized, starting from the second row of the target Excel file, reading from the first cell to the last cell, and looping to read the test case data in the file until the target Excel file is read, that is, the preset class reading object does not obtain the test case data during the loop reading, and thus obtains the first test case data.

[0078] The preset class reading object may be an object corresponding to a custom class, such as defining a class in a Java code as a preset class for obtaining the first test case data.

[0079] Step 202: Perform type conversion on the first test case data to obtain second test case data, and store the second test case data in the first list.

[0080] The second test case data is data that has undergone data type conversion and meets the data type requirements of the target test case table.

[0081] Among them, the first list is used to temporarily store the second test case data, and its header data type is consistent with the header data type of the target Excel file. The first list is established after receiving the target Excel file, that is, each time the target Excel file is received, a first list will be established to store the second test case data until the entire program ends, and the memory in the first list will be released and deleted to reduce the system memory load.

[0082] Specifically, after the preset class reading object obtains the first test case data, the preset type conversion tool is called to convert the first test case data to obtain the second test case data, and then the second test case data is stored in the first list according to the header data type in the first list.

[0083] Step 203: Call a preset method to write the second test case data in batches into a target test case table in a preset database.

[0084] Among them, the preset method is a method pre-configured in a batch writing device for data, and is used to write the second test case data in batches into the target use case table of the preset database. It can be implemented by writing program code, such as creating a preset method in the persistence layer framework mybatis, and setting the method parameter to the first list of List<preset class>. By setting the method parameter, the preset method can write the second test case data contained therein in batches into the target use case table of the preset database based on the first list.

[0085] The preset database refers to a pre-configured database for storing test case data and baffle data. It is understandable that other data may also be stored in the preset database.

[0086] Among them, the target use case table is a table pre-set in the preset database and is used to store the second test case data. Its fields include: ID of large integer (bigint) type, interface name of string type, test case name, request address, request header, request parameters, expected return and assertion checkpoint.

[0087] It is understandable that the ID will be automatically generated when the second test case data is written in batches into the target test case table of the preset database.

[0088] Specifically, a preset method object is created, and the preset method object is used to loop through each row of test case data in the first list in units of rows, thereby obtaining the second test case data, and the numerical concatenation of the second test case data is inserted into the preset method, and the preset method is executed to write the second test case data in batches into the target case table of the preset database.

[0089] Step 204, in response to determining that the second test case data has been written into the target test case table, a call request is initiated to a preset interface using the target test case data in the second test case data stored in the first list to obtain data returned by the preset interface.

[0090] Among them, the target test case data is the test case data that can normally return the interface data, that is, using the target test case data to initiate a call request to the preset interface can receive the data returned by the preset interface. It can be understood that there can be multiple target test case data.

[0091] The preset interface is used to receive call requests and return data, and the preset interface can be a third-party interface.

[0092] Specifically, after all the second test case data are written into the target test case table, the target test case data is found in the first list. For example, when creating a target Excel file, a label can be added to the test case name, and the second test case data containing the label in the test case name is queried in the first list, and it is determined as the target test case data. Each target test case data is set to the client tool in turn, a call request is initiated, and the preset interface is called to obtain the data returned by the preset interface.

[0093] Step 205 , converting the returned data into a type to obtain baffle data, and storing the baffle data in a second list.

[0094] The baffle data is converted into a database type and meets the data type requirements of the target baffle table.

[0095] Among them, the second list is a list used to temporarily store baffle data, and its header data types include: interface name, request address, request parameters, interface return, creation time, and creator; the second list is established after all the second test case data is written into the target case table, that is, after new data is written to the target case table, a second list will be established to store baffle data until the entire program runs to the end, and the memory in the second list will be released and the second list will be deleted to reduce the system memory load.

[0096] Specifically, after obtaining the data returned by the preset interface, the preset type conversion tool is called to convert the returned data to obtain the baffle data, and then the interface name, request address, request parameters of the target test case data that currently initiates the call request, the baffle data, and the time and creator of obtaining the baffle data are stored in the second list according to the header data type in the second list.

[0097] The baffle data is stored in the interface return column of the second list.

[0098] Step 206 , calling a preset method to write the baffle data in the second list in batches into the target baffle table of the preset database.

[0099] Among them, the target baffle table is a table pre-set in the preset database and is used to store baffle data. Its fields include: ID of large integer type, interface name of string type, request address, request parameters, interface return, creation time and creator.

[0100] Specifically, a preset method object is created, and each row of data in the second list is read in a loop from the second list in units of rows using the preset method object, and the numerical values ​​of the data in the second list are inserted into the preset method, and the preset method is executed to write the baffle data in batches into the target baffle table of the preset database.

[0101] The batch writing method of data provided in the present embodiment obtains first test case data, which is stored according to the header data type of the target Excel file; performs type conversion on the first test case data to obtain second test case data, and stores the second test case data in a first list; calls a preset method to write the second test case data in batches into a target case table of a preset database; in response to determining that the second test case data has been written into the target case table, uses the target test case data in the second test case data stored in the first list to initiate a call request to a preset interface to obtain data returned by the preset interface; performs type conversion on the returned data to obtain baffle data, and stores the baffle data in a second list; calls a preset method to write the baffle data in the second list in batches into the target baffle table of the preset database. The first test case data is stored according to the header data type of the target excel file, so the first test case data contains the key data of the test case, the first test case data is obtained and the data type is converted, so that the obtained second test case data meets the requirements of the target case table in the preset database, and is convenient for storage in the target case table, and the preset method is called to write the second test case data in batches into the target case table of the preset database, without manual addition, which improves work efficiency and avoids the problem of easy error in manual addition, and the test case data is placed in the preset database for unified management and calling; after the second test case data is written into the target case table, the target test case data in the second test case data stored in the first list is used to initiate a call request to the preset interface, so that the data returned by the preset interface can be obtained in advance, and the returned data is converted into a type, so that the baffle data meets the requirements of the target baffle table in the preset database, and the preset method is called to write the baffle data in the second list into the target baffle table of the preset database in batches, so that when the baffle data is needed, it can be directly called from the preset database, without real-time calling of the third-party interface and other return data, which not only saves the time of calling the interface, but also avoids timeout and no response or system abnormality during the calling process, resulting in the inability to obtain the baffle data.

[0102] As an optional implementation manner, based on the above embodiment, obtaining first test case data includes:

[0103] Get the target Excel file, which contains at least one row of test case data;

[0104] The first type of reading object is used to loop through each row of test case data in the target Excel file to obtain the first test case data.

[0105] Among them, the first category is a class customized in the Java code. This class can generate an interface for establishing a connection between the target Excel file and the preset database, that is, create an object according to the definition of the first category to read the test case data in the target Excel file and transfer it to the preset database; the fields defined in the first category include: interface name of string type, test case name, request address, request header, request parameters, expected return, and assertion checkpoint.

[0106] Specifically, after receiving the target Excel file input by the user, the file input class in the Java code is called, a file input class object is created to obtain the target Excel file, the file input class object is passed to the workbook object, and the target Excel file is opened using the workbook object to obtain at least one row of test case data therein, and then a first type of reading object is created, and the first type of reading object is used to loop through each row of test case data in the target Excel file in units of rows, until no data is obtained during the loop reading, which means that the target Excel file has been read, and at this time the first type of reading object has obtained the first test case data.

[0107] The batch writing method of data provided in this embodiment obtains the first test case data, including: obtaining a target Excel file, the target Excel file contains at least one line of test case data; using a first type of reading object to loop read each line of test case data in the target Excel file to obtain the first test case data. The target Excel file contains key data of the test case, and the test case data can be obtained by obtaining the target Excel file. Since the target Excel file cannot directly establish a connection with the preset database, the first type is customized in the Java code. During the program running process, the target Excel file is read through the first type of reading object to obtain the first test case data, thereby realizing automatic processing of test case data and reducing errors in manual processing.

[0108] As an optional implementation, based on the above embodiment, the first test case data is type-converted to obtain second test case data, and the second test case data is stored in the first list, including:

[0109] Using the first type of data type conversion tool to perform type conversion on the first test case data to obtain second test case data;

[0110] The second test case data is stored in the first list according to the header data type of the target Excel file.

[0111] Specifically, after the reading object of the first category obtains the first test case data, it calls the data type conversion tool pre-stored in the first category to convert the first test case data to obtain the second test case data, and then fills the second test case data into the first list in sequence according to the type of header data in the first list, so that the second test case data is stored in the first list.

[0112] It can be understood that after receiving the target Excel file input by the user, a first list will be established according to the definition of the first category, wherein the type of header data in the first list is consistent with that of the target Excel file.

[0113] The data type conversion tool may be a Json tool or other data type conversion tools, which is not limited in this embodiment.

[0114] The batch writing method of data provided in this embodiment converts the type of the first test case data to obtain the second test case data, and stores the second test case data in the first list, including: using the first type of data type conversion tool to convert the first test case data to obtain the second test case data; storing the second test case data in the first list according to the header data type of the target Excel file. Since the data type in the target Excel file is different from the data type in the first list, it is necessary to convert the data type of the first test case data to obtain data that meets the data type requirements of the first list so that it can be smoothly stored in the first list. The second test case data is stored in the first list according to the header data type of the target Excel file, which can ensure the consistency of the data in the first list with the data in the target Excel file to prevent omissions.

[0115] As an optional implementation, based on the above embodiment, after storing the second test case data in the first list, the method further includes:

[0116] Create a query object for the target use case table;

[0117] Searching in the target test case table according to the second test case data stored in the first list;

[0118] Determine whether the second test case data stored in the first list is duplicated with the data in the target test case table;

[0119] If there is duplicate data, the duplicate data will be deleted from the first list.

[0120] Specifically, a section of code for implementing deduplication logic can be written in the code. After the second test case data is stored in the first list, the loop logic tool can be used to loop through the content in the first list. For each loop row, a query object for the target use case table is created, and the request address, request header, and request parameters in the current loop row data are set to the custom data structure of the query object. The query object then queries the target use case table based on the above information. If the number of query results output is greater than 0, it means that the current loop row data is duplicated with the data in the target use case table, and the duplicated data is deleted from the first list. This process is repeated until the loop logic tool fails to obtain data during the loop, and the loop ends, that is, deduplication ends. At this time, the second test case data in the first list and the data in the target use case table are completely non-duplicates.

[0121] Optionally, when outputting the number of query results, a prompt content indicating data duplication may also be output, such as a Json string of the first category, which may be generated using the toJson method of the Gson tool, where the Gson tool is a tool for serializing Java objects into Json strings.

[0122] The batch writing method of data provided in this embodiment, after storing the second test case data in the first list, also includes: creating a query object of the target use case table; querying the target use case table according to the second test case data stored in the first list; determining whether the second test case data stored in the first list is repeated with the data in the target use case table; if there is repeated data, deleting the repeated data from the first list. Creating a query object and querying the target use case table according to the second test case data can realize automatic deduplication logic, and querying according to the second test case data can accurately determine whether there is repeated data, quickly obtain query results, and delete the repeated data when there is repeated data, so as to avoid writing repeated data into the target use case table and increasing the memory burden of the database, and also make the data in the target use case table more accurate and effective.

[0123] As an optional implementation manner, based on the above embodiment, after deleting the duplicate data from the first list, the method further includes:

[0124] Determine whether the second test case data exists in the first list;

[0125] If it does not exist, the program will end.

[0126] Specifically, after deduplication is completed, it is possible that all the data in the first list is deleted, that is, there is no second test case data in the first list. Therefore, it is necessary to use a loop logic tool to loop the first list again, starting from the second row. If no data is obtained during the loop, it means that there is no second test case data in the first list, and no second test case data can be stored in the target use case table of the preset database. Then the program run is terminated, that is, the program run of the batch writing device for this data does not write new data.

[0127] The batch writing method of data provided in this embodiment, after deleting the duplicate data from the first list, further includes: determining whether the second test case data exists in the first list; if not, terminating the current program operation. Since all the data in the first list may be deleted, it is necessary to determine whether the second test case data exists in the first list. If not, terminating the current program operation in time can save working time, save system energy consumption, and ensure system stability.

[0128] As an optional implementation, based on the above embodiment, calling a preset method to write the second test case data in batches into a target case table of a preset database includes:

[0129] Creating a first list object to send the second test case data to the preset method object;

[0130] Assigning the second test case data to the preset write statement using a preset method object;

[0131] Execute a preset write statement to write the second test case data in batches into a target use case table of a preset database.

[0132] Among them, the preset write statement is pre-written in the preset method, and is used to write data in batches into the preset database. The written statement does not contain specific values. By assigning data to the statement, the batch insertion function can be realized by executing the statement.

[0133] Specifically, a first list object is created according to the definition of the first class, and the second test case data is taken out from the first list using the first list object and sent to the preset method object. The preset method object calls the preset method, assigns the second test case data to the preset write statement, completes the statement splicing, and then starts to execute the preset write statement to write the second test case data in batches into the target use case table of the preset database.

[0134] The batch writing method of data provided in this embodiment calls a preset method to write the second test case data in batches into the target use case table of the preset database, including: creating a first list object to send the second test case data to the preset method object; using the preset method object to assign the second test case data to the preset write statement; executing the preset write statement to write the second test case data in batches into the target use case table of the preset database. The first list object is created to send the second test case data to the preset method object to implement the first step of transferring the second test case data to the preset database. The write statement is pre-configured, and after the second test case data is obtained, the data can be directly assigned to the statement. The statement is executed to write the second test case data in batches into the target use case table of the preset database, ensuring that the data is written into the preset database in a unified format and rules, ensuring the consistency and accuracy of the data, and improving the efficiency of data writing.

[0135] As an optional implementation, based on the above embodiment, using the target test case data in the second test case data stored in the first list to initiate a call request to the preset interface includes:

[0136] Using a loop logic tool to read each row of test case data in the first list;

[0137] Determine whether the test case data of the current cycle is the target test case data;

[0138] If so, the request address, request header, and request parameters of the test case data of the current cycle are set in the request sending tool to initiate a call request to the preset interface.

[0139] Specifically, after all the second test case data are written into the target case table, the loop logic tool is used to loop through the first list, and each row of test case data in the first list is read in a loop. When looping each row of data, it is determined whether the test case name of the row data of the current loop contains the text "normal return interface data". If it does, the test case data of the current loop is determined to be the target test case data, and the request address, request header and request parameters of the test case data of the current loop are set to the request sending tool. The request sending tool is used to build a real request, and a call request is initiated to the preset interface, and so on until the loop logic tool fails to obtain data during the loop, then the call is stopped.

[0140] The request sending tool may be a REST client template RestTemplate, which is a template tool for synchronizing client requests, supporting sending requests and processing responses; or other tools that can initiate call requests, which are not limited in this embodiment.

[0141] The batch writing method of data provided in the present embodiment uses the target test case data in the second test case data stored in the first list to initiate a call request to the preset interface, including: using a loop logic tool to read each row of test case data in the first list; determining whether the test case data of the current cycle is the target test case data; if so, setting the request address, request header, and request parameters of the test case data of the current cycle into the request sending tool to initiate a call request to the preset interface. By using the loop logic tool to read the first list, it is possible to automatically traverse each row of test case data in the first list and quickly determine the target test case data therefrom. By setting the request address, request header, and request parameters of the target test case data into the request sending tool, a call request is initiated to the preset interface, and the return data can be received smoothly, thereby improving the efficiency of data writing.

[0142] As an optional implementation, based on the above embodiment, the returned data is converted into a type to obtain baffle data, and the baffle data is stored in a second list, including:

[0143] Determine whether the status code in the returned data meets the preset value;

[0144] If satisfied, the returned data is converted into the baffle data, and the baffle data is stored in the second list.

[0145] The preset value is a value pre-configured in the data batch writing device and is used to determine whether the returned data is valid. The preset value may be 200 or other values, which is not limited in this embodiment.

[0146] Specifically, a second type of object is created to receive the returned data, a status code is retrieved from it, and the status code is compared with a preset value. If the status code is the same as the preset value, the returned data is considered to be valid data. The returned data is then converted using the second type of data type conversion tool to obtain baffle data, and then the baffle data is stored in the second list.

[0147] Among them, the second category is a class customized in the Java code, which can use the target test case data in the first list to call the preset interface to return data and establish a connection with the preset database; the fields defined in the second category include: interface name of string type, request address, request parameters, interface return, creator, and creation time of date type.

[0148] It is understandable that after all the second test case data is written into the target test case table, a second list will be created according to the definition of the second category.

[0149] The batch writing method of data provided in this embodiment converts the returned data into baffle data, and stores the baffle data in the second list, including: determining whether the status code in the returned data meets the preset value; if so, converting the returned data into baffle data, and storing the baffle data in the second list. Determining whether the status code in the returned data meets the preset value, converting the returned data that meets the condition into baffle data, ensures that the baffle data are all valid data, and can meet the data type requirements of the second list after type conversion.

[0150] As an optional implementation manner, based on the above embodiment, before calling the preset method to batch write the baffle data in the second list into the target baffle table of the preset database, the method further includes:

[0151] Determine whether there is baffle data in the second list;

[0152] If it does not exist, the program will end.

[0153] Specifically, when performing type conversion on the returned data to obtain baffle data, it may happen that the status codes in the returned data do not meet the preset values, that is, the returned data are not valid data, then no data can be type converted into baffle data, and there is no baffle data in the second category table, so it is necessary to use the loop logic tool to loop the second list, starting from the second row. If no data is obtained during the loop, it means that there is no baffle data in the second list, and no baffle data can be stored in the target baffle table of the preset database, then the program is terminated.

[0154] The batch writing method of data provided in this embodiment, before calling the preset method to batch write the baffle data in the second list into the target baffle table of the preset database, also includes: judging whether the baffle data exists in the second list; if not, terminating the current program operation. Since there may be a situation where the returned data is not valid data, it is necessary to judge whether the baffle data exists in the second list. If not, terminating the current program operation in time can save working time, save system energy consumption, and ensure the stability of the system.

[0155] As an optional implementation manner, based on the above embodiment, the second list further includes:

[0156] The interface name, request address, request parameters corresponding to each target test case data, and the time and creator of the baffle data obtained after type conversion of the returned data.

[0157] Specifically, when the target test case data is used to initiate a call request to the preset interface, if the returned data status code meets the preset value, it is considered to be a valid return data, and it is type-converted and stored as baffle data in the second list. At the same time, the interface name, request address, and request parameters of the target test case data of the current cycle can also be stored in the second list, and the time when the baffle data was obtained and the creator are stored in the second list.

[0158] The creator is the user who initiated the program run.

[0159] The method for batch writing of data provided in this embodiment also includes in the second list: the interface name, request address, request parameters corresponding to each target test case data, and the time and creator of the baffle data obtained after the returned data is converted into a type. The interface name, request address, request parameters corresponding to the target test case data, and the time and creator of the baffle data obtained after the returned data is converted into a type are stored together in the second example table, so that the required baffle data can be quickly queried based on the above information when needed later, and the management and classification of the baffle data in the preset database are facilitated.

[0160] Figure 3 A flowchart of a method for batch writing data is provided for another embodiment of the present application, such as Figure 3 As shown, the batch writing method of data provided in this embodiment includes a specific implementation scheme of batch writing the second test case data and the baffle data into the preset database, and the batch writing method of data provided in this embodiment includes the following steps:

[0161] Step 301, obtaining a target Excel file, wherein the target Excel file contains at least one row of test case data.

[0162] Step 302: Use the first type of reading object to loop through each row of test case data in the target Excel file to obtain the first test case data.

[0163] Step 303: Use a first type of data type conversion tool to perform type conversion on the first test case data to obtain second test case data.

[0164] Step 304: store the second test case data into the first list according to the header data type of the target Excel file.

[0165] Step 305: Create a query object for the target use case table.

[0166] Step 306: query the target test case table according to the second test case data stored in the first list.

[0167] Step 307, determining whether the second test case data stored in the first list is duplicated with the data in the target test case table.

[0168] Step 308: If there is duplicate data, delete the duplicate data from the first list.

[0169] Step 309, determine whether there is second test case data in the first list.

[0170] Step 310: If it does not exist, then end the current program execution.

[0171] Step 311, if it exists, create a first list object to send the second test case data to the preset method object.

[0172] Step 312: Use a preset method object to assign the second test case data to a preset write statement.

[0173] Step 313: execute a preset write statement to write the second test case data in batches into a target test case table in a preset database.

[0174] Step 314, read the first list using a loop logic tool.

[0175] Step 315, determining whether the test case data of the current cycle is the target test case data.

[0176] Step 316: If yes, then the request address, request header and request parameters of the test case data of the current cycle are set in the request sending tool to initiate a call request to the preset interface to obtain the data returned by the preset interface.

[0177] Step 317, if not, repeat step 314.

[0178] Step 318, determining whether the status code in the returned data satisfies a preset value.

[0179] Step 319: If satisfied, the returned data is converted into a type to obtain baffle data, and the baffle data is stored in the second list.

[0180] Step 320, determining whether there is baffle data in the second list.

[0181] Step 321, if it does not exist, then end the current program execution.

[0182] Step 322: If it exists, call the preset method to write the baffle data in the second list into the target baffle table of the preset database in batches.

[0183] In this embodiment, the implementation method and technical effects of steps 301 to 322 are similar to the implementation method of the corresponding solutions in the above embodiments, and will not be repeated here.

[0184] Figure 4 A schematic diagram of a structure of a device for batch writing data provided by an embodiment of the present application is shown in FIG. Figure 4 As shown, the data batch writing device provided in this embodiment is located in the data batch writing device. Then the data batch writing device 40 provided in this embodiment includes: an acquisition module 41, a conversion module 42, a storage module 43, a calling module 44 and an initiating module 45.

[0185] Among them, the acquisition module 41 is used to obtain the first test case data, and the first test case data is stored according to the header data type of the target Excel file; the conversion module 42 is used to perform type conversion on the first test case data to obtain the second test case data; the storage module 43 is used to store the second test case data in the first list; the calling module 44 is used to call the preset method to write the second test case data in batches into the target case table of the preset database; the initiation module 45 is used to respond to determining that the second test case data has been written into the target case table, and use the target test case data in the second test case data stored in the first list to initiate a call request to the preset interface to obtain the data returned by the preset interface; the conversion module 42 is also used to obtain the baffle data after performing type conversion on the returned data; the storage module 43 is also used to store the baffle data in the second list; the calling module 44 is also used to call the preset method to write the baffle data in the second list in batches into the target baffle table of the preset database.

[0186] Optionally, when acquiring the first test case data, the acquisition module 41 is specifically used to: acquire a target Excel file, the target Excel file containing at least one row of test case data; and use a first type of reading object to loop read each row of test case data in the target Excel file to acquire the first test case data.

[0187] Optionally, the conversion module 42, when performing type conversion on the first test case data to obtain the second test case data, is specifically used to: perform type conversion on the first test case data using a first type of data type conversion tool to obtain the second test case data; the storage module 43, when storing the second test case data in the first list, is specifically used to: store the second test case data in the first list according to the header data type of the target Excel file.

[0188] Optionally, the data batch writing device provided in the present application further includes: a creation module, a query module, a judgment module and a deletion module.

[0189] Correspondingly, a creation module is used to create a query object of the target use case table; a query module is used to query the target use case table according to the second test case data stored in the first list; a judgment module is used to judge whether the second test case data stored in the first list is repeated with the data in the target use case table; and a deletion module is used to delete the repeated data from the first list if there is repeated data.

[0190] Optionally, the judgment module is also used to judge whether the second test case data exists in the first list; if not, the current program execution is terminated.

[0191] Optionally, the calling module 44, when calling the preset method to write the second test case data in batches into the target use case table of the preset database, is specifically used to: create a first list object to send the second test case data to the preset method object; use the preset method object to assign the second test case data to a preset write statement; execute the preset write statement to write the second test case data in batches into the target use case table of the preset database.

[0192] Optionally, the initiating module 45, when using the target test case data in the second test case data stored in the first list to initiate a call request to the preset interface, is specifically used to: use the loop logic tool to read each row of test case data in the first list; determine whether the test case data of the current loop is the target test case data; if so, set the request address, request header and request parameters of the test case data of the current loop to the request sending tool to initiate a call request to the preset interface.

[0193] Optionally, when the conversion module 42 performs type conversion on the returned data to obtain the baffle data, it is specifically used to: determine whether the status code in the returned data meets the preset value; if so, perform type conversion on the returned data to obtain the baffle data; the storage module 43 is used to store the baffle data in the second list.

[0194] Optionally, the judgment module is further used to judge whether there is baffle data in the second list; if not, the current program execution is terminated.

[0195] Optionally, the second list also includes: the interface name, request address, request parameters corresponding to each target test case data, and the time and creator of obtaining the baffle data after type conversion of the returned data.

[0196] Figure 5 A schematic diagram of the structure of a device for batch writing data provided in an embodiment of the present application is shown as follows: Figure 5 As shown, the document table retrieval device 50 provided in this embodiment includes: a processor 51 and a memory 52.

[0197] The memory 52 is used to store computer-executable instructions; the processor 51 is used to execute the computer-executable instructions stored in the memory 52 to implement the batch writing method of data provided by any of the above embodiments. For details, please refer to the relevant description in the above method embodiment, and no further details will be given here.

[0198] The program may include program codes, and the program codes include computer-executable instructions. The memory 52 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0199] In this embodiment, the memory 52 is connected to the processor 51 via a bus. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0200] The embodiment of the present application also provides a computer-readable storage medium, in which a computer-executable instruction is stored, and when the computer-executable instruction is executed by a processor, it is used to implement the batch writing method of data provided in any of the above embodiments. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

[0201] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the method for batch writing data provided by any one of the above embodiments.

[0202] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0203] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0204] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0205] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.

[0206] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. Unless otherwise specified, the processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. Unless otherwise specified, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory (RRAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), an enhanced dynamic random access memory (EDRAM), a high-bandwidth memory (HBM), a hybrid memory cube (HMC), etc.

[0207] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0208] In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For the part that is not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered as the scope recorded in this specification. Those skilled in the art will easily think of other implementation schemes of the present application after considering the specification and practicing the invention disclosed here. This application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary technical means in the technical field that are not disclosed in this application. The description and embodiments are only regarded as exemplary, and the true scope and spirit of the present application are indicated by the following claims.

[0209] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for batch writing of data, characterized in that: The method comprises: Acquire first test case data, where the first test case data is stored according to the header data type of the target Excel file; Performing type conversion on the first test case data to obtain second test case data, and storing the second test case data in the first list; Calling a preset method to write the second test case data in batches into a target case table of a preset database; In response to determining that the second test case data has been written into the target test case table, initiating a call request to a preset interface using the target test case data in the second test case data stored in the first list to obtain data returned by the preset interface; Convert the returned data into a new type to obtain baffle data, and store the baffle data in a second list; The preset method is called to write the baffle data in the second list in batches into the target baffle table of the preset database.

2. The method according to claim 1, characterized in that The obtaining of the first test case data includes: Obtain the target Excel file, wherein the target Excel file contains at least one row of test case data; The first type of reading object is used to loop through each row of test case data in the target Excel file to obtain the first test case data.

3. The method according to claim 1, characterized in that The converting the first test case data into a type to obtain second test case data, and storing the second test case data in the first list includes: Using the data type conversion tool of the first category to perform type conversion on the first test case data to obtain second test case data; The second test case data is stored in the first list according to the header data type of the target Excel file.

4. The method according to claim 1, characterized in that: After storing the second test case data in the first list, the method further includes: Creating a query object for the target use case table; Searching the target test case table according to the second test case data stored in the first list; Determine whether the second test case data stored in the first list is repeated with the data in the target test case table; If there is duplicate data, the duplicate data will be deleted from the first list.

5. The method according to claim 4, characterized in that After deleting the duplicate data from the first list, the method further includes: Determine whether the second test case data exists in the first list; If it does not exist, the program will end.

6. The method according to claim 1, characterized in that The calling of the preset method to write the second test case data in batches into a target case table of a preset database includes: Creating a first list object to send the second test case data to a preset method object; Using the preset method object to assign the second test case data to a preset write statement; Execute a preset write statement to write the second test case data in batches into a target use case table of a preset database.

7. The method according to claim 1, characterized in that The using the target test case data in the second test case data stored in the first list to initiate a call request to a preset interface includes: Using a loop logic tool to read each row of test case data in the first list; Determine whether the test case data of the current cycle is the target test case data; If so, the request address, request header and request parameters of the test case data of the current cycle are set in the request sending tool to initiate a call request to the preset interface.

8. The method according to claim 1, characterized in that The step of converting the returned data into a type to obtain baffle data, and storing the baffle data in a second list includes: Determine whether the status code in the returned data meets a preset value; If satisfied, the returned data is converted into a type to obtain baffle data, and the baffle data is stored in the second list.

9. The method according to claim 1, characterized in that: Before calling the preset method to write the baffle data in the second list in batches into the target baffle table of the preset database, the method further includes: Determine whether the baffle data exists in the second list; If it does not exist, the program will end.

10. The method according to claim 1, characterized in that The second list also includes: The interface name, request address, request parameters corresponding to each target test case data, and the time and creator of obtaining the baffle data after type conversion of the returned data.

11. A device for batch writing of data, characterized in that: The device comprises: An acquisition module, used for acquiring first test case data, wherein the first test case data is stored according to the header data type of the target Excel file; A conversion module, used for performing type conversion on the first test case data to obtain second test case data; A storage module, used for storing the second test case data in the first list; A calling module, used for calling a preset method to write the second test case data in batches into a target case table of a preset database; an initiating module, configured to, in response to determining that the second test case data has been written into the target test case table, initiate a call request to a preset interface using the target test case data in the second test case data stored in the first list to obtain data returned by the preset interface; The conversion module is further used to obtain baffle data after performing type conversion on the returned data; The storage module is further used to store the baffle data in a second list; The calling module is further used to call the preset method to write the baffle data in the second list into the target baffle table of the preset database in batches.

12. A device for writing data in batches, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 10 when executed by a processor.

14. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 10 when being executed by a processor.

Citation Information

Patent Citations

  • Matching algorithm performance test method, device, equipment, system and medium

    CN110825636A

  • Interface test case generation method, device and system

    CN110865941A

  • Micro-service test baffle generation method and system based on test cases

    CN111181805A

  • Test case construction method, test method, equipment and storage medium

    CN111488274A

  • Automatic testing method and device and computer readable medium

    CN114138665A