Monday, December 18, 2023

Use predefined variables to return values

Dynamic Variable

Postman uses the Faker library to generate sample data, including random names, addresses, email addresses, and much more. You can use these pre-defined variables multiple times to return different values per request.

You can use these variables like any other variable in Postman. Their values are generated at the time of execution and their names start with a $ symbol, for example, $randomFirstName, $randomLastName$guid, or $timestamp.








Some examples used in real scenarios






Reference Link:


Use predefined variables to return values

Dynamic Variable Postman uses the  Faker library  to generate sample data, including random names, addresses, email addresses, and much more...