Creating simple test data using tRowGenerator
This recipe shows how tRowGenerator
allows dummy data to be created for test purposes.
Getting ready
- Open the
jo_cook_ch10_0100_tRowGenerator
job. - Open the
tRowGenerator
component.
How to do it...
The steps for creating simple test data using tRowGenerator are as follows:
- Click on the Functions cell for customerId and select Numeric.sequence.
- Click on the Functions cell for firstName and select TalendDataGenerator.getFirstName.
- Click on the Functions cell for lastName and select TalendDataGenerator.getLastName.
- Click on the Functions cell for DOB and select TalendDate.getRandomDate. Your
tRowGenerator
should ...
Get Talend Open Studio Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.