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.
Hi all,
I was wondering if Newman is able to use a parsed JSON response to load a data file to be used. My scenario currently involves using 3-5 different data files that can change based on the JSON response. Is there a method to parse the JSON to set that response to an Env var then use that Env Var as input to use a different CSV.
My scenario is using CSV’s that are labeled with a series of numbers, each CSV corresponds to a specific path to take (point A to Point B, typically 600+ LAT,LON coordinate pairs ). This is to simulate driving a predetermined path. After each coordinate pair is sent as a location i have a status request that sends as well and this gives me information reagrding where i’m at, and other general information including the path that I am currently on. At the end the path a value in the status request will change to a new path.
I would like to be able to parse the JSON value from the Status Request for this Path then load the file with the same name. Is this possible?