UP9 Artifacts in Postman
After exporting the tests, mocks, and contracts archive, you can run tests, mock servers, and environments with this data with Postman. We'll show you how.
Download UP9 Artifacts
Select "Export Spec" in the UP9 Contracts page.
This will download a ZIP of the tests, mocks, and contracts UP9 has built from observing traffic in your workspace.
Import Artifacts to Postman
Your Postman JSON files are in the tests
folder of the downloaded ZIP.
Select "File -> Import" in Postman, go to the File tab, and select Upload File.
Select the UP9.postman_collection
JSON in tests/postman
.
Postman will consume the refael - example-workspace/all rev 41 (by UP9.com)
file as a collection of Postman tests.
Testing with the Imported Collection
Change the variable for base_url
in Postman to point to http://demo-link.demo.spyd.io/
:
Now, base_url
will point to the Weavesocks demo environment at http://demo-link.demo.spyd.io/
. You can now test the imported collection.
Full and Simple Postman Tests
We also have simple Postman tests available in tests/postman-simple
.
Differences between simple and full Postman tests:
- No Data Driven Tests
- No chained requests
- No assertions / test scripts
- It's a simple Postman collection
Support
For support, feel free to use any one of the three:
- Join our community Slack at up9.slack.com.
- Email support@up9.com.
- Use our in-app messaging application to start a conversation.