# Global variable are not updating dynamically in URL using newman cmd line runner

**URL:** <https://community.postman.com/t/global-variable-are-not-updating-dynamically-in-url-using-newman-cmd-line-runner/4752>\
**Category:** Help Hub\
**Tags:** newman-project\
**Created:** [March 28, 2019, 11:22am UTC](https://community.postman.com/t/global-variable-are-not-updating-dynamically-in-url-using-newman-cmd-line-runner/4752 "2019-03-28T11:22:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pritamdharme](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@pritamdharme](https://community.postman.com/u/pritamdharme)\
**Post date:** [March 28, 2019, 11:22am UTC](https://community.postman.com/t/global-variable-are-not-updating-dynamically-in-url-using-newman-cmd-line-runner/4752/1 "2019-03-28T11:22:19Z")

</div>

> **Archived topic — this may be out of date.**  
> Newman has been replaced by the **[Postman CLI](https://learning.postman.com/docs/postman-cli/postman-cli-overview/)**, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

Hi,

I am testing one scenario where I am providing data through CSV file with parent id associated child id in CSV file.

When I am running the collection in postman runner the collection requests iterate properly with provided data through it and data update the id’s dynamically in the runner.

Same when try I am running collection through Newman runner, id’s are not getting updated co due to which only single iteration run with 1st associated ids.

I am using pm.globals.set(“content\_id\_1”,jsondata[1]) to set global varible from resposnse body of post request .

Is there any limitation to Newman for this, could anyone please help me out here.

---

<div class="post-metadata">

**Author:** ![Whersh](https://avatars.discourse-cdn.com/v4/letter/w/9d8465/32.png) [@Whersh](https://community.postman.com/u/Whersh)\
**Post date:** [April 3, 2019, 12:24pm UTC](https://community.postman.com/t/global-variable-are-not-updating-dynamically-in-url-using-newman-cmd-line-runner/4752/2 "2019-04-03T12:24:33Z")

</div>

> **[GitHub - postmanlabs/newman: Newman is a command-line collection runner for...](https://github.com/postmanlabs/newman#command-line-options)**
>
> Newman is a command-line collection runner for Postman - GitHub - postmanlabs/newman: Newman is a command-line collection runner for Postman

Can you give an example of what your CMD statement looks like. You might be missing a few flags.  
check out the link provided for a list of the potential flags you can use to export final globals and for using data files.

---

<div class="post-metadata">

**Author:** ![pritamdharme](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@pritamdharme](https://community.postman.com/u/pritamdharme)\
**Post date:** [April 4, 2019, 11:32am UTC](https://community.postman.com/t/global-variable-are-not-updating-dynamically-in-url-using-newman-cmd-line-runner/4752/3 "2019-04-04T11:32:20Z")

</div>

Thank you for rply @Whersh there was issue with csv file which i was providing to command line problem got resolved.

Thanks,  
Pritam
