Step 9 – test the microservice

The next step is to test the microservice in the IDE that is explained using Postman.

Postman is a client REST application to create and run tests against REST endpoints. However, Postman does not have the capability to test isolated pieces of code. Unit testing will need to be done with a proper testing framework like Mocha. For more information, see https://mochajs.org.
  1. Open Postman and create a new collection called MediaCatalogue and add a new request called Retrieve Artist Information:
  1. Open the request Retrieve Artist Information and update in the box, next to the HTTP Verb, the URL with value http://localhost:3000/catalogue/artists/art123456 ...

Get Implementing Oracle API Platform Cloud Service now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.