How to use Litmus to create OIC Integration unit tests automatically and run them to catch regressions by Muthu Palanisamy


In this blog, I’d like to show you how easy it is to use Oracle Litmus, a new feature added to Oracle Integration Cloud for creating unit tests automatically with a few clicks and run those tests to catch regressions. Litmus supports the following use cases:

· Enable Integration Cloud users to create unit tests automatically and play them back to catch regressions when they modify their integrations (typically when they enhance an already created integration before making it production).

· Enable Integration Cloud QA to catch product regressions as part of a new release of Integration Cloud.

· Send Oracle a recorded instance so that Oracle can play back the instance to reproduce an issue or a bug. This is difficult without Litmus because all the dependent endpoints and third party adapters might not be available in-house to reproduce the issue. With Litmus, the endpoints are simulated and hence not needed to reproduce the issue.

Enabling Litmus

Let’s assume that you have built an integration which runs as per your requirements and you have completed all your manual testing. Now you are ready to go production. At this point, you might want to create a Litmus Test and want to check that into your source repository. This is so that when you want to change that integration later, you can rely on the Litmus test to catch regressions. Regression in this case is an assertion failing because the response you’re sending to the client has changed due to a bug that was introduced in a mapping as an example.

Enable the Litmus with below steps:

· A feature flag has to be enabled in OIC to enable Oracle Litmus. To turn on the feature flag, open a Service Request with Oracle support.

· Once the feature flag is enabled, login as a developer.

· From the list of integrations displayed in the integrations page, click the inline menu for the integration and click Oracle Litmus -> Enable Litmus Recording

· You can also enable Litmus as part of the Activation as well. Read the complete article here.

PaaS Partner Community

For regular information on Oracle PaaS become a member in the SOA & BPM Partner Community for registration please visit (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress

About Jürgen Kress
As a middleware expert Jürgen works at Oracle EMEA Alliances and Channels, responsible for Oracle’s EMEA Fusion Middleware partner business. He is the founder of the Oracle SOA & BPM and the WebLogic Partner Communities and the global Oracle Partner Advisory Councils. With more than 5000 members from all over the world the Middleware Partner Community is the most successful and active community at Oracle. Jürgen manages the community with monthly newsletters, webcasts and conferences. He hosts his annual Fusion Middleware Partner Community Forums and the Fusion Middleware Summer Camps, where more than 200 partners get product updates, roadmap insights and hands-on trainings. Supplemented by many web 2.0 tools like twitter, discussion forums, online communities, blogs and wikis. For the SOA & Cloud Symposium by Thomas Erl, Jürgen is a member of the steering board. He is also a frequent speaker at conferences like the SOA & BPM Integration Days, JAX, UKOUG, OUGN, or OOP.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: