'Running Postman collection in Jenkins gives me "'newman' is not recognized as an internal or external command, operable program or batch file."

When running my Postman collection in Jenkins, i get error message 'newman' is not recognized as an internal or external command, operable program or batch file.

I saved my postman collections locally and given the path, but it's not working. I tried saving the json link and that too isn't working. What could be the problem?



Solution 1:[1]

Newman is not installed on the machine that is running Jenkins.

If not already installed, you need to download npm first and install it. You can download it here: https://nodejs.org/en/download/current/

You can do so by running npm install -g newman in your CLI.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Christian Baumann