postman validatio fake code example
Example: How do you validate data in Postman?
I mostly use preInstalled js testScripts in postman
Some of the snippets I use:
Get an environment variable
Set an environment variable
Clear a environment variable
Clear a global veriable
Get a global variable
Set a global variable
Send a request
Response convert xml to json
Response time is less than
etc.