Shift Left with Service Virtualization: Rational Test Workbench & Test Virtualization Server



Similar documents
Max Parker IBM Rational Quality Management Specialist. Focus on: Testing and Virtualisation in a complex world

CONTINUOUS INTEGRATION TESTING

IBM WebSphere ESB V6.0.1 Technical Product Overview

The Future of Testing: How Service Virtualization Changes the Game in Testing Complex Applications

DevOps for the Mainframe

Introduction to WebSphere Process Server and WebSphere Enterprise Service Bus

Develop and test faster by virtualizing constrained application components

IBM Software Group. IBM WebSphere Process Integration Technical Overview

Shifting Enterprise Development into the Fast Lane

Seeking Nirvana. Jason Collins Director Solution Sales ITKO, a CA Technologies company

ESB solutions Title. BWUG & GSE Subtitle guy.crets@i8c.be. xx.yy@i8c.be

SCA-based Enterprise Service Bus WebSphere ESB

DevOps: Multiplatform Application Deployment

Ce document a été téléchargé depuis le site de Precilog. - Services de test SOA, - Intégration de solutions de test.

Oracle Business Activity Monitoring 11g New Features

2015 IBM Continuous Engineering Open Labs Target to better LEARNING

The webmethods ESB. The Foundation of your SOA. Jean-Michel Ghyoot, Principal Solution Architect, March 28, 2013

WebSphere Integration Solutions. IBM Day Minsk Anton Litvinov WebSphere Connectivity Professional Central Eastern Europe

2692 : Accelerate Delivery with DevOps with IBM Urbancode Deploy and IBM Pure Application System Lab Instructions

SOA management challenges. After completing this topic, you should be able to: Explain the challenges of managing an SOA environment

Performance Testing + Service Virtualization: The one-two punch for applications that rock

Oracle SOA Suite: The Evaluation from 10g to 11g

Enterprise IT Architectures SOA Part 2

JBOSS ENTERPRISE SOA PLATFORM AND JBOSS ENTERPRISE DATA SERVICES PLATFORM VALUE PROPOSITION AND DIFFERENTIATION

Establish a Continuous Delivery Pipeline: IBM UrbanCode Deploy

Solutions for Quality Management in a Agile and Mobile World

Increased Agility with Integration Testing

Spoilt for Choice Which Integration Framework to choose? Mule ESB. Integration. Kai Wähner

SOA Planning Guide The Value Enablement Group, LLC. All rights reserved.

IBM SOA Foundation products overview

Redbook Overview Patterns: SOA Design with WebSphere Message Broker and WebSphere ESB

Automation and Virtualization, the pillars of Continuous Testing

Service Oriented Architecture Case: IBM SOA Reference Architecture

Tools and Methods to Address Complexity at Scale

Avoiding Web Services Chaos with WebSphere Service Registry and Repository

CloudBees Continuous Integration and Test with Appvance Enterprise August 28, 2013 Frank Cohen, (408)

Agile Development with Jazz and Rational Team Concert

Oracle Service Bus. Situation. Oracle Service Bus Primer. Product History and Evolution. Positioning. Usage Scenario

JBI and OpenESB. Introduction to Technology. Michael Czapski Advanced Solutions Architect, SOA/BI/Java CAPS Sun Microsystems, ANZ

The ESB and Microsoft BI

EAI OVERVIEW OF ENTERPRISE APPLICATION INTEGRATION CONCEPTS AND ARCHITECTURES. Enterprise Application Integration. Peter R. Egli INDIGOO.

Collaborative DevOps Learn the magic of Continuous Delivery. Saurabh Agarwal Product Engineering, DevOps Solutions

HP Service Virtualization (HP SV) Remove delay-causing roadblocks in development and testing

Modern SOA Testing. A Practitioners Guide to. July 2011

Enterprise Manager 12c for Middleware

Developing SOA solutions using IBM SOA Foundation

DevOps Best Practices for Mobile Apps. Sanjeev Sharma IBM Software Group

Continuous???? Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

WELCOME TO Open Source Enterprise Architecture

Business Process Management Tampereen Teknillinen Yliopisto

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Business Process Management Enabled by SOA

Getting started with API testing

Use service virtualization to remove testing bottlenecks

The Information Revolution for the Enterprise

Monitoring and Log Management in Hybrid Cloud Environments

Continuous Testing of Service-Oriented Applications Using Service Virtualization

Federal Secure Cloud Testing as a Service - TaaS Center of Excellence (CoE) Robert L. Linton

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into

WebSphere Business Modeler

Extending IBM WebSphere MQ and WebSphere Message Broker to the Clouds Session 14238

Take full advantage of IBM s IDEs for end- to- end mobile development

BMC Middleware Management.

Rational Quality Manager. Quick Start Tutorial

AutoPilot Middleware-Centric Application Performance Monitoring

PureApplication Meet the Experts The New Virtual Pattern. Location: Raleigh, North Carolina Date: September 24-25, 2014 Speaker(s): Lin Sun

The Challenges in Real Life ESB Deployments

A standards-based approach to application integration

How To Test For Performance

General Introduction to IBM (R) Rational (R) Asset Manager

Spring 2011 Conference Sandanski, May 13th 15th 2011 Oracle SOA Suite 11g Rapid service integration and process automation with a no-coding approach

Enterprise Data Solutions Product Strategy and Vision Process-driven IT Modernization, Natural and Adabas

Integrating Siebel CRM 8 with Oracle Applications

Tomáš Müller IT Architekt 21/04/2010 ČVUT FEL: SOA & Enterprise Service Bus IBM Corporation

Business Assurance & Testing QEx Automation Platform

SNUG June 16, 2006 The Future of PeopleSoft Integration

Borland Silk Performer Synthetic Transaction Monitoring for BMC Software

Enterprise Integration Architectures for the Financial Services and Insurance Industries

Best Practices for Building Mobile Web

Sadržaj seminara: SOA Architecture. - SOA Business Challenges s: Billion Dollar Lock-In. - Integration Tools. - Point-to-Point Approach

Load and Performance Load Testing. RadView Software October

Discovering the value of IBM Integration Bus V9 for your ESB and SOA

Overview: Siebel Enterprise Application Integration. Siebel Innovation Pack 2013 Version 8.1/8.2 September 2013

Gulf Breeze Discusses Application Monitoring Using IBM APM and Log Analysis. Anthony Segelhorst Gulf Breeze Software Partners Expo Booth: 169

DSZ-3732 Secure Mainframe Development in the Cloud has Arrived

IBM DevOps for Enterprise Systems DevOps for z Systems Is Essential To Deliver Real Business Outcomes

Know the Difference. Unified Functional Testing (UFT) and Lean Functional Testing (LeanFT) from HP

Core Feature Comparison between. XML / SOA Gateways. and. Web Application Firewalls. Jason Macy jmacy@forumsys.com CTO, Forum Systems

MD Link Integration MDI Solutions Limited

IIB for Everyone: Affordable Integration

Perfect Your Mobile App with Load Testing and Test Automation

Integration in Action using JBoss Middleware. Ashokraj Natarajan - Cognizant

Transcription:

Shift Left with Service Virtualization: Rational Test Workbench & Test Virtualization Server Khurram Nizami (knizami@us.ibm.com) 0 2014 IBM Corporation

1 2014 IBM Corporation

Only one-tenth of an iceberg is above water IBM Competitive Project Office Traditional UI testing: Automated Integration Testing and Service Virtualization: Presentation layer Integrations, data and business logic 2 The majority of risk in modern systems is seldom tested as it is unseen.

Complexity increases as your points of integration increase. 4 systems 6 interactions 5 systems 10 interactions 12 systems 66 interactions Types of systems and interfaces? Availability of systems? Collectively? Cost to interact with the systems? Difficulty in setting up test systems? Lets just deal with it later.. 3

Today, integration of enterprise applications still follow the big-bang approach Integrate Integrate Big Bang! Big Bang! Mobile component Web component Mainframe component typ. 6 Weeks 1 week typ. 6 Weeks 1 week 4

Relative Cost to Repair IBM Competitive Project Office Software quality fact: errors caught early cost less to fix... Bugs/failures are exponentially more expensive the longer they go uncaught Extends to analysis, requirements, development, and everywhere across the application lifecycle 34% of software projects are deemed successful costing $300B annually 30% of project costs are due to rework and poor execution of requirements 50% of outsourced projects are expected to under perform Stage in which Error is Discovered 200x 50x 20x 1.5x 5x 10x Analysis Design Coding Unit Test Acceptance Maintenance 5 5

Shift Left focus on testing high risk areas earlier in the development lifecycle Development Testing Staging Production Automated Integration Testing Traditional UI Tools Testing only at the UI level provides little confidence for deployment of complex distributed systems UNIT SERVICE UI Testing must be shifted left with focus on testing the highest areas of risk Shift Left Service Virtualization Service virtualization can be applied at all phases even allowing integration testing to begin in parallel with Unit Testing. 6

With virtual testing, the big bang is eliminated from the process Requirements Unit Tests Big Bang Accelerates testing Reduces costs Lowers risk Integration Tests System Tests System Tests UAT OAT Performance 7 7

We could just write up some stub code Not a bad idea, for short lived apps, simple scenarios and limited 8 sets of integrations public class TestStockAnalyzer { public class TestStockAnalyzer { public void TestMethod1() public void TestMethod1() { { // Arrange: // Arrange: var analyzer = new StockAnalyzer(); var analyzer = new StockAnalyzer(); // Act: // Act: var result = analyzer.getcontosoprice(); var result = analyzer.getcontosoprice(); // Assert: // Assert: Assert.AreEqual(123, result); // Why 123? Assert.AreEqual(123, result); // Why 123? } } } } public class StockAnalyzer { public class StockAnalyzer { public int GetContosoPrice(){ public int GetContosoPrice(){ var stockfeed = new StockFeedStub(); var stockfeed = new StockFeed(); return stockfeed.getshareprice("cooo");}} return stockfeed.getshareprice("cooo");}} } } public class StockFeed { public class StockFeedStub { //this stuff isn t ready, isn t available yet, is expensive to use, or public float GetSharePrice(string stock) { some other reason return 123.00; } } } Hybrid Cloud DevOps

Shift Left with Service Virtualization Service virtualization can replace components and databases in complex test scenarios. 9 Service virtualization can work with any type of test manual, automated or performance

Stubs or virtual components allow developers and testers to start integration tests early The idea of stubs is not new Developers used them for decades to simulate interfaces and behaviour of the components that were not available for testing Components are introduced into the continuous integration cycle in a prioritized, controlled fashion. Components not yet built or components that cannot be accessed in the Development can be simulated and tested against. actual component Incremental Integration Testing 10 a stub that replaces a component that does not exist yet or cannot be accessed in dev and test

Transports and Formats IBM Rational Test Virtualization Server supports multiple platforms and protocols The building blocks of an integration test or virtualized service The transport is the technology that carries your message. E.g. HTTP Several transports have advanced support e.g. sift and pass through PAYLOAD The format is the type of message that is carried on the transport e.g. XML Formats are presented in an easily readable and configurable tree structure The payload is the contents of the message fields Fields can be parameterized using data sources 11

Testing and Virtualizing Web Technologies Accelerator WSDL SOAP JSON Accelerator XSD XML REST WADL RECORD HTTP(s) TCP UDP 12 Record transactions Or use accelerators such as WSDLs to short cut the process Build tests and stubs across a range of supported protocols and formats

13 Supporting technologies the business depends on IBM Rational Test Virtualization Server supports multiple platforms and protocols Protocols, message formats, and technologies 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

Integration testing is interrelated and connected to your other aspects of application testing Maintenance Analysis Requirements Release to Production Testing Acceptance System Performance Integration Testing Functional Testing Coding Unit Testing 14 All of these tests must be planned. Artifacts created by tests need to be managed, linked to other development artifacts, and analyzed. 14

Rational also offers a complete suite of testing tools Rational Functional Tester Record, enhance, and execute automated tests Java and/or Visual Studio generated test scripts Rational Test Workbench Rational Performance Tester Root cause analysis Performance loads Automated script capture and playback Rational Integration Tester Web service visual editors WS-BPEL testing Code-free testing Adapters 10 Rational Quality Manager Test Planning: Comprehensive test plan, Shared objectives, Scope, Timeline, Resources, Risk assessment Test Execution: Manual test execution, Use test automation tools, Record test results, Submit & track defects Team Collaboration: Process enactment and enforcement, reviews, task management, Rapid team member on-boarding Test Construction: Requirement-driven testing, Test environments coverage, Manual test authoring, Test lab management Reporting & Dashboard: Status & progress tracking, Customizable live dashboard, Real-time metrics and reports, Compliance and quality audit Jazz Team Server 15

Service Virtualization Rational Quality Manager Test Management and Manual Testing Rational Test Virtualization Server Webservices Databases MQ Mainframes Middleware and others Urban Code Automated Deployment Version Control RTC and others APM ITCAM and others Automated Testing Rational Test Workbench and others Test Data Optim and others Continuous Integration Jenkins and others 16

Continuous Combining Testing continuous from build testing to with production Reliable, repeatable, & traceable deployment automation Orchestrate and automate the deployment and testing of applications, middleware configuration, and database changes into development, test and production environments. IBM UrbanCode Deploy Test Environments virtual components integrated with Databases Internal Messages Third-party Services IBM InfoSphere Optim Test Data Mgmt Deploy private, secure right sized test data IBM Rational Test Virtualization Server IBM Rational Test Workbench Deploy what is ready, virtualize the rest Continuously test in production-like env. Dev QA Simultaneously test across multiple test stages IBM Rational Quality Manager UC Deploy Plugins Manage quality across the delivery lifecycle Dynamic Infrastructure 17

Continuous testing and continuous deployment Continuous Deployment Continuous Testing = RIT/RTVS = URBANCODE UrbanCode Automated Deploy Integration Testing 1 2 Service Virtualization 3 18 1. UrbanCode Deploy enables continuous deployment of available environments into the targeted infrastructure 2. RTW/RIT can automatically test the deployment and integration of that environment - do the components communicate correctly? 3. Service Virtualization allows the testers to: a. Stand up virtual services in place of components that are unavailable (not built yet, too expensive, resource contention, 3 rd parties etc.) b. Plan for test conditions, such as negative testing that may not be possible with the real components.

Continuous testing with virtualized services Rational Team Concert Build Deploy Jenkins Automating deployment and testing to production-like environments Dev QA Application changes being tested IBM UrbanCode Deploy RTW plugin RTVS plugin Test Rational Test Workbench Databases Mainframe applications Third-party Services Virtualized Services Rational Test Virtualization Server 19

RQM and Service Virtualization Invocation RQM RTCP / RTVS RTW / RIT Create Test Case Publish Virtual Service Create Virtual Test Service Associate Test with Virtual Service Start Virtual Service Run Test Stop Virtual Service 20 Rational Quality Manager 20 Virtual Service Logs linked to Test Case Result Rational Test Control Panel Rational Test Virtualization Server RTW: Rational Test Workbench RIT: Rational Integration Tester

The Coca-Cola Company decreased production defects by 26-50% with IBM Business Challenges: Quality issues/defects found in production Insufficient or unavailable test environments The Solution: The Coca-Cola Company chose IBM s service virtualization and automated integration testing solution over other offerings for the following reasons: broadest support for the technologies in their environment; cost of the solution; realizing increased developer and tester productivity. Software: IBM Rational Test Virtualization Server, IBM Rational Test Workbench 26-50% Decreased Defects in production 26-50% Accelerated Project delivery 26-50% Reduced Cost of testing 26-50% Improved Team productivity 21 http://www.techvalidate.com/tvid/1b0-fca-9ad

DEMO 22

Approach to get started with Virtualization Discover Configure Virtualize Model Deploy Execute Identify testing pain points Understand IT technologies Review use cases Initiate ROI analysis Understand testing methodology Install and configure SV software Configure transactions / protocols Configure services Build additional AV test cases Execute specified test cases Listen and capture transactions Build negative test case Refine ROI Model behavior of transactions Model negative test cases Model perfect storm test cases Apply metrics to virtual models Deploy models to virtual environment Configure SUT connections Execute specified test cases Capture test results Capture and measure results Recommend next steps 23

24