Closed ShilpaSachdeva closed 2 years ago
What's this doing?
reporters: ('htmlextra --reporter-htmlextra-title "ABC_Test " --reporter-htmlextra-export abc.html')
That property is for adding reporters, not the flags for the reporters.
reporters: ('htmlextra')
A basic example:
https://gitlab.com/DannyDainton/postman-ci-pipeline-example/-/blob/master/.gitlab-ci.yml
This isn't a bug with the reporter, it's an issue with your use of the YAML file. Closing this issue.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Is There An Existing Issue
What Are You Seeing
I am trying to run my collections in parallel using https://github.com/postmanlabs/newman/blob/develop/examples/parallel-collection-runs.js. In options, i give reporter as htmlextra reporters: ('htmlextra --reporter-htmlextra-title "ABC_Test " --reporter-htmlextra-export abc.html') In gitlab-ci.yml, i have
package.json looks like:
Steps To Reproduce The Issue
Running locally or in pipeline gives same error newman: could not find "cli, htmlextra --reporter-htmlextra-title "ABC " --reporter-htmlextra-export abc.html" reporter ensure that the reporter is installed in the same directory as newman please install reporter using npm
Full Newman Command Or Node Script
HTMLEXTRA Version
1.22.8
Newman Version
5.3.2
Additional Context
No response