Test data set generation method and device, equipment and storage medium

A test data set and data generation technology, which is applied in the field of data communication, can solve the problem of manpower consumption in constructing data, achieve automatic generation, improve test efficiency, and save manpower

Active Publication Date: 2019-04-02
RUN TECH CO LTD BEIJING
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor found that the existing technology has the following defects: in the prior art, each test needs to manually write test data, and t

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Test data set generation method and device, equipment and storage medium
  • Test data set generation method and device, equipment and storage medium
  • Test data set generation method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0025] Example one

[0026] figure 1 This is a flowchart of a method for generating a test data set provided in the first embodiment of the present invention. This embodiment is applicable to the case of automatically generating a test data set. The method can be executed by a test data set generating device, which can be implemented by software And / or hardware implementation, and generally can be integrated in a device for generating test data sets in one or more devices, the method specifically includes the following steps:

[0027] S110: Obtain a configuration file set matching the test data set to be generated, and read each configuration file included in the configuration file set.

[0028] The configuration file is the information that needs to be configured for the program when the software is started or run. For different software, especially big data products, different operating environments and different test requirements, different operating parameters need to be set, and...

Example Embodiment

[0041] Example two

[0042] figure 2 This is a flowchart of a method for generating a test data set provided in the second embodiment of the present invention. This embodiment is embodied on the basis of the above-mentioned embodiment. In this embodiment, the data included in the configuration file is read When identifying, the operation of filling in the data identifier at the corresponding data position in the target data table is further refined. Correspondingly, the method of this embodiment specifically includes the following operations:

[0043] S210: Obtain a configuration file set matching the test data set to be generated, and read each configuration file included in the configuration file set.

[0044] S220. Read a piece of configuration information in the configuration file as current operation information according to the configuration information start and stop identifier, where the configuration information includes at least two key-value pairs.

[0045] The configurat...

Example Embodiment

[0060] Example three

[0061] image 3 This is a flowchart of the method for generating a test data set provided in the second embodiment of the present invention. This embodiment is embodied on the basis of the above-mentioned embodiment. In this embodiment, according to the target data in the target data table, Before generating the BCP file from the data in the column, the target data table is provided to the test data adjustment platform, and the target data column of the target data table is adjusted according to the feedback result of the test data adjustment platform. Correspondingly, the method of this embodiment specifically includes the following operations:

[0062] S310. Obtain a configuration file set matching the test data set to be generated, and read each configuration file included in the configuration file set.

[0063] S320: When the data identifier included in the configuration file is read, the data identifier is filled in the corresponding data position in the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a test data set generation method and device, equipment and a storage medium, and the method comprises the steps: obtaining a configuration file set matched with a test data set to be generated, and reading each configuration file included in the configuration file set; Filling the read data identifier in a corresponding data position in a target data table; operating a data generation function to generate test data, and filling the test data into a target data column corresponding to the data identifier in the target data table; and generating a BCP file according to the data in the target data column of the target data table, and generating the test data set according to the BCP file. According to the technical scheme provided by the embodiment of the invention, the data test set is generated according to the data identifier in the configuration file set and the test data generated by the corresponding data generation function. The tedious process of manual writing of test data is solved, the test data set is automatically generated, a large amount of manpower is saved, and the test efficiency is improved.

Description

technical field [0001] The embodiments of the present invention relate to the field of data communication, and in particular to a method, device, device and storage medium for generating a test data set. Background technique [0002] With the rapid development of science and technology, the popularity of Internet technology provides more application scenarios for big data products, and the generation of test data is the key to determine the performance of big data products. [0003] Due to the characteristics of large amount of information and diversification of big data, there are many types of test data protocols, and as far as possible to ensure that the fields of each protocol are different, so as to construct a large number of different types of data input when generating test data to achieve the purpose of testing. Satisfy certain verification rules and verify the accuracy of the generated data to meet the wider and more accurate requirements of the functional requirem...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F16/95
Inventor 万月亮火一莽刘华
Owner RUN TECH CO LTD BEIJING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products