- Click on the New Domain menu within the Project Dashboard.
- Select the Import from JSON option.
- Click on the Choose File button. Browse to the location of the file and select the file.
- Choose Avro for the Output File Format and click the Save button.
This will create all the Domains needed to generate the Nested Avro File including the Merge Domain needed to merge the individual segments.
A Scenario will be automatically created for each Domain in the Project and a Scenario Chain will be created to run all Scenarios in sequence to generate the required data.
Additionally, a Configuration File will be created during the import process, which is required by the Merge Domain.
Note: It may take a few minutes for the Domains, Scenarios, Scenario Chain, and Configuration File to be automatically be created.
Select the Configuration Management tab within the Project Dashboard and then click on the Download (Cloud) icon to download the AvroConfig.xml file to your computer.
The AvroConfig.xml file will need to be placed in a Config folder within your resource output directory.
Click on the Download (Cloud) icon within the Scenario Chains pane to download the Scenario Chain to your local computer.
For more information on how to update GenRocket Jars, click here.
The following command line will need to be ran in a Command Window or Terminal Session.
genrocket -r <ScenarioChainName>.grs
<ScenarioChainName> should be replaced with the actual name of the Scenario. The command for this example would appear as shown below:
genrocket -r Avro1ScenarioChain.grs
Step 6: View Generated Files
This example will generate 1 Nested Avro file titled "AVRO-1.avro". here.
Drag and drop the file into the viewer or click on the Choose Files button to browse to your files and make a selection.
The file will appear as shown below in the viewer: