Tag: Retrieve Query Parameter Value

Postman Tutorial Part 32 – Retrieve Query Parameter Value in Tests Script in Postman

We have already seen usage of Query params in API. We may need to retrieve query parameters value in Tests and Pre-request Script for validation. So in this post, we will see how can we retrieve query parameters value. To get value of specific query parameter:- pm.request.url.query.get(<Parameter name>) To get all query parameter as a […]

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.