Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

When testing REST API's it is useful to have a client that allows you to easily GET and POST data to your test system. Postman is a chrome plugin that does this and also allows you to save away your test data. 

Please note that Portman is a third party product that we have found useful in our own testing but it is not connected with ETLogic or SupplyStream.


6.1.   Installing and Running Postman


  • Once installed Postman is run from the apps button near the top left of the Chrome window


  • Copy the token and put this in the token field in postman (you may need to click on the URL Params button to make the field visible
  • Put in the URL of the REST service you want to test for example: https://hubuat1.supplystream.com/hub/api/echo/v1/hello.xml?token=<token>
  • Set the type of request in this case to GET
  • Hit the Send button
  • The status of the request is displayed along with the output from the server. the output can be viewed in raw or pretty printed  




  • Data can be POSTed by changing the type to POST and providing the required XML or JSON in the text box



Note: When posting JSON message in the request body you need to tell POSTMAN that the message is in JSON format otherwise it will default to XML. To do this set the Headers to Content-Type = application/json as in the example below


6.2.    Other REST Testing Tools

A number of other REST testing tools are available such as Advanced REST clientwhich offer similar functionality to Postman. You may want to try a few out to see what best meets your needs.

  • No labels