Viewing Newman Report from TeamCity

If you use TeamCity for your CI and also run your Postman tests via Newman, then you know that your build log is unreadable when it comes to seeing what Newman is reporting. This is because by default the TeamCity build agent doesn't log using the UTF-8 charset. In order to fix this open your \TeamCity\buildAgent\conf\buildAgent.properties file and add the line:

teamcity.runner.commandline.stdstreams.encoding=UTF-8  

Restart the TeamCity Build Agent service and then re-run your Postman tests and you'll now be able to see the output from Newman in your TeamCity build log.

Wes Shaddix

Read more posts by this author.