Middle
What do you know about Newman?
sobes.tech AI
Answer from AI
Newman is a collection runner for Postman that allows you to run and test collections directly from the command line. It is useful for automating API tests in CI/CD pipelines.
Main features:
- Running Postman collections.
- Using environment variables and global variables.
- Generating detailed execution reports (HTML, JSON, CLI, Junit).
- Integration with CI/CD tools (Jenkins, GitLab CI, GitHub Actions, etc.).
- Extending functionality with custom reporters.
Example of running Newman:
newman run my_collection.json -e my_environment.json -r html,json
// Runs the collection my_collection.json with environment my_environment.json and generates reports in HTML and JSON formats.
Newman is an NPM package and is installed globally:
npm install -g newman