Closed Narendra-WAL closed 6 years ago
This has been in the same state since quite some time. Please let me know if you need any help in investigating this.
@Narendra-WAL Reports are exported to the mounted directory by default:
#!/usr/bin/env bash
set -e; # Bail out on the first error
# The SOURCE_DIR and REPORT_FILE environment variables have to be set
docker run -v "${SOURCE_DIR}:/etc/newman" -t ${IMAGE} run sample-collection.json -r html,cli --reporter-html-export ${REPORT_FILE};
Once the above run has completed, the file indicated by $REPORT_FILE
will be present in $SOURCE_DIR
outside your Docker container.
newman -v
):Issue: HTML report not getting created when using Postman through docker image, when any tests fail. However the same command is working properly when using my mac with version 3.8.3.
Steps: