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,
I am able to run newman successfully from command line and get the results.
I have created a new Job in Jenkins with build command as “newman run c:\auto\test_collection.json” and start the build, jenkins console shows the the result is successful, however I dont see test result in console.
Here is the console:
tarted by user Administrator Building in workspace C:\Users\ven.snarayana.jenkins\workspace\Jenkins_Newman_Test [Jenkins_Newman_Test] $ c:\windows\system32\cmd.exe -xe C:\Users\VEN~1.SNA\AppData\Local\Temp\jenkins5849775247078634500.sh Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\ven.snarayana.jenkins\workspace\Jenkins_Newman_Test>Finished: SUCCESS
Since your Newman test runs in a separate shell (cmd.exe -xe …) its output goes there. The shell is closed after the test is finished and Jenkins simply notes and displays the result.
Try redirecting the output of your Newman test into a file and dump its content after the test. Then you should see the test result in the Jenkins console.
PS: you might want to change the subject of your question because judging by the output you provided your test runs after all!
I dont see newman starting in a seperate shell. As you suggested I tried to redirect the output to a file, I dont see any output file created , though the Console output in Jenkins shows as SUCCESS.
Here is my Jenkins configuration:
General Description - Test Jenkins and Postman integration
Source Code Management - None
Build Triggers - Not selected any option
Build Environment
Execute Shell : newman run c:\learn\Loyalty.postman_collection.json