This Docker Desktop Extension runs Postman collections using Postman's open-source CLI, Newman image and Danny Dainton's HTMLextra reporter. Run your API tests or execute an API workflow in any server environment. Then review the results of the collection run.
- Enter a Postman API key to retrieve your Postman data
- Select a collection to run, and optionally select an environment to run with the collection
- Run the collection, review the results of the API calls, and filter by failed tests
- Install Docker Desktop 4.10.0 or higher that includes the Docker extensions CLI.
- Make sure that Docker Desktop is running in the background. In Docker Desktop, go to the Settings icon >
Extensions
and checkEnable Docker Extensions
. - Sign up for a free Postman account, and generate an API key. This is used to access your Postman data, like collections and environments.
- Log in to your Postman account, and create a Postman collection to run. If you don’t have a Postman collection yet, you can fork this example collection to your own workspace. Once you do this, the forked collection will appear as your own collection.
This extension is not published yet, so build and deploy it locally from source code.
git clone https://github.com/loopDelicious/docker-extension.git
cd docker-extension
make && make install
cd client
npm install
npm start
This starts a development server that listens on port 3000.
You can now tell Docker Desktop to use this as the frontend source. In another terminal, run:
docker extension dev ui-source joycelin79/newman-extension:latest http://localhost:3000
In order to open the Chrome DevTools for your extension when you click on the extension tab, run:
docker extension dev debug joycelin79/newman-extension:latest
All are welcome to contribute to this project. Please follow the Postman code of conduct, and don't be a jerk.