# \#collection-variable

**URL:** https://community.postman.com/tag/collection-variable/556.md

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

---

## [Support for Using a Single Large JSON File with Both Global and Iteration-Specific Parameters in Postman Collection Runner](https://community.postman.com/t/support-for-using-a-single-large-json-file-with-both-global-and-iteration-specific-parameters-in-postman-collection-runner/83067)

<div class="topic-metadata">

**Author:** [@bako-csaba-ext](https://community.postman.com/u/bako-csaba-ext)\
**Replies:** 1\
**Last updated:** [July 31, 2025, 11:39am UTC](https://community.postman.com/t/support-for-using-a-single-large-json-file-with-both-global-and-iteration-specific-parameters-in-postman-collection-runner/83067 "2025-07-31T11:39:22Z")

</div>

Description: Currently, Postman Collection Runner supports loading iteration data from a JSON array file, where each item corresponds to a single iteration. However, there is no native support for using a single large J…

---

## [Persisting Collection Variables via Scripting](https://community.postman.com/t/persisting-collection-variables-via-scripting/61902)

<div class="topic-metadata">

**Author:** [@koushikromel](https://community.postman.com/u/koushikromel)\
**Replies:** 5\
**Last updated:** [June 7, 2024, 8:23am UTC](https://community.postman.com/t/persisting-collection-variables-via-scripting/61902 "2024-06-07T08:23:21Z")

</div>

I would like to know more about persisting variables from scripting, kindly share your thoughts and experiences on that. When I access the variable from same collection but from different folder it only returning INITIA…

---

## [Collection variable doesn't update in Postman](https://community.postman.com/t/collection-variable-doesnt-update-in-postman/61170)

<div class="topic-metadata">

**Author:** [@marigen00](https://community.postman.com/u/marigen00)\
**Replies:** 5\
**Last updated:** [May 20, 2024, 1:43pm UTC](https://community.postman.com/t/collection-variable-doesnt-update-in-postman/61170 "2024-05-20T13:43:45Z")

</div>

Greetings! I’ve got pre-requests with 2 pm.sendRequest. One of them depends on variable from first response. They work with setTimeout. //I set Timeout because updateInfoRequest needs to wait and get it from h2hReques…

---

## [How to check if collection Variable is having a value?](https://community.postman.com/t/how-to-check-if-collection-variable-is-having-a-value/58961)

<div class="topic-metadata">

**Author:** [@padampreet](https://community.postman.com/u/padampreet)\
**Replies:** 9\
**Last updated:** [March 19, 2024, 5:14pm UTC](https://community.postman.com/t/how-to-check-if-collection-variable-is-having-a-value/58961 "2024-03-19T17:14:59Z")

</div>

Hi, I am trying to write a test and have some collection variables defined in the Pre-request script which am using under the Tests section. My question is, if there is any way to check if the collection variable has s…

---

## [Issue with setting collection variable using script](https://community.postman.com/t/issue-with-setting-collection-variable-using-script/49129)

<div class="topic-metadata">

**Author:** [@joint-operations-ad8](https://community.postman.com/u/joint-operations-ad8)\
**Replies:** 1\
**Last updated:** [July 3, 2023, 9:23am UTC](https://community.postman.com/t/issue-with-setting-collection-variable-using-script/49129 "2023-07-03T09:23:23Z")

</div>

I’m having issue setting collection variable from the response body using script which is the 6th step of Skillcheck of Postman api fundamentals student expert

---

## [Unable to resolve correctly a global class instantiated and stored in a Collection variable](https://community.postman.com/t/unable-to-resolve-correctly-a-global-class-instantiated-and-stored-in-a-collection-variable/31678)

<div class="topic-metadata">

**Author:** [@randyroman](https://community.postman.com/u/randyroman)\
**Replies:** 0\
**Last updated:** [January 19, 2022, 7:40am UTC](https://community.postman.com/t/unable-to-resolve-correctly-a-global-class-instantiated-and-stored-in-a-collection-variable/31678 "2022-01-19T07:40:26Z")

</div>

My question: What is the correct way of creating a global class instance so I could access and reuse it as a utility class for my Collection test requests? I am exploring this approach instead of creating multiple glob…
