City (%CITY) Macro

Applies to ReadyAPI 3.52, last modified on April 25, 2024

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

The macro is an analog of the City data generator.

Syntax

The macro has the following syntax:

%CITY

Parameters

The macro does not have any parameters.

Examples

The following example demonstrates how to use the City macro:

  • City: %CITY

    Example: City macro in Data Generator

    Click the image to enlarge it.

    Generates a string containing a city name for a data source.

Remarks

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

City Generator
Custom String Generator
Macro Reference

Highlight search results