Tag: path variables in postman

Postman Tutorial Part 33 – Retrieve Path Variables Value in Tests Script in Postman

We have already seen Usage of Path variables in Postman. We may need to retrieve provided path variables for assertion in scripts in Postman. We have already seen about Retrieving query parameters in tests in Postman. In this post we will see retrieving Path variables in tests in Postman. We can retrive provided path variables […]

Postman Tutorial Part 31 – URI Path Variables in Postman

End points or URI may not be constant always. For example:- If you want to retrieve a booking details, you need to pass booking id in URI as below:- https://restful-booker.herokuapp.com/booking/1 https://restful-booker.herokuapp.com/booking/2 In above URI, 1 and 2 are booking ids and those are not constant. This makes above URI dynamic. You should have a way […]

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.