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. pm.request.url.query.get() pm.request.url.query.all() pm.request.url.getQueryString() Let’s see above concept in an example:- Let’s add params to API:- Add…
Read More “Postman Tutorial Part 32 – Retrieve Query Parameter Value in Tests Script in Postman” »