Tag: Code snippet to assert status code of API in postman

Postman Tutorial Part 38 – Mostly Used Assertion Code Snippets in Postman to Achieve API Automation

When we hit any request in Postman, we should verify response code, response time , value of an attribute in response etc. These assertion helps to test the expected behavior of API. In this post, we will see some mostly used code snippets in Postman scripts to validate response. Code snippet to assert status code […]

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.