# Saving results with newman -r cli,json already tried

**URL:** <https://community.postman.com/t/saving-results-with-newman-r-cli-json-already-tried/58816>\
**Category:** Help Hub\
**Tags:** newman-project\
**Created:** [March 14, 2024, 12:53am UTC](https://community.postman.com/t/saving-results-with-newman-r-cli-json-already-tried/58816 "2024-03-14T00:53:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasminnagel](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@jasminnagel](https://community.postman.com/u/jasminnagel)\
**Post date:** [March 14, 2024, 12:53am UTC](https://community.postman.com/t/saving-results-with-newman-r-cli-json-already-tried/58816/1 "2024-03-14T00:53:15Z")

</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 everyone,  
im sitting in front of a interesting issue.  
Im supposed to automate some postmans test cases with newman and C# code (C# is for the programm we use to automate Ranorex).

I solved the issue so far that i just make a command line proccess with all needed information that i sent via my c# code.

Now the test case i work on right now has as acceptance criteria that the postman result that what you see in the bottom part of postman below the for example 200 ok Code.

I looked through a couple of post including some in this forum and all tell me i should use run “postman\_collection.json” --insecure --folder “Download config from the eNB” -r cli,json --reporter-json-export.

To export and save the result as a json file. But when i use this code it just saves me the entire collection and some weird numbers like 10k lines of numbers and not the expected result being a json file with diffrent configuration listed of the target system.

I hope anybody can help me figure this out. I have to go to bed now its 2am i dont think my half asleep mind is able to fix that today myself.

jasmin nagel

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [March 15, 2024, 10:37am UTC](https://community.postman.com/t/saving-results-with-newman-r-cli-json-already-tried/58816/2 "2024-03-15T10:37:35Z")

</div>

Hi @jasminnagel. Welcome to the Postman Community!

This is a weird behavior, do you experience the same when you try to run the whole collection as opposed to running a single folder in that collection?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [April 14, 2024, 10:37am UTC](https://community.postman.com/t/saving-results-with-newman-r-cli-json-already-tried/58816/3 "2024-04-14T10:37:36Z")

</div>

Closed on April 14, 2024, 10:37am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
