United Kingdom Postcode Generator

Applies to ReadyAPI 3.9, last modified on July 28, 2021

The United Kingdom Postcode generator is used to generate various United Kingdom postcodes and use the data in virtual responses.

To activate the United Kingdom Postcode generator, select the desired property and set the Property Type to United Kingdom Postcode.


After you have selected the United Kingdom Postcode generator, ReadyAPI offers you to specify some additional parameters for the generated data:

Code Format

Specifies the format of the postcodes to be generated. The available values are: All, A9 9AA, A99 9AA, AA9 9AA, A9A 9AA, AA99 9AA, AA9A 9AA. The default value of the parameter is All.

Duplicate Each Value … Time(s)

Specifies how many times each generated value will be duplicated. The default value of the parameter is False.

After you specify the needed parameters, you can obtain the sample values that have been generated by the engine. The values are displayed in the Sample field.

Also, you can discard all the changes you made in the generator’s parameters and restore the parameters set by default. To do that, click Set Default Values below the Sample field.

See Also

United Kingdom Postcode (%UKPC) Macro
Data Generator

Highlight search results