# Env variable not populated when sending request using newman

**URL:** <https://community.postman.com/t/env-variable-not-populated-when-sending-request-using-newman/48200>\
**Category:** Help Hub\
**Tags:** newman-project, collection-runner\
**Created:** [June 6, 2023, 11:04am UTC](https://community.postman.com/t/env-variable-not-populated-when-sending-request-using-newman/48200 "2023-06-06T11:04:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aviation-observer-43](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/aviation-observer-43/32/9862_2.png) [@aviation-observer-43](https://community.postman.com/u/aviation-observer-43)\
**Post date:** [June 6, 2023, 11:04am UTC](https://community.postman.com/t/env-variable-not-populated-when-sending-request-using-newman/48200/1 "2023-06-06T11:04:14Z")

</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).

There is a difference in how Postman collection runner and newman work and I’m not sure what is going on.  
I have a request with two variables in its JSON body.

Here is a part of that body:

````auto
                "@type": "StringValue",
                "name": "content",
                "value": "{{signature}}"

Signature is an environment variable. There is also another block of code with 
{{portrait}} as a variable. Both have values in "current" column in the environment.

Request works fine from Postman collection runner. But when I use newman for the same 
request - signature variable doesn't get populated. In the request body I get: ```"value": ""
Portrait variable gets populated.

Why is this so? The only way I got it to work was to copy the signature variable value into
"initial" column as well. Why did it made a difference?
````
