Skip to content

Latest commit

 

History

History
75 lines (44 loc) · 5.53 KB

README.md

File metadata and controls

75 lines (44 loc) · 5.53 KB

Traceability Interop Tutorials and Postman Tests

This folder contains the postman tests and tutorials that are executed to demonstrate compliance with the specification.

For a guided tutorial-like experience, please begin with the authentication tutorial.

If you are already experienced with using Postman and would like to jump right in with the test suite, please continue reading.

Importing The Test Suite

Create a workspace

Postman test suites are imported into workspaces. You may either choose an existing workspace before importing, or create a new one by opening the "Workspaces" dropdown menu at the top left of the Postman window and clicking on the "Create Workspace" button.

In the following examples, the "Traceability Interoperability" workspace will be created and used.

Import the collections

This test suite contains several different collections to import (repeat the steps in this section for each item in the following list that you wish to import):

Use the "Import" button to begin importing the interoperability collections.

When the import modal window opens, select the "Link" option, paste the link to the Postman collection in the text input, and click "Continue". (Links for the postman collections can be found at the beginning of this section.)

After you click "Continue", Postman will download and process the remote url and present a confirmation screen. Click the "Import" button to continue.

Repeat the steps in this section for each collection being imported.

Import the environment

Use the "Import" button again to import the interoperability environment.

When the import modal window opens, select the "Link" option, paste the link to the Postman environment in the text input, and click "Continue"

After you click "Continue", Postman will download and process the remote url and present a confirmation screen. Click the "Import" button to continue.

Configure the environment

Once the environment finishes importing, you will need to add in the values specific to your implementation. Click on the "Environments" tab, then highlight the "Traceability Interoperability" environment and update the first six values under the "INITIAL VALUE" column. Click "Reset All" to copy the values to the "CURRENT VALUE" column and then click "Save".

NOTE: Do not update the variables which start with ISSUER_ or VERIFIER_. These reference the corresponding values from the first six variables and exist because production tests actually use two different providers for interoperability testing. When running locally, you will only have access to your own information, so interop tests will occur using a single implementation.

You are now ready to begin executing interoperability tests against your implementation!