Mrugesh Shah
Mrugesh Shah

Reputation: 31

Tests work in Postman collection, but showing 0 execution in Newman

I have used the Newman plugin in Azure DevOps to run the test. The tests are running fine in Postman and I have exported the JSON files to use with Newman in CI Pipeline.

I tried to install Newman's latest version 5.2.2 and also 4.6.1 but I am getting the result not correct.

enter image description here

Upvotes: 1

Views: 678

Answers (2)

VJPPaz
VJPPaz

Reputation: 1015

Do you have any file upload functionalities? from my end i had. To fix it I added the --working-dir option

Upvotes: 0

PDHide
PDHide

Reputation: 19989

From the screenshot it seems like you have saved environment.json as collection.json . Thats why you get everything as '0'

Make sure your collection.json file is correct and you haven't mistakenly replaced collection file with environment file.

Upvotes: 1

Related Questions