# Running Collection with Json body file working fine, Newman having problem

**URL:** <https://community.postman.com/t/running-collection-with-json-body-file-working-fine-newman-having-problem/34194>\
**Category:** Help Hub\
**Tags:** newman-project, json\
**Created:** [April 4, 2022, 9:17am UTC](https://community.postman.com/t/running-collection-with-json-body-file-working-fine-newman-having-problem/34194 "2022-04-04T09:17:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![w4dd325](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/w4dd325/32/12436_2.png) [@w4dd325](https://community.postman.com/u/w4dd325)\
**Post date:** [April 4, 2022, 9:29am UTC](https://community.postman.com/t/running-collection-with-json-body-file-working-fine-newman-having-problem/34194/2 "2022-04-04T09:29:05Z")

</div>

Hi @Fathalla

This thread looks like it answers your question…

> [@Accessing global variables when running collection using Newman](https://community.postman.com/t/accessing-global-variables-when-running-collection-using-newman/11133/2):
>
> Hi, @dcarva! Welcome. Globals can be passed as a command line parameter, either as a JSON file path/URL (via --globals) or individually (via --global-var). See here: [https://github.com/postmanlabs/newman/#newman-run-collection-file-source-options](https://github.com/postmanlabs/newman/#newman-run-collection-file-source-options).

---

_[View the full topic](https://community.postman.com/t/running-collection-with-json-body-file-working-fine-newman-having-problem/34194)._
