When trying to run html report after installing newman ,and html report plugin,it is showing this error. Can anyone suggest what the issue is?
Welcome to the community!!
You’re running that newman command from the
npm directory, which contains a
newman directory and because you’re using a reporter, it creates a newman directory by default to add the report too and it’s clashing with this - Try running the same command from a different directory and see if that works.
You could also use the
--reporter-html-export report.html flag to create a file but I would recommend just running the full command away from the
The command doesn’t look quite right either, I would have expected the collection to be a
.json or a URL.
Also, you really should be using