Tried adding docker for newman with below commands:
1.Pulling the image:docker pull postman/newman_ubuntu1404
2.docker run --name=“newman” -v /tests/apitest.json:/tmp/newman -t postman/newman_ubuntu1404 run “https://www.getpostman.com/collections/collectionId” --environment=~/envt/staging.json --globals=~/data/globals.json and it throws below error even tough the given path is right:
unable to read data from file “~/environments/staging.json”
ENOENT: no such file or directory, open ‘~/environments/staging.json’
So how do I pass the tests, environment and globals JSON in docker.