The AvroFileReceiver writes Domain Attribute values in Avro file format.


The following parameters can be defined for the AvroFileReceiver. Items with an asterisk (*) are required: 

  • path* - Defines the location to store the newly generated Avro output file.
  • subDir - Defines the sub-directory location to store the newly generated Avro output file. 
  • fileName* - Defines the name of the output file.

Receiver Attribute Property Keys

The Receiver defines three property keys that can be modified on any of its associated Domain Attributes:

  • columnName - Defines the column name as it will be output in the Avro file. 
  • include - Determines if the Attribute will be included as a column in the output. 
  • columnType - Defines the type for the column.


A tester wants to generate 100 user records consisting of a First Name, Last Name, Middle Initial, Username and Password. The generated output needs to be a Flat Avro output file. The following steps must be performed to do so: 

  1. Create a User Domain
  2. Change the User Domain loopCount to 100
  3. Assign the AvroFileReceiver to the User Domain
  4. Create a User Scenario
  5. Download and run the Scenario 

Note: For a detailed walk through of these steps, click here.

User Domain Configuration

The User Domain configuration would appear as shown below: 

AvroFileReceiver Parameter Configuration

AvroFileReceiver Attribute Property Keys Configuration

Sample Output File

Click here to view the generated file in your browser. Drag and drop or browse to the Avro file on your computer to view the generated test data.