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.
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.
For regular information on Oracle PaaS become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.