Postman provides a very rich set of dynamic variable which anyone can use to quickly start with Automation. Some of the very common dynamic variables in postman are listed below:
Common
Variable Name
Description
Examples
$guid
A uuid-v4 style guid
"611c2e81-2ccb-42d8-9ddc-2d0bfa65c1b4"
"3a721b7f-7dc9-4c45-9777-516942b98e0d"
"22eca807-006b-47df-9511-e92e37f5071a"
$timestamp
The current UNIX timestamp in seconds
1562757107, 1562757108, 1562757109
$randomUUID
A random 36-character UUID
"6929bb52-3ab2-448a-9796-d6480ecad36b"
"53151b27-034f-45a0-9f0a-d7b6075b67d0"
"727131a2-2717-44ad-ab02-006587e947dc"
Text, Numbers and Colors
Variable Name
Description
Examples
$randomAlphaNumeric
A random alpha-numeric character
6, "y", "z"
$randomBoolean
A random boolean value (true/false)
true, false, false, true
$randomInt
A random integer between 1 and 1000
802, 494, 200
$randomColor
A random color
"red", "fuchsia", "grey"
$randomHexColor
A random hex value
"#47594a", "#431e48", "#106f21"
$randomAbbreviation
A random abbreviation
SQL, PCI, JSON
Names
Variable Name
Description
Examples
$randomFirstName
A random first name
Ethan, Chandler, Megane
$randomLastName
A random last name
Schaden, Schneider, Willms
$randomFullName
A random first and last name
Connie Runolfsdottir, Sylvan Fay, Jonathon Kunze
$randomNamePrefix
A random name prefix
Dr., Ms., Mr.
$randomNameSuffix
A random name suffix
I, MD, DDS
Profession
Variable Name
Description
Examples
$randomJobArea
A random job area
Mobility, Intranet, Configuration
$randomJobDescriptor
A random job descriptor
Forward, Corporate, Senior
$randomJobTitle
A random job title
International Creative Liaison,
Product Factors Officer,
Future Interactions Executive
$randomJobType
A random job type
Supervisor, Manager, Coordinator
Phone, Address and Location
Variable Name
Description
Examples
$randomPhoneNumber
A random 10-digit phone number
700-008-5275, 494-261-3424, 662-302-7817
$randomPhoneNumberExt
A random phone number with extension (12 digits)
27-199-983-3864, 99-841-448-2775
$randomCity
A random city name
Spinkahaven, Korbinburgh, Lefflerport
$randomStreetName
A random street name
Kuhic Island, General Street, Kendrick Springs
$randomStreetAddress
A random street address
5742 Harvey Streets, 47906 Wilmer Orchard
$randomCountry
A random country
Lao People's Democratic Republic, Kazakhstan, Austria
$randomCountryCode
A random 2-letter country code (ISO 3166-1 alpha-2)
CV, MD, TD
$randomLatitude
A random latitude coordinate
55.2099, 27.3644, -84.7514
$randomLongitude
A random longitude coordinate
40.6609, 171.7139, -159.9757
Business
Variable Name
Description
Examples
$randomCompanyName
A random company name
Johns - Kassulke, Grady LLC
$randomCompanySuffix
A random company suffix (e.g. Inc, LLC, Group)
Inc, LLC, Group
$randomBs
A random phrase of business speak
killer leverage schemas,
bricks-and-clicks deploy markets,
world-class unleash platforms
$randomBsAdjective
A random business speak adjective
viral, 24/7, 24/365
$randomBsBuzz
A random business speak buzzword
repurpose, harness, transition
$randomBsNoun
A random business speak noun
e-services, markets, interfaces
Databases
Variable Name
Description
Examples
$randomDatabaseColumn
A random database column name
updatedAt, token, group
$randomDatabaseType
A random database type
tinyint, text
$randomDatabaseCollation
A random database collation
cp1250_bin, utf8_general_ci, cp1250_general_ci
$randomDatabaseEngine
A random database engine
MyISAM, InnoDB, Memory
Dates
Variable Name
Description
Examples
$randomDateFuture
A random future datetime
Tue Mar 17 2020 13:11:50 GMT+0530 (India Standard Time),
Fri Sep 20 2019 23:51:18 GMT+0530 (India Standard Time),
Thu Nov 07 2019 19:20:06 GMT+0530 (India Standard Time)
$randomDatePast
A random past datetime
Sat Mar 02 2019 09:09:26 GMT+0530 (India Standard Time),
Sat Feb 02 2019 00:12:17 GMT+0530 (India Standard Time),
Thu Jun 13 2019 03:08:43 GMT+0530 (India Standard Time)
$randomDateRecent
A random recent datetime
Tue Jul 09 2019 23:12:37 GMT+0530 (India Standard Time),
Wed Jul 10 2019 15:27:11 GMT+0530 (India Standard Time),
Wed Jul 10 2019 01:28:31 GMT+0530 (India Standard Time)