2. Please Note:
1
• IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole
discretion.
• Information regarding potential future products is intended to outline our general product direction and it should not be relied on in
making a purchasing decision.
• The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any
material, code or functionality. Information about potential future products may not be incorporated into any contract.
• The development, release, and timing of any future features or functionality described for our products remains at our sole discretion.
• Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual
throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the
amount of multiprogramming in the user’s job stream, the I/O configuration, the storage configuration, and the workload processed.
Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.
3. • John Chewter, IBM
– STSM, Chief Architect – API Testing & Service Virtualization
• Bill Alexander, IBM
– Architect – Rational Developer for z Systems
2
Introduction and background
4. • Shift Left testing
– RTW overview
• Modern mainframe application development
– RDz overview
• Example application
– Intro to zMobile Health Care app
• SQL event virtualization
– RDz, RIT and DB2
– Real data and virtualized data
• CICS program virtualization
– RDz, RIT and CICS
– Real programs and virtualized program stubs
• Testfrom the web service interface
– RDz and Generic Service Client using JSON/HTTP
– Real data and virtualized data
• Wrap up
3
Agenda
5. Rapid iterations
Develop Build Test Deploy
Production
API
Catalog
Develop Build Test Deploy
Slower iterations
Production
Systems of Interaction
Systems of Record
Digital
Applications
Enterprise
Applications
The Multispeed IT Problem
The customerasks:
How do we test these
scenarios?
6. Typical Challenges
Agile Agenda
IT Complexity
New technologies
Iterative delivery
Fast paced
Lots of Integration
Legacy Estate
Large scale
Complexity
Longer delivery
schedules
Financial
Constraints
Fewer people
Cloud Services
Value for money
Delivery Delays
Increased Cost
Increased Delivery Risk
Loss of expertise
Delivery commitments
New operating models
Ownership of Quality
Changein
Supplier/Governance
8. • 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
• IBM Rational Test Workbench
Supportfunctional, performance and integration
testing throughout your projectlifecycle
With a script less,wizard-driven test authoring
environment and supportfor more than 70
technologies and protocols
Load Agents
VirtualizationAgents
QA Team
On Premises
Test
Workbench
Functional Testing
Integration Testing
PerformanceTesting
RegressionTesting
Mobile Testing
Test
Servers
ABOUT THE SOLUTION – 1/2…RTW
Virtual Service Engines
Performance Engines
On Cloud
{
Hybrid
Dev Team
9. Modern mainframe application development – traditional resources
8
IBM Rational Developer for z Systems
Easy access to mainframe resources
Advanced editors and program understanding tools
Improved codequality through static analysis
Unit testing tools
Remote debugging
SCM integration
10. Modern mainframe application development – data tooling
9
IBM Rational Developer for z Systems
Easy access to databases
Edit tables, Load/Extract data, Run SQL,Generate DDL, Create Stored Procedures
Additional capabilities when IBM Data Studio is also installed
11. Modern mainframe application development – service enablement
10
IBM Rational Developer for z Systems
Enterprise Service Tools perspective is used for service enabling traditional mainframe applications
Advanced editors for JSON, WSDL,XML, XSD
Wizard driven tools for easy creation and deploymentof web service artifacts
Generic Service Client and Web ServicesExplorerfor service testing
12. 11
Monitors the user's physical
and mental well-being
Reminds the user when to
take his or her medications
and receives confirmations
Uses Bluetooth for
collectionof biosensor
information (heart-rate and
EEG)
Performs real-time graph
analytics of the user's
collected biometric and
electro-encephalogram
(EEG) data
Runs on Android and iOS
mobile devices
Example application
13. Dev environment overview
• RDz and RIT installed on workstation
• Rational Test Control Panel (RTCP)
– Web dashboard for managing stubs, agents, proxies
– Contains tools for use in various environments
• CLIP agents for DB2 on z virtualization
• CICS agents for (DPL)LINK virtualization
• MQ, HTTP, JDBC,CTG and other agents
12
RDz
RIT
Developer Workstation
RTCP
CLIPAgentfrontend
Developer Workstation
Or Network Computer
HTTP
In v8.7+ RTCP tools replace Rational Integration Tester Platform Pack
15. Dev and Test environment overview
14
• Compiled Language Interceptor Processor (CLIP)
– A two part distributed agent
– Front end on a Linux or Windows workstation
• One front end agent is capable of servicing
multiple z/OS hosts, DB2 subsystems and users
– Back end runs in the address space of your z/OS
application
• CADP transaction in CICS
– Manages profiles for intercepting DB2 calls
– Using CADP web interface allows for auto profile
creation
DB2
COBOL
CICS
CADP
CLIPAgentback end
User Application
RDz
RIT
Developer Workstation z System
RTCP
CLIPAgentfrontend
Developer Workstation
Or Network Computer
TCPIP
HTTP
In a batch scenario, CADP is not used . Instead use the TEST option with specific parameters for RIT.
16. Using RIT to prepare for DB2 virtualization
• Architecture School
– Create logical DB2 on z resource
• New > General > Database Server
– Create physical binding to z/OS, DB2, CICS and CADP
• Set Binding in > environment > Create new database
• Recording Studio
– Monitor the logical DB2 on z resource
• Make sure the CLIP agents are running
• Make sure the CADP profile is Active
– Record DB2 data
• Execute the live application
– Save data into a database stub 15
17. Modify and Create test data
16
• Test Factory
– Edit the database stub, using common tools
– Modify recorded test data
– Create new test data
– Run the stub
• Data from the stub is used without restarting the
application itself
• Progress barshows how oftenthe stub is
accessed
18. 17
• Run the CICS transaction
– Without the stub active
– Requests flow to actual database tables
– Newly created (virtual) data does not exist
• Run the CICS transaction
– With the stub active
– Requests flow to the stub, not the database
• Pass-through is also available
– Newly created (virtual) data is returned
Test the 3270 transaction
19. Example application + DB2 virtualization
18
z/OS
CICS Web
Services
CICS
Presentation logic
Add /
Update
Browse
3270 Client
DB2
• Test early
• Test often
• Test in isolation
• Reduce wait time
20. Bonus slide – MVS Batch DB2 virtualization
19
• Architecture School
– Create logical DB2 on z resource
– Create physical binding to z/OS, DB2
• Recording Studio
– Monitor the logical DB2 on z resource
• Make sure the CLIP agents are running
– Record DB2 data
• Execute the live application
– Save data into a database stub
• Test Factory
– Edit the database stub, using common tools
– Run the stub
• Include CLIP agent backend on SYSLIB
• Include TEST option and host:port for CLIP agent front end
• Include Environment variable for DBRM file location
• Include Environment variable for DB2 subsystem ID
22. Dev and Test environment overview
21
• Rational Integration Tester CICS TS Agent
– A two part agent for z/OS
– RITEXITC
• CICS exit which monitors DPL Calls
• One per CICS region
– RITAGENT
• Batch service that sets up communication to the exit
• One per LPAR
COBOL
CICS
RITEXITC
RITAGENT
User Application
RDz
RIT
Developer Workstation z System
RTCP
Developer Workstation
Or Network Computer
TCPIP
HTTP
Currently only COMMAREA is supported. Channel and containers is not supported.
23. Using RIT to prepare for DPL virtualization
• Architecture School
– Create logical CICS region
• New > IBM > IBM CICS Region
– Create physical binding to CICS
• Set Binding in > environment > Create new IBM CICS Server
– Create Recording Filters
• Recording Studio
– Monitor the logical CICS region
• Make sure the RITAGENT is running
– Record data used in Program LINK
• Execute the live application
– Save data into a stub 22
24. Modify and Create test data
23
• Test Factory
– Edit the stub, using COBOL data structure layout
– Modify recorded test data
– Create new test data
– Run the stub
• Data from the stub is used without
restarting the application itself
25. 24
• Run the CICS transaction
– Without the stub active
– Requests flow to actual program
– Actual program is executed
• Run the CICS transaction
– With the stub active
– Requests flow to the stub, not the program
• Pass-through is also available
– Actual program does not have to be ready
– Newly created (virtual) data is returned
Test linking to the program
26. Example application + DPL virtualization
25
z/OS
CICS Web
Services
CICS
Presentation logic
Add /
Update
Browse
3270 Client
DB2
• Test early
• Test often
• Test in isolation
• Reduce wait time
28. Dev and Test environment overview
27
• Rational Integration Tester HTTP Proxy
– IBM RIT HTTP Proxy Service
• Configured via registration.xml file
• Started by default, but can also use start.bat COBOL
CICS
User Application
RDz
RIT
Developer Workstation z System
RTCP
HTTP Proxy
Developer Workstation
Or Network Computer
TCPIP
HTTP
29. Using RIT to prepare for service virtualization
• Architecture School
– Create logical Web Server
• New > Web > HTTP Connection
– Create physical binding to CICS
• Set Binding in > environment > Create new Web Server
• Recording Studio
– Monitor the logical Web Server
• Make sure the HTTP Proxy service is running
• Make sure the service requester is configured to use an HTTP Proxy
– Record data used in web service
• Execute the live application
– Save data into a stub 28
30. Modify and Create test data
29
• Test Factory
– Edit the stub
– Using JSON Schema layout
– Modify recorded test data
– Create new test data
– Run the stub
• Data from the stub is used without
restarting the application itself
31. 30
• Run the service request
– Without the stub active
– Requests flow to actual web service
– Actual service is executed
• Run the service request
– With the stub active
– Requests flow to the stub, not the service
• Pass-through is also available
– Actual service does not have to be ready
– Newly created (virtual) data is returned
Test invoking the service
32. Example application + service virtualization
31
z/OS
CICS Web
Services
CICS
Presentation logic
Add /
Update
Browse
3270 Client
DB2
• Test early
• Test often
• Test in isolation
• Reduce wait time
REST
JSON
34. Benefits
33
Having a focused capability to quickly and easily access core services early in the development
cycle will ‘change the game’ for agile development within complex systems delivery projects
Much fastertime to provisionversus conventional environment stand-up times
Reduced technicaldebtforprojects
Increased productivity,and Shift Left increased projectquality
Decouple deliveryschedulesby working with virtual services priorto integration
Reduce delivery risk due to unmanaged dependencies
Reduction in total numberof environments
Lower costversus procurementof environments from 3rd
parties
Low TCO to consumeservice managed & delivered through virtualization
Lower dependenceon non-IT staffre-usable and self managed data
35. • Increase code quality
–Test early and often
–Shorten time between defect identification and defect resolution
• Reduce bottlenecks
–Eliminate the need to wait for colleagues (other developers, systems
administrators)
–Evolve your tests and stubs as you progress through the SDLC
34
Wrap up
36. • Rational Test Workbench: https://ibm.biz/BdHs5T
• Rational Developer for z Systems: https://ibm.biz/BdHkuU
• IBM DevOps page: http://ibm.com/DevOps
• IBM DevOps for Enterprise Systems: http://bit.ly/1PB02KS
• IBM Enterprise DevOps for z Systems cloud-based trial:
– https://ibm.biz/BdH666
• For Dummies books:
– https://ibm.biz/mmdevops
– http://ibm.co/devopsfordummies
– http://ibm.co/agilefordummies
– http://ibm.co/ServiceVirtualizationForDummies
– http://ibm.co/ARDfordummies 35
Resources
37. Related sessions of interest
Session # Title
3370A Service Testing in Enterprise Environments
2188B Delivering Quality Code: An Enterprise Developer's Perspective
1714A DevOps on z Systems at UBS: What is the Speed of a Caravan
in the Desert?
3329A Thomson Reuters' Use of RDz to Accelerate Development
through Mainframe Modernization
4098A Shaw Industries' Experience with Deployment and Adoption of
DevOps Tools in a Mainframe Shop
5565A System z DevOps Application Testing Meets LeftShift
3478A Continuous Integration and Deployment on Rational
Development and Test Environment for z Systems
36
39. Notices and Disclaimers Con’t.
38
Information concerning non-IBMproducts was obtained from the suppliers ofthose products,their published announcements or other publiclyavailable sources. IBM has not
tested those products in connection with this publication and cannotconfirm the accuracy of performance,compatibilityor any other claims related to non-IBM products.
Questions on the capabilities ofnon-IBM products should be addressed to the suppliers ofthose products.IBM does notwarrantthe 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, INCLUDINGBUT
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
The provision of the information contained h erein is notintended to, and does not, grantany right or license under anyIBM patents,copyrights,trademarks or other intellectual
property right.
IBM, the IBM logo,ibm.com,Aspera®,Bluemix,Blueworks Live,CICS, Clearcase,Cognos®,DOORS®,Emptoris®,Enterprise DocumentManagementSystem™,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 ofInternational Business
Machines Corporation,registered in manyjurisdictions worldwide.Other product and service names mightbe trademarks ofIBM or other companies.A current listof IBM
trademarks is available on the Web at "Copyright and trademark information"at: www.ibm.com/legal/copytrade.shtml.
40. Thank You
Your Feedback is Important!
Access the InterConnect 2016 Conference Attendee
Portal to complete your session surveys from your
smartphone,
laptop or conference kiosk.