Sample project for automation testing
198
This project is just a sample to showcase some end-to-end automated tests you can put in place with postman and newman.
You can completely ignore the java project in here, as it's here only to serve as a dummy application. To run this demo, use the dockerized version of the project or if you're a Java developer, just run it manually.
This dummy app can be executed through docker with the following command:
docker run -d --name dummynewman -p 8080:8080 paulushc/devops-automation
docker run -v $(pwd)/postman/:/etc/newman/ \
--network host \
-t postman/newman run collection.postman_collection.json
docker run -v $(pwd)/postman/:/etc/newman/ \
--network host \
-t postman/newman run collection.postman_collection.json \
-e env.postman_environment.json
docker run -v $(pwd)/postman/:/etc/newman/ \
--network host \
-t postman/newman run collection.postman_collection.json \
-e env.postman_environment.json \
-d data.csv
docker run -v $(pwd)/postman/:/etc/newman/ \
--network host \
-t postman/newman run collection.postman_collection.json \
-e env.postman_environment.json \
-d data.csv \
-r cli,json,junit
docker run -v $(pwd)/postman/:/etc/newman/ \
--network host \
-t postman/newman run collection.postman_collection.json \
-e env.postman_environment.json \
-d data.csv \
-r cli,json,junit \
--bail
Content type
Image
Digest
Size
67 MB
Last updated
over 4 years ago
docker pull paulushc/devops-automation