The AvroFileReceiver writes Domain Attribute values in Avro file format.
Receiver Attribute Property Keys
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:
- Create a User Domain
- Change the User Domain loopCount to 100
- Assign the AvroFileReceiver to the User Domain
- Create a User Scenario
- 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.