Created
January 26, 2023 14:33
-
-
Save miroswd/2a497901306202394f615ad3205ba2b2 to your computer and use it in GitHub Desktop.
Script to get token with test in postman
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let response = pm.response.json(); | |
let token = response.token | |
console.log('token ->', token) | |
pm.environment.set("token",token); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment