Parameters of the Address generator

After you add the Address generator in a field of a Data definition, you can customize the existing configurations of the field.

When you click the Address generator of a specific field in the Data definition in the Edit branch, the unique parameters of the Address generator that contains the existing configuration details for that field are displayed in the Address dialog.

The following table provides the list of UI elements of the Address dialog with their description, default features, and the actions that you can perform in the dialog to customize the parameters for the selected field:

UI element Description Default feature Action
The Generator field Displays the name of the selected generator, that is, Address. The field is not editable. NA
The Distribution field Determines whether the addresses are randomly generated in the corresponding column of the test data. Contains the Random option. The Random option is selected.
  • Do not perform any action if you want the addresses to follow a random distribution when generated in the test data.

  • Clear the Random option if you want the addresses to follow a fixed distribution and to be non-random.

    When you clear the option, the Percentage fields of all the existing configurations become editable. You can set a fixed distribution for addresses using the Percentage field.

    For example, if you set the percentage distribution of 30% to a configuration that contains addresses with the postal codes and 70% to another configuration that contains the address with no postal codes, then the address column of the generated data displays the values accordingly.

    The percentage for each configuration is automatically rebalanced preserving the allocation in the existing configurations, when you add a configuration subsequently.

The Duplicates field Determines whether duplicate or unique addresses are present in the generated data. Contains the Allowed option. The Allowed option is selected.
  • Do not perform any action if you want the generated addresses to include duplicate entries. This means that some addresses might appear more than once in the generated data.
  • Clear the Allowed option if you want to ensure unique addresses with no duplicates. This will prevent any duplicate addresses from appearing in the generated data.
The Blank percentage field Determines the frequency of blank addresses in the generated data. Displays 0 and is editable. Enter a number from 0 to 100. For example, if you enter 10, approximately 10% of the secondary addresses fields in the generated data will be empty or blank.
The Name field Displays the custom name of the selected configuration. Displays Default and is editable. Enter an identifiable name to the selected configuration, if required.
The Percentage field Determines the proportion of the generated addresses when you do not select the Random option. Editable when Random is not selected.

If you did not select the Random option for distribution, enter a number from 0 to 100 in the Percentage field to set the percentage of addresses to be generated.

For example, if you enter 50, the generated data will display the address column with a 50% occurrence rate.

The First Line option Determines whether the generated addresses include the first line of the address. The First Line option is selected.
  • Do not perform any action if you want the generated addresses to include the first line of the address.
  • Clear the Allowed option if you want to exclude the first line from the generated addresses.
The Second Line option Determines whether the generated addresses include the second line of the address. The Second Line option is selected.
  • Do not perform any action if you want the generated addresses to include the second line of the address.
  • Clear the Allowed option if you want to exclude the second line from the generated addresses.
The City option Determines whether the generated addresses include the city name. The City option is selected.
  • Do not perform any action if you want the generated addresses to include the name of the city.
  • Clear the Allowed option if you want to exclude the name of the city from the generated addresses.
The Zip Code option Determines whether the generated addresses include the postal code. The Zip Code option is selected.
  • Do not perform any action if you want the generated addresses to include the postal code.
  • Clear the Allowed option if you want to exclude the postal code from the generated addresses.
The Country option Determines whether the generated addresses include the country name. The Country option is selected.
  • Do not perform any action if you want the generated addresses to include the name of the country.
  • Clear the Allowed option if you want to exclude the name of the country from the generated addresses.
The Add new configuration tab You can add additional address configurations with specific components and settings, if required.
  • The Name field displays Configuration-1 and is editable.
  • The Percentage field is editable when the Random option is not selected.
  • The selected options from the previous configuration remain selected, and the unselected options remain unselected for the following elements:
    • First Line
    • Second Line
    • City
    • Zip Code
    • Country

Click the tab to create additional address configurations.

For example, you can have one configuration for addresses with the postal code, and another configuration for addresses with no postal code. You can similarly customize the values, distribution, and percentage as required.

Note: You can click the delete icon Delete icon to delete any additional configuration that you do not need.
The Save to catalog option After the customization of the Address generator is complete, you can use the Address generator as the base generator to create a new custom generator. NA

Click the Save to catalog icon to save the new generator with a unique name in the catalog.

You can reuse the same configuration at a later time in different scenarios without having to set it up again. See Creating custom generators and categories from Data definitions.

The preview icon Image of the preview icon for each configuration of generator. The preview icon Image of the preview icon for each configuration of generator. is available for each configuration of a generator. NA Click the preview icon Image of the preview icon for each configuration of generator. to view the sample test data for the selected configuration of a generator.
The close icon Image of the close icon. NA NA Click the icon to exit the Address generator dialog.