Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 there are many types of test data protocols, and it is necessary to ensure that the fields in each protocol are different. And meet certain verification rules, constructing data is very labor-intensive

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

Embodiment 1

[0026] figure 1 The flow chart of the method for generating test data sets provided in Embodiment 1 of the present invention, this embodiment is applicable to the situation of automatically generating test data sets, the method can be executed by a device for generating test data sets, and the device can use 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 needed to configure the program when the software is started or running. For different software, especially big data products, different operating environments and different testing requirements, different operating parameters need to be set, and these operating parameters...

Embodiment 2

[0042] figure 2The flow chart of the method for generating the test data set provided by Embodiment 2 of the present invention. This embodiment is embodied on the basis of the above-mentioned embodiments. In this embodiment, the data included in the configuration file will be read into When marking, the operation of filling in the data mark at the corresponding data position in the target data table is further refined. Correspondingly, the method in 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. According to the configuration information start and stop identifier, read a piece of configuration information from the configuration file as current operation information, wherein the configuration information includes at least two key-value pairs.

[0045] The configuration information i...

Embodiment 3

[0061] image 3 It is a flow chart of the method for generating a test data set provided by Embodiment 2 of the present invention. This embodiment is embodied on the basis of the above-mentioned embodiments. In this embodiment, according to the target data in the target data table Before the data in the column is generated into the BCP file, the target data table is provided to the test data adjustment platform, and the target data columns of the target data table are adjusted according to the results fed back by the test data adjustment platform. Correspondingly, the method in 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, fill in the data identifier in a corresponding data position in the target data table.

[00...

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
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More