22
Speed the development of robust integrations with IBM Integration Bus and Rational Integration Tester Carsten Börnert – Integration Specialist Emanuel Stanciu – Cloud DevOps Specialist

HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Embed Size (px)

Citation preview

Page 1: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Speed the development of robust integrations with IBM Integration Bus and Rational Integration Tester

Carsten Börnert – Integration SpecialistEmanuel Stanciu – Cloud DevOps Specialist

Page 2: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Agenda

1. Introduction

2. Testing capabilities in IBM Integration Bus (IIB) v10

3. Rational Integration Tester – Overview

4. Implementing stubs for use with IIB

5. Test suites and Continuous integration

6. Demo

2

Page 3: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Introduction

Page 4: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Scope of testing

• Applications, Services, Libraries using a variety of transports, formats and subflows

• Unit testing – how big/small is a unit?• Message transformation• Message routing• Subflows

• System testing – what exactly constitutes the system?• The system is the Message Flow

• System integration testing• End-to-end interactions

4

Page 5: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Testing capabilities in IBM Integration Bus v10

Page 6: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

IIB v10 Flow Exerciser

• Introducing the flow exerciser• Save messages• Trace path through flow• Inject messages

• Supported nodes• MQInput, HTTPInput, SOAPInput

• Use for testing of• Subflows• Message transformations• Message model testing• Error handling

• Using API to automate• Java or REST

6

Check out the blog on developer.ibm.com/integrationhttps://developer.ibm.com/integration/blog/2015/06/03/using-flow-exerciser-iib-v10/

Page 7: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Rational Integration TesterOverview

7

Page 8: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Presentation layer

Integrations, data and business logic

Only one-tenth of an iceberg is above water

Traditional UI testing

Automated Integration Testing and Service Virtualization

The majority of risk in modern systems is seldom tested as it is unseen.

Page 9: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Today, integration of enterprise applications still follow the “big-bang” approach …

• Integration amongst different components of the enterprise application occur at the end of a milestone in a “big-bang”

• Difficult to continuously integrate and deploy across different technology stacks and varying delivery schedules. Very hard for different teams to collaborate together on interim builds inside a milestone

Mobilecomponent

Webcomponent

Mainframecomponent

1 week

Big Bang

!

1 week

Big Bang

!

Page 10: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Tests can bypass the UI and execute beneath the iceberg.

Test while your system is being built and at an accelerated rate. Much greater coverage = much

greater confidence

Introduces the concept of testing side effects. Validate the contents of message queues, log files and databases as well as simple inputs/outputs.

Shift Left with Automated Integration Testing

Page 11: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

The Continuous Testing Solution: RTW, RPTS, RTVS

• IBM Rational Test Workbench– Enable functional, performance and integration testing

throughout your project lifecycle– With a scriptless, wizard-driven test authoring

environment and support for more than 70 technologies and protocols

• IBM Rational Performance Test Server– Save time and effort by reusing your functional integration

tests for performance testing– Combine your tests to model real-world scenarios and

assess the impact of load on your integrated infrastructure.

• IBM Rational Test Virtualization Server– Model real system behavior to eliminate test

dependencies and simulate production, – Accelerate testing and reduce the setup and

infrastructure costs of traditional testing environments.

Test Servers

Load AgentsVirtualization Agents

QA DEV

Page 12: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

The bottom lineUsing IBM’s test automation and virtualization can eliminate long back-end test cycles, increase quality, and lower risk.

Test early and continuously with virtualization•Verify and validate the technical solution for a business change without waiting for the complete technical solution to be built.

Test integrations•Most of the risk of business change lies at the integration layer and WebSphere solutions need to be tested below the UI.•Verify side effects such as database writes or log file updates for greater confidence.

Test performance•Verify scalability after upgrading or migrating to the WebSphere platform.•Be confident before you add new business workloads.

Minimize Risk with RTW and RTVS

Page 13: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

IBM Rational Test Virtualization Serversupports multiple platforms and protocols

Transport/Protocol Message Formats Technologies• ActiveMQ• Email (SMTP, IMAP)• Files• FTP/S• HTTP/S• WebSphere MQ• Java RMI• JMS• SAP IDoc, BAPI, RFC • Software AG’s IB & IS• Sonic MQ• TCP/IP• TIBCO Rendezvous, Smart

Sockets & EMS• CICS TG• CICS IPIC• IMS Connect• MQTT

• .Net Objects• Bytes• COBOL Copybook• ebXML• ASC X12• UN/EDIFACT• DFDL• Fixed Width• Java Objects• MIME• SOAP• Software AG Broker Docs• SWIFT• CHIPS• FedWire• TIBCO ActiveEnterprise• HL7 v3• XML (DTD, XSD, WSDL)• ISO8583• Custom

• CentraSite• Oracle Fusion• SCA Domain• Software AG IS, Broker,

BPMS• WebSphere Application

Server• WebSphere Message Broker• WebSphere MQ• Websphere SI Bus• Sonic ESB• System z (CICS and IMS)• TIBCO ActiveMatrix• UDDI• Web Services• WebSphere RR• WSDL• BPM• Databases• Log Files

Supporting technologies the business depends onProtocols, message formats, and technologies

Page 14: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Test suites and Continuous Integration

Page 15: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Continuous testing with virtualized services

Automating deployment and testing to production-like environments

Databases Mainframeapplications

Third-partyServices

Rational Test Virtualization Server

Deploy

Application changes being tested

virtualized services

Dev QA

Rational Team

Concert

JenkinsBuild

Deploy

Rational Test Workbench

Test

Deploy

IBM UrbanCode DeployRTW plugin

RTVS plugin

Page 16: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Testing and Virtualizing Web Technologies

HTTP(s)

XML REST

SOAP JSON

TCP UDP

XSD

WSDL

WADL

RECORD

RECORD

Accelerator

Accelerator

Page 17: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

SWIFT/MQ

HL7/TCP

X12/SOAP

JSON/REST

IBMIntegrationBus

SAP PI

CICS

Database

App Server

Integration Testing and Service Virtualization can significantly de-risk the migration and reduce the time required.

Development/test teams can build against virtual services and test early and test continuously using messages captured from the real systems. Exception/edge case testing is much easier to do.

RTW understands a wide range of technologies and messaging protocols (including DFDL) making it well-aligned to IIB users

Most Orchestration Engines have their own proprietary runtime (unlike JEE) which means migration between vendors involves risk as development is required. Test environments are expensive and it is extremely difficult to fault-find in an environment with many moving parts

Example Scenario:IBM Integration Bus – Migration from other vendors

Page 18: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

WebSphere ESB Support Timeline

WESB 6.2

WESB 7.0

WESB 7.5, 7.5.1

IBM Integration BusMessage Broker

2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019

Convert artefacts

for use with IIB

PreviouslyAnnounced EOS for

WESB 6.2

Re-announced EOS for WESB 6.2

April 2018

Convert

Page 19: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Demo

Page 20: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Thank YouYour Feedback is Important!

Access the InterConnect 2016 Conference Attendee Portal to complete your session surveys from your

smartphone, laptop or conference kiosk.

Page 21: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Notices and Disclaimers

23

Copyright © 2016 by International Business Machines Corporation (IBM). No part of this document may be reproduced or transmitted in any form without written permission from IBM.

U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM.

Information in these presentations (including information relating to products that have not yet been announced by IBM) has been reviewed for accuracy as of the date of initial publication and could include unintentional technical or typographical errors. IBM shall have no responsibility to update this information. THIS DOCUMENT IS DISTRIBUTED "AS IS" WITHOUT ANY WARRANTY, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL IBM BE LIABLE FOR ANY DAMAGE ARISING FROM THE USE OF THIS INFORMATION, INCLUDING BUT NOT LIMITED TO, LOSS OF DATA, BUSINESS INTERRUPTION, LOSS OF PROFIT OR LOSS OF OPPORTUNITY. IBM products and services are warranted according to the terms and conditions of the agreements under which they are provided.

Any statements regarding IBM's future direction, intent or product plans are subject to change or withdrawal without notice.

Performance data contained herein was generally obtained in a controlled, isolated environments. Customer examples are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual performance, cost, savings or other results in other operating environments may vary.

References in this document to IBM products, programs, or services does not imply that IBM intends to make such products, programs or services available in all countries in which IBM operates or does business.

Workshops, sessions and associated materials may have been prepared by independent session speakers, and do not necessarily reflect the views of IBM. All materials and discussions are provided for informational purposes only, and are neither intended to, nor shall constitute legal or other guidance or advice to any individual participant or their specific situation.

It is the customer’s responsibility to insure its own compliance with legal requirements and to obtain advice of competent legal counsel as to the identification and interpretation of any relevant laws and regulatory requirements that may affect the customer’s business and any actions the customer may need to take to comply with such laws. IBM does not provide legal advice or represent or warrant that its services or products will ensure that the customer is in compliance with any law

Page 22: HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bus and Rational Integration Tester

Notices and Disclaimers Con’t.

24

Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products in connection with this publication and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. IBM does not warrant the quality of any third-party products, or the ability of any such third-party products to interoperate with IBM’s products. IBM EXPRESSLY DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

The provision of the information contained h erein is not intended to, and does not, grant any right or license under any IBM patents, copyrights, trademarks or other intellectual property right.

IBM, the IBM logo, ibm.com, Aspera®, Bluemix, Blueworks Live, CICS, Clearcase, Cognos®, DOORS®, Emptoris®, Enterprise Document Management System™, FASP®, FileNet®, Global Business Services ®, Global Technology Services ®, IBM ExperienceOne™, IBM SmartCloud®, IBM Social Business®, Information on Demand, ILOG, Maximo®, MQIntegrator®, MQSeries®, Netcool®, OMEGAMON, OpenPower, PureAnalytics™, PureApplication®, pureCluster™, PureCoverage®, PureData®, PureExperience®, PureFlex®, pureQuery®, pureScale®, PureSystems®, QRadar®, Rational®, Rhapsody®, Smarter Commerce®, SoDA, SPSS, Sterling Commerce®, StoredIQ, Tealeaf®, Tivoli®, Trusteer®, Unica®, urban{code}®, Watson, WebSphere®, Worklight®, X-Force® and System z® Z/OS, are trademarks of International Business Machines Corporation, registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at: www.ibm.com/legal/copytrade.shtml.