# New Postman Update - 5.4.0

**URL:** <https://community.postman.com/t/new-postman-update-5-4-0/377>\
**Category:** Help Hub\
**Created:** [December 1, 2017, 9:45am UTC](https://community.postman.com/t/new-postman-update-5-4-0/377 "2017-12-01T09:45:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![postman-paul540](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/postman-paul540/32/149_2.png) [@postman-paul540](https://community.postman.com/u/postman-paul540)\
**Post date:** [December 1, 2017, 9:45am UTC](https://community.postman.com/t/new-postman-update-5-4-0/377/1 "2017-12-01T09:45:53Z")

</div>

![image](https://us1.discourse-cdn.com/getpostman/original/3X/4/4/44fb72bcb03b7ecc4bc2af77e86fddda4de09f31.png)

How do we do this…  
No documentation, not clear through the UI.  
Have I mis-understood this? I am now able to write tests/pre-request scripts code that can be used for every request in a collection?  
This means I can get rid of the eval() method.

**EDIT:**  
Ok, I’ve found it now…  
You have to first click ‘Authorization’ tab and then click the name of the collection that is referenced as a link.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/5/8/585e9ad9da1b4a6b347c1b0b6d851c31122d5a27.png)

And here you can add tests/pre-request code that is ran in ALL requests in a collection folder.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/a/4/a455471c7122cdba86fb0aa7b84a2463a39dfea4.png)

---

<div class="post-metadata">

**Author:** ![abhinav](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/abhinav/32/8_2.png) [@abhinav](https://community.postman.com/u/abhinav)\
**Post date:** [December 3, 2017, 7:57am UTC](https://community.postman.com/t/new-postman-update-5-4-0/377/2 "2017-12-03T07:57:09Z")

</div>

Updated docs are on their way. This is a big feature and we are doing just staged rollouts slowly. 🙂
