Skip to content

ankcrimson/bulk-data-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Bulk Testdata Generator

Initial GUI Screen:

Initial Screen

Terms Explained:

Source File:

This is an example source file to be used as a base model for replication. This can be any kind of text readable file.

Target Directory:

This is a directory where our generated files will be stored into

Business Keys:

This is the part where its mentioned which part of data to consider as business keys so that that part may be kept as unique in each and every generated file.

Number of files:

This is the part where we define how many files will be generated.

Extension:

This is additional field which is optional to use, This can be used if we want a specific date format in our generated files as an extension

Sample Execution:

Sample Execution Screen

Our Input File:

Input file

Output Files:

Output Files Generated

Sample Generated Output File:

Generated Output File Here we can see that book id got changed in each and every file. The value of book id will change for each and every generated file starting from 102 onwards…

Explaination of Business Keys field:

bk101::bk{101}

format:

[source search value][::][what to replace with {a numeric value to be incremented in each file}]

Now here is where all the magic happens… The numeric value gets incremented for each and every file that gets generated. Since this just replaces the file contents, it becomes platform and format independent and hence whichever file that could be opened by a text editor, can be replicated with the help of this tool.

What if my file contains multiple business keys to be edited in each file?

Solution is to use multiple business keys separated by double semicolons… eg.

Complex Execution

Sample Output File:

File1:

Sample Generated File

File2:

Sample Generated File

This tool supports huge file size and can support generation of millions of files.

For any queries contact me or any other contributors who might join in.

About

Bulk Data Generator For Perofrmance Testing Projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages