Newman is a command-line collection runner for Postman that executes API test collections directly from the terminal.
Newman solves the problem of running Postman collections outside the graphical application, enabling automated API testing in continuous integration pipelines and build systems. It takes a Postman collection file—either stored locally or fetched from a URL—and executes all requests and tests defined within it, reporting results back to the command line. The tool is built with extensibility in mind, allowing integration with CI servers and custom workflows through both CLI usage and programmatic APIs.
Teams should adopt Newman when they need to automate API testing as part of their build and deployment processes. It suits projects that already use Postman for API development and want to shift those tests left into continuous integration without redesigning them. The tool supports multiple output formats including CLI, JSON, JUnit XML, and HTML reports, making it compatible with various testing frameworks and reporting systems. It can be used as a standalone CLI tool, integrated as a Node.js library in custom scripts, or run within Docker containers for containerized environments.
The project maintains active continuous integration with automated testing on pull requests. Development follows a structured branching model with a dedicated develop branch for integration work. The codebase includes comprehensive test coverage tracked through automated reporting. The project accepts community contributions through pull requests and maintains documentation covering both basic usage and advanced integration scenarios.