Last active
August 8, 2022 22:33
-
-
Save lSelectral/4b092d12db5d26b7db92d96a67690970 to your computer and use it in GitHub Desktop.
Response and Statue test in Postman Test
This file contains 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
pm.test('Should get 200 status code with JSON response', () => { | |
pm.response.to.have.status(200); | |
pm.response.to.be.ok; | |
pm.response.to.be.json; | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment