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 an App-driven integration with REST trigger by invoking it directly from OIC without relying on a third party software.

How it works

Activate the Integration.

Click on "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 trigger is configured with 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.

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

User can view the activity stream for the generated instance by clicking on the 'View Activity Stream' button. Find more details about using activity stream here: https://blogs.oracle.com/integration/using-the-next-generation-activity-stream

Also, user can click on the Instance Id to go to Tracking details page

tracking details

 

Join the discussion

Comments ( 1 )
  • gouthamraj Thursday, January 16, 2020
    Good Blog, well descrided, Thanks for sharing this information.
    Oracle Integration Cloud Service Online Training
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.