Skip to main content

IMPORTANT - Product End of Life Statement - IMPORTANT

Request RE, Survey, and Calendar 1.5 Support Ending December 31, 2020
Contact Kinetic Data Support with Questions
Kinetic Community

Sample Data Create

This handler generate fake data based for testing.

Downloads

By downloading this file, you acknowledge that you agree to our Terms of Service

sample_data_create_v1.zip

Detailed Description

Use the Sample Data Create handle to generate Users, Companies or other data enteries. This handler leverages the [Faker gem v1.9.1[1]. Visit faker's git repo for a list of the method that are supported.

Notes

Only method that have a "basic" types as parameters are supported. ie String, numbers or booleans. As an example Faker::Date.between(2.days.ago, Date.today) would not be supported because it requires complex parameters.

Only the feature provided as of v1.9.1 of the Faker library are supported.

The "uniqueness" feature provided by the Faker library is not available for use.

Parameters

Name Description
Error Handling Determine what to return if an error is encountered.
Field A Class name and method to generate a random output; ex Name.name. Visit stympy/faker on github (tag v1.9.1) for more examples.

Sample Configuration

Parameter Example Configuration
Error Handling Error Message
Field Name.name

Results

Name Description
Handler Error Message Error message if an error was encountered and Error Handling is set to "Error Message".
output The data that was created.

Change Log

Version Date Description
1 2019-01-11 * Initial version. See README for details.