You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Newman Version (can be found via newman -v): 4.5.7 & 4.5.6 (failing on both)
OS details (type, version, and architecture): Windows 10 Pro v.1803 OS Build 17134.765
Are you using Newman as a library, or via the CLI? CLI
Did you encounter this recently, or has this bug always been there: Recently (Started in builds Dec 30th.)
Expected behaviour: Newman to run and publish results via Junit
Command / script used to run Newman: Running through Azure Devops on local machine
Step Install newman npm install -g newman
Step Run newman newman run '$(Build.SourcesDirectory)/PostmanTests/Collections/API Integration Tests.postman_collection.json' -e '$(Build.SourcesDirectory)/PostmanTests/Environments/Development.postman_environment.json' --insecure -r cli,junit
Sample collection, and auxiliary files (minus the sensitive details):
Screenshots (if applicable):
The pipeline
Newman installed on the machine
The reporter
Steps to reproduce the problem:
Install newman globally
Run newman against a collection with -r cli,junit
I have searched through open and closed issues, but only found #1969 which refers to an external reporter.
This build pipeline has been working for over a year, until it started failing on Dec. 30th, 2019.
The text was updated successfully, but these errors were encountered:
I was having the same issue earlier while trying to use cli,json, fixed it by using quotes around it. newman run $runnerFileFullName -e $environmentFileFullName --disable-unicode --color off --reporters 'cli,json' --reporter-json-export $reportFile
I should add that:
while --reporters 'cli,json' solves the issue while running locally
We use Azure DevOps CI/CD and we have to specify --reporters cli,json without the quotes in azure-pipelines.yml, otherwise it will lead to an error.
So there are use cases for both without quotes and with quotes.
newman -v
): 4.5.7 & 4.5.6 (failing on both)Step Install newman
npm install -g newman
Step Run newman
newman run '$(Build.SourcesDirectory)/PostmanTests/Collections/API Integration Tests.postman_collection.json' -e '$(Build.SourcesDirectory)/PostmanTests/Environments/Development.postman_environment.json' --insecure -r cli,junit
The pipeline
Newman installed on the machine
The reporter
Steps to reproduce the problem:
-r cli,junit
I have searched through open and closed issues, but only found #1969 which refers to an external reporter.
This build pipeline has been working for over a year, until it started failing on Dec. 30th, 2019.
The text was updated successfully, but these errors were encountered: