Is there a way to hide some requests from the postman report

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 am using a python script to run newman to execuete the postman collection.

newman run {collectionURL} --folder {folderName} -e {environmentURL} -d {jsonDataFile} --reporters cli,json,htmlextra --reporter-json-export {jsonReport} --reporter-htmlextra-export {htmlReport}

I have some requests that I make to prepare my test data befroe hitting the APIs Im actually testing.

In my report the results are shown based on all the calls I made. Is there a way to omit the requests I make to get the test data and only keep the requests that I make to the APIs that I am testing?

That way my test report shows more realistic view.

Thanks

Hey @asanke-corto :wave:

Welcome to the Postman community :postman:

In htmlextra, you could use either of these flags in the command.

Skip Folders:

newman run collection.json -r htmlextra --reporter-htmlextra-skipFolders "folder name with space,folderWithoutSpace"

Skip Requests:

newman run collection.json -r htmlextra --reporter-htmlextra-skipRequests "request name with space,requestWithoutSpace"

You can find all of the other commands, with examples, on the readme.