Other
Last updated
Was this helpful?
Last updated
Was this helpful?
Below is a list of available other types of mockers.
Boolean
bool
Either True or False.
Latitude longitude
geo
A tuple of (latitude, longitude) coordinates.
Pybool
bool
A randomly generated Python boolean value.
UUID
uuid
A string representing a UUID (universally unique identifier) in v4 format.
This mocker uses Faker to generate randomized, complex and a text representation of JSON data, simulating real-world scenarios with specified data types across fields.
Data columns
: Specification for the data structure
Number of rows
: Number of rows the returned
cls
(json.JSONEncoder): Optional JSON encoder to use for non-standard objects such as datetimes
Consistent mapping
: JSON supports .
Note: For more information, refer to the .
If you configure:
The results will be:
Generates random text, numeric (integer or decimal) object depending on provided values, sampled from a provided list of input values.
Values
(comma separated values): The list of values to sample from.
...
(File upload): Allows users to import predefined lists of values from .csv
or .txt
files. The uploaded file must be within 2MB and contain a maximum of 5000 characters.
If you configure:
The results will be:
Consistent mapping
: Custom sampler supports .