DATPROF Runtime provides a wide range of generators for creating synthetic data in file generation templates. Generators can be grouped into the following categories:
-
Random Generators
-
Sequential Generators
-
Seed File Generators
-
Utility Methods
Random Generators
|
Generator |
Example |
|---|---|
|
Object ID |
|
|
Integer |
|
|
Integer (range) |
|
|
Decimal |
|
|
Decimal (range and scale) |
|
|
Boolean |
|
|
Random String |
|
|
Random String (custom length and alphabet) |
|
|
Random Pick |
|
|
Weighted Pick |
|
|
UUID |
|
|
Email Address |
|
|
Email Address (custom) |
|
|
Regular Expression |
|
Date and Time
|
Generator |
Example |
|---|---|
|
Date |
|
|
Date Range |
|
|
Date Format |
|
|
Current Date |
|
|
Time |
|
|
Time Range |
|
|
Time Format |
|
|
Current Time |
|
|
Timestamp |
|
|
Timestamp Range |
|
|
Timestamp Format |
|
|
Timestamp Timezone |
|
|
Current Timestamp |
|
Financial Data
|
Generator |
Example |
|---|---|
|
Credit Card |
|
|
Credit Card Issuer |
|
Sequential Generators
Sequential generators maintain state and typically return unique or incrementing values.
|
Generator |
Example |
|---|---|
|
BSN |
|
|
GBA |
|
|
IBAN |
|
|
IBAN (specific countries) |
|
|
SSN |
|
|
Sequence Number |
|
|
Sequence (custom start and step) |
|
Sequential generators should usually be stored in variables to preserve state during generation.
Seed File Generators
Seed file generators return values from predefined datasets.
Geography
|
Generator |
Example |
|---|---|
|
City |
|
|
City (country filter) |
|
|
Country |
|
|
Country Code (ISO-2) |
|
|
Country Code (ISO-3) |
|
Person Data
|
Generator |
Example |
|---|---|
|
First Name |
|
|
First Name (language filter) |
|
|
Female First Name |
|
|
Male First Name |
|
|
Last Name |
|
|
Last Name (language filter) |
|
Organizations and Products
|
Generator |
Example |
|---|---|
|
Brand |
|
|
Company |
|
|
Job Title |
|
|
Job Title (language filter) |
|
Miscellaneous
|
Generator |
Example |
|---|---|
|
Color |
|
|
Currency Code |
|
|
Currency Symbol |
|
|
Dinosaur |
|
|
Genre |
|
|
Rank |
|
|
Rank (department filter) |
|
|
Street |
|
|
Street (language filter) |
|
|
User Agent |
|
|
Word |
|
|
Word (language filter) |
|
Utility Methods
Utility methods can be used to manipulate and format values within templates.
Comparison and Math
|
Function |
Example |
|---|---|
|
Equals |
|
|
Smallest Value |
|
|
Largest Value |
|
|
Hash Code |
|
String Operations
|
Function |
Example |
|---|---|
|
Common Prefix |
|
|
Common Suffix |
|
|
Repeat Text |
|
|
Truncate Text |
|
|
Pad Start |
|
|
Pad End |
|
Escaping and Formatting
|
Function |
Example |
|---|---|
|
Escape XML Attribute |
|
|
Escape XML Content |
|
|
Escape HTML |
|
|
Double Quote |
|
|
Single Quote |
|
Special Characters
|
Function |
Example |
|---|---|
|
New Line |
|
|
Tab Character |
|