# Possible to change request name? (With variable)

**URL:** <https://community.postman.com/t/possible-to-change-request-name-with-variable/1561>\
**Category:** Help Hub\
**Created:** [May 7, 2018, 1:50pm UTC](https://community.postman.com/t/possible-to-change-request-name-with-variable/1561 "2018-05-07T13:50:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![avanbe](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/avanbe/32/459_2.png) [@avanbe](https://community.postman.com/u/avanbe)\
**Post date:** [May 7, 2018, 1:50pm UTC](https://community.postman.com/t/possible-to-change-request-name-with-variable/1561/1 "2018-05-07T13:50:44Z")

</div>

Hi,

Is there a way I can enter a variable into a request name? For example something like this:  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/d/8/d8010349a63f26d73753d9487231e9d42f323288.png)  
So That {{Number}} gets replaced by a variable.

Thanks

---

<div class="post-metadata">

**Author:** ![tuhin.khare](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/tuhin.khare/32/592_2.png) [@tuhin.khare](https://community.postman.com/u/tuhin.khare)\
**Post date:** [May 7, 2018, 2:03pm UTC](https://community.postman.com/t/possible-to-change-request-name-with-variable/1561/2 "2018-05-07T14:03:09Z")

</div>

Hi @avanbe,

The request names don’t get replaced by the variables.  
If you want to add a statement **test with number - {{Number}}** where number gets replaced by the variable, you can always access the variable by **pm.variables.get(“Number”)** and log it the pre/post -request scripts.
