# Get value of url request parameter to do a test

**URL:** <https://community.postman.com/t/get-value-of-url-request-parameter-to-do-a-test/8858>\
**Category:** Help Hub\
**Tags:** key-value, url-params, request-params, parama-value\
**Created:** [November 7, 2019, 3:41pm UTC](https://community.postman.com/t/get-value-of-url-request-parameter-to-do-a-test/8858 "2019-11-07T15:41:44Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![bpricilla](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/bpricilla/32/6511_2.png) [@bpricilla](https://community.postman.com/u/bpricilla)\
**Post date:** [June 23, 2021, 9:30am UTC](https://community.postman.com/t/get-value-of-url-request-parameter-to-do-a-test/8858/5 "2021-06-23T09:30:03Z")

</div>

@aerospace-explorer-2 I see a similar post [here](https://community.postman.com/t/query-variable-from-within-pre-request-script/20502).

pm.variables.replaceIn() method should help you 😊

---

_[View the full topic](https://community.postman.com/t/get-value-of-url-request-parameter-to-do-a-test/8858)._
