Getting blank value in json file whiel download environment variable file of postman

Archived topic — this may be out of date.
Newman has been replaced by the Postman CLI, 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 lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.
For current help, see the Postman docs, try the free Postman tools (no account needed), or join us on Discord.

  1. Getting invalid URI error whiel executing the script from newman.

Hi @piyushkumar, welcome to the community! :wave:

I am guessing that you have your INITIAL VALUE as empty and the CURRENT VALUE has all your variable values.
Something like this:
image

You can click on ‘Persist All’ button in the Manage Environments modal and then try exporting the environment.

Also, you can read about sessions in Postman and if you want to always override the initial value without having to click ‘Persist All’ every time you update a variable, then you can head over to Settings and set “Automatically persist variable values” to ON.