X

The Integration blog covers the latest in product updates, best practices, customer stories, and more.

Testing REST trigger-based Integrations in OIC Console

Sumit Tomar
Senior Member Technical Staff

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

  1. Enable feature flag:
    1. oic.ics.featureflag.spa.designer
    2. oic.ics.console.integration.invoke-integration-support
  2. The minimum Oracle Integration version required for the feature is 191110.1400.32380

How it works

Activate the Integration.

Click on "How to Run" link.

how to run link

A popup will be displayed as below.

how to run popup

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

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).

home singlehome multiple

User can choose any of the available operations.

operation options

Request

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.

uri parameters

Headers field shows all the custom headers including Accept & Content-Type based on the Integration configuration.

header section

Input body can be provided in the Body field which will have a placeholder describing the expected body type.

input body

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.

curl

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.

post invoke

Response

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).

post invokeresponse headers

User can click on the Instance Id to go to Tracking details page for monitoring the progress of generated instance.

tracking details

 

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.