"NaN" in my report using Newman #89
-
I'm using Newman for my tests.
Report in XML: <?xml version="1.0" encoding="UTF-8"?>
<testsuites name="MyCollection" tests="1" time="32.937">
<testsuite name="1 - Authenticate " id="u68c4966-0877-4766-1e5b-uu96efb7f84" timestamp="2022-09-20T16:49:56.147Z" tests="1" failures="0" errors="0" time="0.807">
<testcase name="Teste" time="0.807" classname="TestePostamn"/>
</testsuite>
</testsuites> When I send it to Teams, the report doesn't display correctly. My config.json: {
"reports": [
{
"targets": [
{
"name": "teams",
"condition": "passOrFail",
"inputs": {
"url": "www.urlTeams.com",
"publish": "test-summary-slim",
"title": "Teste Result Postman"
},
"extensions": [
{ "name": "quick-chart-test-summary" },
{
"name": "hyperlinks",
"inputs": {
"links": [
{
"text": "Build",
"url": "www.urlBuild.com"
},
{
"text": "Report",
"url": "www.urlReport.com"
}
]
}
},
{
"name": "mentions",
"inputs": {
"users": [
{
"name": "Mariana Groppa",
"teams_upn": "[email protected]"
}
]
}
}
]
}
],
"results": [
{
"type": "junit",
"files": ["newman-run-report-full-2022-09-20-18-02-10-539-0.xml"]
}
]
}
]
} What could I be doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hello @marianagroppa , Usually the junit xml file includes a Need to investigate further.
@marianagroppa @sgolyala1 - fixed it in the latest version v1.0.11 |
Beta Was this translation helpful? Give feedback.
-
hi I'm having the same issue as Mariana mentioned - seeing NaN - Please try to look into this .Thankyou |
Beta Was this translation helpful? Give feedback.
Hello @marianagroppa ,
Usually the junit xml file includes a
failures
attribute intestsuites
tag. Please find the example hereNeed to investigate further.
@marianagroppa @sgolyala1 - fixed it in the latest version v1.0.11