An available RESTful service displays the GET operation in the Swagger UI. The POST operation is tested using the JSON service. It is important to test these operations by doing some simple tasks. This section explains how to test the POST and GET operations you just added.
Procedure
Click
MyBooks. It expands and displays the POST and GET operations.
Click the
POST icon to display its details.
Provide values to the Books parameter. You can use the JSON payload in
BW_HOME\samples\binding\rest\BookStore\samplejson folder.
Click the
Try it out! button.
Now click the
GET icon to display its details.
Click the
Try it out! button.
The response displays a list of books returned by the REST service from the database.
After you have finished, go back to
TIBCO Business Studio™ for BusinessWorks™ and click
in the
Console view to stop the process.