Country (%COUNTRY) Macro

Applies to ReadyAPI 3.53, last modified on June 07, 2024

The Country macro is used to insert country names into the strings generated by a data source using the Custom String data generator.

The macro is an analogue of the Country data generator.


The macro has the following syntax:



The macro does not have any parameters.


The following example demonstrates how to use the Country macro:

Country: %COUNTRY

Example: Country macro in Data Generator

Click the image to enlarge it.

Generates a string containing a country name.


For more information on adding macros to custom strings, see About Custom String Generator.

For more information on general rules used for specifying macro parameters, see Custom String Generator Rules.

See Also

Country Generator
Custom String Generator
Macro Reference

Highlight search results