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.
I have a postman collection with all my tests written in the prerequest scriptin and i have set the data in the environment variable. I need to generate an excel/csv file with the data from this environment variable through newman.
I am trying to read this environment variable using the .on(‘prerequest’) event in the newman.run() function but not able to get the data out of it. Any help is much appreciated.