Phone Number Generator

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

The Phone Number generator is used to generate various phone numbers and use them in virtual responses.

To activate the Phone Number generator, select the desired property and set the Property Type to Phone Number.

Parameters

After you have selected the Phone Number generator, ReadyAPI offers you to specify some additional parameters for the generated data:

Number Format

Specifies a format for the generated phone numbers. The available items are: XXX-XXX-XXXX, +1 XXX-XXX-XXXX, +1 (XXX)-XXX-XXXX, +X XXX-XXX-XXXX, +X (XXX)-XXX-XXXX. The default value of the parameter is XXX-XXX-XXXX.

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

Phone Number (%PHONE) Macro
Data Generator

Highlight search results