Creating simple test data using tRowGenerator

This recipe shows how tRowGenerator allows dummy data to be created for test purposes.

Getting ready

  1. Open the jo_cook_ch10_0100_tRowGenerator job.
  2. Open the tRowGenerator component.
    Getting ready

How to do it...

The steps for creating simple test data using tRowGenerator are as follows:

  1. Click on the Functions cell for customerId and select Numeric.sequence.
  2. Click on the Functions cell for firstName and select TalendDataGenerator.getFirstName.
  3. Click on the Functions cell for lastName and select TalendDataGenerator.getLastName.
  4. 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.