Am running the postman collection in Bitbucket with parallel run & run result is pass but htmlextra report is missing both the steps.
am using below code in yml file. Can someone assist on this plz ?
pipelines:
default:
- step:
name: I - Scenarios
script: # Modify the commands below to build your repository.
- npm install -g newman
- npm install -g newman-reporter-html
- npm install -g newman-reporter-htmlextra
- newman --version
- parallel:
- step:
name : Scenario1
script:
- newman run ./aa/bb/Scenario1.postman_collection.json -e ./aa/bb/Scenario1.json --reporters cli,htmlextra --reporter-htmlextra-export testReport.html --delay-request 500
- step:
name : Scenario2
script:
- newman run ./aa/bb/Scenario2.postman_collection.json -e ./aa/bb/Scenario2_environment.json --reporters cli,htmlextra --reporter-htmlextra-export testReport.html --delay-request 500
artifacts:
- testReport.html
Hi @shivuhandral10 and welcome to the community.
Test reporting in Bitbucket Pipelines works with JUnit and Maven Surefire XML formats at the moment, HTML reports will not be displayed.
If you would like to configure XML reports to be displayed in your Pipelines builds, you can have a look at the following documentation for more details and info on configuration:
We have a feature request to support HTML reports in Pipelines:
You can add your vote and feedback to that feature request in order to express your interest.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.