Hi all, like many I was happy to learn that the faker.js library is implemented out-of-the-box by Postman.
In Postman you can select JSON body content and get a faker dropdown with random data, like this:
-
Set your body to JSON, XML won’t work.
-
Type a variable, for example a string or integer. Double-click to select it.
While still selected type{{
While still selected type$
A faker library dropdown will appear, below I have picked guid from the dropdown.
{
“Type”: “{{$guid}}”,
“Properties”: {
“id”: {
“type”: “integer”
},