Test Integration feature allows users to test a non-scheduled integration with REST endpoint by invoking it directly from OIC console without relying on any third party software.
Prerequisite for Test Integration Feature
Activate the Integration.
Click on "How to Run" link.
A popup will be displayed as below.
Click on Test link to go to Test Integration page.
Test Integration page will have 3 sections: Operation, Request, and Response.
Operation and Request section will have the endpoint's metadata populated.
Operation section contains Operation option(if Integration is configured to have multiple operations) along with HTTP method and relative URI (for the selected operation in case of multiple operations).
User can choose any of the available operations.
Request section will have following fields: URI Parameters, Headers, Body, & cURL
URI Parameters field will have the list of expected path(or template) and query parameters.
Headers field shows all the custom headers including Accept & Content-Type based on the Integration configuration.
Input body can be provided in the Body field which will have a placeholder describing the expected body type.
User can copy the equivalent curl command from the cURL field. Curl command will be generated based on the endpoint's metadata and input provided by the user.
User can click on the Test button to invoke the integration and check the Response section for response details.
Banner message will be displayed once the Integration(endpoint) is invoked. Then, user can check the response details in the Response section.
Response section will have the response body(if any) and Headers displayed in Body, Headers field respectively along with the Http Status, and Instance Id(if any).
User can click on the Instance Id to go to Tracking details page for monitoring the progress of generated instance.