Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Postman is an API client tool which helps to test the API's. It enables us to test the same request against different environments with environment specific variables.

Get the postman client - https://www.getpostman.com/


Have a look in ONAP documentation here : https://docs.onap.org/en/dublin/submodules/integration.git/docs/docs_postman.html



Step 1: Add the APPC collections to the postman

Click on Import

Image Added

Import APPC-API.postman_collection.json

This will add all the API URI, Headers, Request, Pre-required Script into the Postman client.

Step 2: Add the environment

Click the settings icon in top right to select the environment. Import Windriver-lab-Environment.postman_environment.json & choose the environment from drop down.

Image Added


Step 3:  Test

Select any API and click Send.

Hoorayyy !!!!. Now its easy to test the same api against different environments just by selecting in the environments drop down.


Image Added