Docker + newman integration example to run postman collections in containers.
Postman collections run example:
The docker image for Newman is available for download from our docker hub. You must have Docker installed in your system. Docker has extensive installation guideline for popular operating systems. Choose your operating system and follow the instructions.
Ensure you that you have docker installed and running in your system before proceeding with next steps. A quick test to see if docker is installed correctly is to execute the command
docker run hello-world
and it should run without errors.
Step 1:
Pull the newman docker image from docker hub:
docker pull dmytrosh/docker-newman
Step 1:
Clone this repository:
git clone https://github.com/DmytroSH/docker-newman.git
Step 2:
Run docker compose:
You can specify env by change tests_env variable, it will use tests_env.json as postman variables
docker-compose up
TBD
- 0.0.1
- Add base implementation + docs
- Fork it (https://github.com/DmytroSH/docker-newman)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request