The GetArtistById test case

This paragraph starts to explain the steps to add the GetArtistById to the existing Media Catalogue project. The test conditions, assertions, are then created from an existing URI designed in Apiary. The next steps explain how to update the URI parameter artist_id for which the value has been previously generated by the Create Media Catalogue test case. The reason is to ensure that the artist exists as a resource in the database that has been created by the Create Media Catalogue test case. The steps continue by adding an additional test condition, the Assert Contains component, to validate the HATEOAS links in the response payload. The paragraph ends with testing the newly created GetArtistById test case.

The ...

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.