# \#global

**URL:** https://community.postman.com/tag/global/292.md

[Latest](https://community.postman.com/latest.md) · [Categories](https://community.postman.com/categories.md) · [Tags](https://community.postman.com/tags.md)

---

## [Using global environment when running automated test runs](https://community.postman.com/t/using-global-environment-when-running-automated-test-runs/56971)

<div class="topic-metadata">

**Author:** [@bensusername](https://community.postman.com/u/bensusername)\
**Replies:** 2\
**Last updated:** [January 31, 2024, 4:22pm UTC](https://community.postman.com/t/using-global-environment-when-running-automated-test-runs/56971 "2024-01-31T16:22:57Z")

</div>

Hi, We just introduced Postman Enterprise into our company and I am in the process of migrating and updating my team’s test collections. We have a few dozen test collections and use the global environment for recurring …

---

## [Where is the best place to set global functions for tests?](https://community.postman.com/t/where-is-the-best-place-to-set-global-functions-for-tests/7440)

<div class="topic-metadata">

**Author:** [@kristianbrasel](https://community.postman.com/u/kristianbrasel)\
**Replies:** 1\
**Last updated:** [August 27, 2019, 10:31pm UTC](https://community.postman.com/t/where-is-the-best-place-to-set-global-functions-for-tests/7440 "2019-08-27T22:31:06Z")

</div>

I’m trying to set some global functions for my tests, right now I have them in the collection “Pre-request Scrips” however these get run every time I make a request. Is there another place to place them that would make m…

---

## [How to create global of int id using code in Tests?](https://community.postman.com/t/how-to-create-global-of-int-id-using-code-in-tests/5581)

<div class="topic-metadata">

**Author:** [@sero.barseghyan](https://community.postman.com/u/sero.barseghyan)\
**Replies:** 4\
**Last updated:** [June 3, 2019, 1:59pm UTC](https://community.postman.com/t/how-to-create-global-of-int-id-using-code-in-tests/5581 "2019-06-03T13:59:50Z")

</div>

Hi. This is my response. There are Items and Photos. I need to create global from photos \> id to have that photo id’s value as global to use in my next request. { "status": "success", "id": 296320965219101, …
