SlideShare a Scribd company logo
1 of 26
Download to read offline
Pre-Con Education: It's the 2010s.
Why Are You Still Manually Writing Tests?
Chris Kraus
DevOps: Continuous Delivery
CA Technologies
Product Manager
DO4X81E
@ChrisKraus3
#CAWorld
2 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
For Informational Purposes Only
Terms of this Presentation
© 2015 CA. All rights reserved. All trademarks referenced herein belong to their respective companies. The presentation provided at CA
World 2015 is intended for information purposes only and does not form any type of warranty. Some of the specific slides with customer
references relate to customer's specific use and experience of CA products and solutions so actual results may vary.
Certain information in this presentation may outline CA’s general product direction. This presentation shall not serve to (i) affect the rights
and/or obligations of CA or its licensees under any existing or future license agreement or services agreement relating to any CA software
product; or (ii) amend any product documentation or specifications for any CA software product. This presentation is based on current
information and resource allocations as of November 18, 2015, and is subject to change or withdrawal by CA at any time without notice. The
development, release and timing of any features or functionality described in this presentation remain at CA’s sole discretion.
Notwithstanding anything in this presentation to the contrary, upon the general availability of any future CA product release referenced in
this presentation, CA may make such release available to new licensees in the form of a regularly scheduled major product release. Such
release may be made available to licensees of the product who are active subscribers to CA maintenance and support, on a when and if-
available basis. The information in this presentation is not deemed to be incorporated into any contract.
3 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Abstract
What's in a test? We invoke an Application Programming Interface (API)
test hoping to validate business logic and update the system of record,
but why is it so hard to find those systems of record? This introductory
session will explain and demonstrate how CA Continuous Application
Insight (CA CAI) can observe a manual test and then generate tests for
web UI APIs by creating the database validation steps for you. We will
also show you how CA CAI can be used to generate 1000’s of tests vs.
spending days getting the validation right for a single manual test!
Chris Kraus
CA Technologies
Product Manager
4 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Agenda
WHERE ARE THE API’?
FINDING THE APIs WITH CA CAI
WHAT ARE BASELINE, DATA DRIVEN, AND EXPANDED TESTS?
HIGH FIDELITY TESTS – REMOVE HUMAN EDITING OF API TESTS
DEMO
1
2
3
4
5
5 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Where Are the APIs – I Know I Saw Them on a Whiteboard
6 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Finding the APIs
ESB
Mobile
applications and
Rich browser
applications
Services provided
by the ESB
Data being
serviced up by
ESB
7 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
What Does CA Continuous Application Insight Consider an API?
 Broad definition of “service” or API
– Requests data from a app server where
we have a agent
– Lines between agents that follow the
transactions
– REST and SOAP requests for data from
browser application
8 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
CA Continuous Application Insight
Common API’s button
 A Common API is one
that more than 1 agent
has consumed
 Focus the analysis on 1st
call into the application not
the buried “shared code”
 The transactions are now
from different consumers
perspective
9 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
What Are These Tests Generated by
CA Continuous Application Insight?
 Baseline Test (Expanded)
– A baseline test is the most simple replay a observed requests
– Validate the same response code returned
– Graphical Side by Side diff on XML
– A separate test is generated for each observed request and response
– A suite is generated to run all of the tests
– A alternate.config is generated for each baseline
IS THE SYSTEM BEHAVING THE SAME WAY IT DID IN THE PAST?
10 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
11 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
What Are These Tests Generated by
CA Continuous Application Insight?
 Invoke and Verify Test (Expanded with database validation)
– Transaction path can traverse multiple agents
– Single step test 1 invoke and DB steps follow
– Database Validation generated to ensure SOR has been updated
 Insert
 Update
 Delete
DID THE SYSTEM OF RECORD GET UPDATED? DID THE ERROR GET HIDDEN BEHIND THE UI?
12 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
13 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
What Are These Tests Generated by
CA Continuous Application Insight?
 Data Driven tests
– Same as Baseline, but a Large Data Set (LDS) is used to drive test
– When you need to modify the generated test use this – 1 test many
rows of data
– Refresh the data with RR pair generation
IS THE SYSTEM BEHAVING THE SAME WAY IT DID IN THE PAST? – BUT I NEED TO UPDATE TEST
14 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
15 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
What Are These Tests Generated by
CA Continuous Application Insight?
 Functional Test Cases (tests generated from document
transactions)
– The tests follow the API’s of the user’s journey through the application
– Tests contain multiple steps in the order a user ran them
– High Fidelity test generated
 Datasets for input data
 Filters for passing data between steps
– Supports invoke and verify (database validation)
API TEST FOLLOWS THE USERS JOURNEY THROUGH THE APPLICATION
16 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
17 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
What Are These Tests Generated by
CA Continuous Application Insight?
 Functional Test Cases from Browser (Chrome Browser plugin -
no agent required)
– The tests follow the API’s of the users journey through the application
– Tests contain multiple steps in the order a user ran them
– High Fidelity test generated
 Datasets for input data
 Filters for passing data between steps
– Supports invoke and verify (database validation) when agent is
instrumenting backend
API TEST FOLLOWS THE USERS JOURNEY THROUGH THE BROWSER
18 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
19 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
20 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
High Fidelity Tests – Remove Human Editing of API Tests
 Externalize connections to SUT – alternate.config
 Create datasets for test input so data can be changed and
expanded
 Filter response data and parameterize into the next step
 Reverse back JDBC calls into validation steps
 Test Templates – provide test to handle login, sessions, and
customization
21 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Demos
Baseline Test FidelityInvoke and
Verify
Functional
Test
22 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Q & A
23 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Recommended Sessions
SESSION # TITLE DATE/TIME
DO3T06S
The CA Roadmap for Service Virtualization and the Dev
and Test Portfolio
11/18/2015 at 2:00 pm
DO3T38T
Tech Talk: Extreme Automation—Creating Headless Tests
“Automagically”
11/18/2015 at 3:00 pm
DO4T27T
Tech Talk: Building Regression Tests to Increase Velocity
and Prevent Things from “Going Boom” in the Night
11/19/2015 at 11:30 am
24 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Must See Demos
Application
Test Demo
Create Better
Application Tests
Theater 4
DevOps Sim
DevOps Simulation
Experience
Theater 3
Continuous
App Insight
Automate Tests for
Better Apps
Theater 4
Service
Virtualization
Deliver Better Apps
Faster with SV
Theater 3
25 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Follow On Conversations At…
Smart Bar
Theaters 3 & 4
Tech Talks
Theaters 3 & 4
26 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
For More Information
To learn more, please visit:
http://cainc.to/Nv2VOe
CA World ’15

More Related Content

What's hot

What's hot (20)

Tech Talk: Master Your Continuous Delivery Pipeline with a New Level of Orche...
Tech Talk: Master Your Continuous Delivery Pipeline with a New Level of Orche...Tech Talk: Master Your Continuous Delivery Pipeline with a New Level of Orche...
Tech Talk: Master Your Continuous Delivery Pipeline with a New Level of Orche...
 
Application Testing Best Practices for Mobile Devices
Application Testing Best Practices for Mobile DevicesApplication Testing Best Practices for Mobile Devices
Application Testing Best Practices for Mobile Devices
 
How CA Technologies Enables Its Own Employees and Secures Access to Applicati...
How CA Technologies Enables Its Own Employees and Secures Access to Applicati...How CA Technologies Enables Its Own Employees and Secures Access to Applicati...
How CA Technologies Enables Its Own Employees and Secures Access to Applicati...
 
How Active Automation can Deliver in the Application Economy
How Active Automation can Deliver in the Application EconomyHow Active Automation can Deliver in the Application Economy
How Active Automation can Deliver in the Application Economy
 
Orchestrating Legacy Services Into Contemporary RESTful WEB APIs With CA App ...
Orchestrating Legacy Services Into Contemporary RESTful WEB APIs With CA App ...Orchestrating Legacy Services Into Contemporary RESTful WEB APIs With CA App ...
Orchestrating Legacy Services Into Contemporary RESTful WEB APIs With CA App ...
 
TechTalk: Extreme Automation Creating Headless Tests “Automagically”
TechTalk: Extreme Automation Creating Headless Tests “Automagically”TechTalk: Extreme Automation Creating Headless Tests “Automagically”
TechTalk: Extreme Automation Creating Headless Tests “Automagically”
 
CA Agile Central (formerly Rally) Inside DevOps
CA Agile Central (formerly Rally) Inside DevOpsCA Agile Central (formerly Rally) Inside DevOps
CA Agile Central (formerly Rally) Inside DevOps
 
Case Study: Rogers Communications Integrates CA API Management and CA Service...
Case Study: Rogers Communications Integrates CA API Management and CA Service...Case Study: Rogers Communications Integrates CA API Management and CA Service...
Case Study: Rogers Communications Integrates CA API Management and CA Service...
 
American Family Insurance Shifts to a Mobile-First Development Strategy with ...
American Family Insurance Shifts to a Mobile-First Development Strategy with ...American Family Insurance Shifts to a Mobile-First Development Strategy with ...
American Family Insurance Shifts to a Mobile-First Development Strategy with ...
 
Technology Primer: Save Money and Improve Service by Replacing "Free" Native ...
Technology Primer: Save Money and Improve Service by Replacing "Free" Native ...Technology Primer: Save Money and Improve Service by Replacing "Free" Native ...
Technology Primer: Save Money and Improve Service by Replacing "Free" Native ...
 
Blazing Fast Testing for Blazing Fast Apps
Blazing Fast Testing for Blazing Fast AppsBlazing Fast Testing for Blazing Fast Apps
Blazing Fast Testing for Blazing Fast Apps
 
Case Study: Nordstrom Takes Retail Relief for Test Data Management
Case Study: Nordstrom Takes Retail Relief for Test Data ManagementCase Study: Nordstrom Takes Retail Relief for Test Data Management
Case Study: Nordstrom Takes Retail Relief for Test Data Management
 
Hands-On Lab: Take CA Release Automation for a Test Drive
Hands-On Lab: Take CA Release Automation for a Test DriveHands-On Lab: Take CA Release Automation for a Test Drive
Hands-On Lab: Take CA Release Automation for a Test Drive
 
TechTalk: Reduce Risk with Canary Deployments
TechTalk: Reduce Risk with Canary DeploymentsTechTalk: Reduce Risk with Canary Deployments
TechTalk: Reduce Risk with Canary Deployments
 
Hands-On Lab: CA Spectrum : How To Leverage UI Updates For Operational Effic...
Hands-On Lab: CA Spectrum: How To Leverage UI Updates For Operational Effic...Hands-On Lab: CA Spectrum: How To Leverage UI Updates For Operational Effic...
Hands-On Lab: CA Spectrum : How To Leverage UI Updates For Operational Effic...
 
Technology Primer: Monitor Node.js App Performance and the Impact to DevOps w...
Technology Primer: Monitor Node.js App Performance and the Impact to DevOps w...Technology Primer: Monitor Node.js App Performance and the Impact to DevOps w...
Technology Primer: Monitor Node.js App Performance and the Impact to DevOps w...
 
Move as Fast as Your Users with Mobile Test Automation
Move as Fast as Your Users with Mobile Test AutomationMove as Fast as Your Users with Mobile Test Automation
Move as Fast as Your Users with Mobile Test Automation
 
Technology Primer: Building Applications the New-Fashioned Way
Technology Primer: Building Applications the New-Fashioned WayTechnology Primer: Building Applications the New-Fashioned Way
Technology Primer: Building Applications the New-Fashioned Way
 
Create Great Quarterly Plans While Eliminating Planning Waste
Create Great Quarterly Plans While Eliminating Planning WasteCreate Great Quarterly Plans While Eliminating Planning Waste
Create Great Quarterly Plans While Eliminating Planning Waste
 
Getting the Most from Your CA Advanced Authentication Solution
Getting the Most from Your CA Advanced Authentication SolutionGetting the Most from Your CA Advanced Authentication Solution
Getting the Most from Your CA Advanced Authentication Solution
 

Viewers also liked (8)

Instagram
InstagramInstagram
Instagram
 
NavCon-Flyer
NavCon-FlyerNavCon-Flyer
NavCon-Flyer
 
Codeu+git+flow+presentation
Codeu+git+flow+presentationCodeu+git+flow+presentation
Codeu+git+flow+presentation
 
Pd lighting projecten wilgenhaege_02_f831b4c6.jpg&resolution=730x430
Pd lighting projecten wilgenhaege_02_f831b4c6.jpg&resolution=730x430Pd lighting projecten wilgenhaege_02_f831b4c6.jpg&resolution=730x430
Pd lighting projecten wilgenhaege_02_f831b4c6.jpg&resolution=730x430
 
Social Network Doping
Social Network DopingSocial Network Doping
Social Network Doping
 
Осуществление контроля за использванием объектов недвижимости на территории г...
Осуществление контроля за использванием объектов недвижимости на территории г...Осуществление контроля за использванием объектов недвижимости на территории г...
Осуществление контроля за использванием объектов недвижимости на территории г...
 
Flyer-CTA-cobrand-Breaker
Flyer-CTA-cobrand-BreakerFlyer-CTA-cobrand-Breaker
Flyer-CTA-cobrand-Breaker
 
RobynDMcGeeResume1
RobynDMcGeeResume1RobynDMcGeeResume1
RobynDMcGeeResume1
 

Similar to It's the 2010's. Why are you Still Manually Writing Tests?

Similar to It's the 2010's. Why are you Still Manually Writing Tests? (20)

How to Test the New Fashioned Way
How to Test the New Fashioned WayHow to Test the New Fashioned Way
How to Test the New Fashioned Way
 
Ready, Set, Shop! The Pressure is on For Your Applications to Perform Flawl...
Ready, Set, Shop! The Pressure is on For Your Applications to Perform Flawl...Ready, Set, Shop! The Pressure is on For Your Applications to Perform Flawl...
Ready, Set, Shop! The Pressure is on For Your Applications to Perform Flawl...
 
Hands-On Lab: Integrate Your Monitoring Tools into an Automated Service Impac...
Hands-On Lab: Integrate Your Monitoring Tools into an Automated Service Impac...Hands-On Lab: Integrate Your Monitoring Tools into an Automated Service Impac...
Hands-On Lab: Integrate Your Monitoring Tools into an Automated Service Impac...
 
Tech Talk: Service Virtualization on Demand—Have Everything, Whenever and Whe...
Tech Talk: Service Virtualization on Demand—Have Everything, Whenever and Whe...Tech Talk: Service Virtualization on Demand—Have Everything, Whenever and Whe...
Tech Talk: Service Virtualization on Demand—Have Everything, Whenever and Whe...
 
Tech Talk: CA Workload Automation Agent Monitor, Agents and Advanced Integrat...
Tech Talk: CA Workload Automation Agent Monitor, Agents and Advanced Integrat...Tech Talk: CA Workload Automation Agent Monitor, Agents and Advanced Integrat...
Tech Talk: CA Workload Automation Agent Monitor, Agents and Advanced Integrat...
 
Automate and Accelerate Software Development Time and Deliver Superior Busine...
Automate and Accelerate Software Development Time and Deliver Superior Busine...Automate and Accelerate Software Development Time and Deliver Superior Busine...
Automate and Accelerate Software Development Time and Deliver Superior Busine...
 
Introduction to CA Service Virtualization
Introduction to CA Service VirtualizationIntroduction to CA Service Virtualization
Introduction to CA Service Virtualization
 
Case Study: Ball Corporation Spurs Customer Experience and Staff Productivity...
Case Study: Ball Corporation Spurs Customer Experience and Staff Productivity...Case Study: Ball Corporation Spurs Customer Experience and Staff Productivity...
Case Study: Ball Corporation Spurs Customer Experience and Staff Productivity...
 
CA Gen Exploration – What's New and Cool in Application Development
CA Gen Exploration – What's New and Cool in Application DevelopmentCA Gen Exploration – What's New and Cool in Application Development
CA Gen Exploration – What's New and Cool in Application Development
 
How To Track Performance and Fault in a Multi-layer, Software-Defined Network...
How To Track Performance and Fault in a Multi-layer, Software-Defined Network...How To Track Performance and Fault in a Multi-layer, Software-Defined Network...
How To Track Performance and Fault in a Multi-layer, Software-Defined Network...
 
How to Use the CA Application Performance Management Command Center for Appli...
How to Use the CA Application Performance Management Command Center for Appli...How to Use the CA Application Performance Management Command Center for Appli...
How to Use the CA Application Performance Management Command Center for Appli...
 
Using Artificial Intelligence to power Service Virtualization
Using Artificial Intelligence to power Service VirtualizationUsing Artificial Intelligence to power Service Virtualization
Using Artificial Intelligence to power Service Virtualization
 
Fueling DevOps with a Testing Trifecta: How the New World of Testing is Driv...
Fueling DevOps with a Testing Trifecta:  How the New World of Testing is Driv...Fueling DevOps with a Testing Trifecta:  How the New World of Testing is Driv...
Fueling DevOps with a Testing Trifecta: How the New World of Testing is Driv...
 
Pitney Bowes Uses Development and Testing Tools to Drive Early API Developmen...
Pitney Bowes Uses Development and Testing Tools to Drive Early API Developmen...Pitney Bowes Uses Development and Testing Tools to Drive Early API Developmen...
Pitney Bowes Uses Development and Testing Tools to Drive Early API Developmen...
 
Hands-On Labs: Identifying Application Delivery Performance Problems with CA ...
Hands-On Labs: Identifying Application Delivery Performance Problems with CA ...Hands-On Labs: Identifying Application Delivery Performance Problems with CA ...
Hands-On Labs: Identifying Application Delivery Performance Problems with CA ...
 
Technology Primer: Customize CA Application Performance Management With Tip...
Technology Primer: Customize CA Application Performance Management  With Tip...Technology Primer: Customize CA Application Performance Management  With Tip...
Technology Primer: Customize CA Application Performance Management With Tip...
 
Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...
Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...
Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...
 
Domenico Maracci, Stefano Sali - Secure Continuous Delivery - Sicurezza e Dev...
Domenico Maracci, Stefano Sali - Secure Continuous Delivery - Sicurezza e Dev...Domenico Maracci, Stefano Sali - Secure Continuous Delivery - Sicurezza e Dev...
Domenico Maracci, Stefano Sali - Secure Continuous Delivery - Sicurezza e Dev...
 
Accelerated Quality with CA Technologies Testing Solutions
Accelerated Quality with CA Technologies Testing SolutionsAccelerated Quality with CA Technologies Testing Solutions
Accelerated Quality with CA Technologies Testing Solutions
 
DevTest Portfolio Overview
DevTest Portfolio OverviewDevTest Portfolio Overview
DevTest Portfolio Overview
 

More from CA Technologies

More from CA Technologies (20)

CA Mainframe Resource Intelligence
CA Mainframe Resource IntelligenceCA Mainframe Resource Intelligence
CA Mainframe Resource Intelligence
 
Mainframe as a Service: Sample a Buffet of IBM z/OS® Platform Excellence
Mainframe as a Service: Sample a Buffet of IBM z/OS® Platform ExcellenceMainframe as a Service: Sample a Buffet of IBM z/OS® Platform Excellence
Mainframe as a Service: Sample a Buffet of IBM z/OS® Platform Excellence
 
Case Study: How CA Went From 40 Days to Three Days Building Crystal-Clear Tes...
Case Study: How CA Went From 40 Days to Three Days Building Crystal-Clear Tes...Case Study: How CA Went From 40 Days to Three Days Building Crystal-Clear Tes...
Case Study: How CA Went From 40 Days to Three Days Building Crystal-Clear Tes...
 
Case Study: How The Home Depot Built Quality Into Software Development
Case Study: How The Home Depot Built Quality Into Software DevelopmentCase Study: How The Home Depot Built Quality Into Software Development
Case Study: How The Home Depot Built Quality Into Software Development
 
Pre-Con Ed: Privileged Identity Governance: Are You Certifying Privileged Use...
Pre-Con Ed: Privileged Identity Governance: Are You Certifying Privileged Use...Pre-Con Ed: Privileged Identity Governance: Are You Certifying Privileged Use...
Pre-Con Ed: Privileged Identity Governance: Are You Certifying Privileged Use...
 
Case Study: Privileged Access in a World on Time
Case Study: Privileged Access in a World on TimeCase Study: Privileged Access in a World on Time
Case Study: Privileged Access in a World on Time
 
Case Study: How SGN Used Attack Path Mapping to Control Privileged Access in ...
Case Study: How SGN Used Attack Path Mapping to Control Privileged Access in ...Case Study: How SGN Used Attack Path Mapping to Control Privileged Access in ...
Case Study: How SGN Used Attack Path Mapping to Control Privileged Access in ...
 
Case Study: Putting Citizens at The Center of Digital Government
Case Study: Putting Citizens at The Center of Digital GovernmentCase Study: Putting Citizens at The Center of Digital Government
Case Study: Putting Citizens at The Center of Digital Government
 
Making Security Work—Implementing a Transformational Security Program
Making Security Work—Implementing a Transformational Security ProgramMaking Security Work—Implementing a Transformational Security Program
Making Security Work—Implementing a Transformational Security Program
 
Keynote: Making Security a Competitive Advantage
Keynote: Making Security a Competitive AdvantageKeynote: Making Security a Competitive Advantage
Keynote: Making Security a Competitive Advantage
 
Emerging Managed Services Opportunities in Identity and Access Management
Emerging Managed Services Opportunities in Identity and Access ManagementEmerging Managed Services Opportunities in Identity and Access Management
Emerging Managed Services Opportunities in Identity and Access Management
 
The Unmet Demand for Premium Cloud Monitoring Services—and How Service Provid...
The Unmet Demand for Premium Cloud Monitoring Services—and How Service Provid...The Unmet Demand for Premium Cloud Monitoring Services—and How Service Provid...
The Unmet Demand for Premium Cloud Monitoring Services—and How Service Provid...
 
Leveraging Monitoring Governance: How Service Providers Can Boost Operational...
Leveraging Monitoring Governance: How Service Providers Can Boost Operational...Leveraging Monitoring Governance: How Service Providers Can Boost Operational...
Leveraging Monitoring Governance: How Service Providers Can Boost Operational...
 
The Next Big Service Provider Opportunity—Beyond Infrastructure: Architecting...
The Next Big Service Provider Opportunity—Beyond Infrastructure: Architecting...The Next Big Service Provider Opportunity—Beyond Infrastructure: Architecting...
The Next Big Service Provider Opportunity—Beyond Infrastructure: Architecting...
 
Application Experience Analytics Services: The Strategic Digital Transformati...
Application Experience Analytics Services: The Strategic Digital Transformati...Application Experience Analytics Services: The Strategic Digital Transformati...
Application Experience Analytics Services: The Strategic Digital Transformati...
 
Application Experience Analytics Services: The Strategic Digital Transformati...
Application Experience Analytics Services: The Strategic Digital Transformati...Application Experience Analytics Services: The Strategic Digital Transformati...
Application Experience Analytics Services: The Strategic Digital Transformati...
 
Strategic Direction Session: Deliver Next-Gen IT Ops with CA Mainframe Operat...
Strategic Direction Session: Deliver Next-Gen IT Ops with CA Mainframe Operat...Strategic Direction Session: Deliver Next-Gen IT Ops with CA Mainframe Operat...
Strategic Direction Session: Deliver Next-Gen IT Ops with CA Mainframe Operat...
 
Strategic Direction Session: Enhancing Data Privacy with Data-Centric Securit...
Strategic Direction Session: Enhancing Data Privacy with Data-Centric Securit...Strategic Direction Session: Enhancing Data Privacy with Data-Centric Securit...
Strategic Direction Session: Enhancing Data Privacy with Data-Centric Securit...
 
Blockchain: Strategies for Moving From Hype to Realities of Deployment
Blockchain: Strategies for Moving From Hype to Realities of DeploymentBlockchain: Strategies for Moving From Hype to Realities of Deployment
Blockchain: Strategies for Moving From Hype to Realities of Deployment
 
Establish Digital Trust as the Currency of Digital Enterprise
Establish Digital Trust as the Currency of Digital EnterpriseEstablish Digital Trust as the Currency of Digital Enterprise
Establish Digital Trust as the Currency of Digital Enterprise
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

It's the 2010's. Why are you Still Manually Writing Tests?

  • 1. Pre-Con Education: It's the 2010s. Why Are You Still Manually Writing Tests? Chris Kraus DevOps: Continuous Delivery CA Technologies Product Manager DO4X81E @ChrisKraus3 #CAWorld
  • 2. 2 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD For Informational Purposes Only Terms of this Presentation © 2015 CA. All rights reserved. All trademarks referenced herein belong to their respective companies. The presentation provided at CA World 2015 is intended for information purposes only and does not form any type of warranty. Some of the specific slides with customer references relate to customer's specific use and experience of CA products and solutions so actual results may vary. Certain information in this presentation may outline CA’s general product direction. This presentation shall not serve to (i) affect the rights and/or obligations of CA or its licensees under any existing or future license agreement or services agreement relating to any CA software product; or (ii) amend any product documentation or specifications for any CA software product. This presentation is based on current information and resource allocations as of November 18, 2015, and is subject to change or withdrawal by CA at any time without notice. The development, release and timing of any features or functionality described in this presentation remain at CA’s sole discretion. Notwithstanding anything in this presentation to the contrary, upon the general availability of any future CA product release referenced in this presentation, CA may make such release available to new licensees in the form of a regularly scheduled major product release. Such release may be made available to licensees of the product who are active subscribers to CA maintenance and support, on a when and if- available basis. The information in this presentation is not deemed to be incorporated into any contract.
  • 3. 3 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Abstract What's in a test? We invoke an Application Programming Interface (API) test hoping to validate business logic and update the system of record, but why is it so hard to find those systems of record? This introductory session will explain and demonstrate how CA Continuous Application Insight (CA CAI) can observe a manual test and then generate tests for web UI APIs by creating the database validation steps for you. We will also show you how CA CAI can be used to generate 1000’s of tests vs. spending days getting the validation right for a single manual test! Chris Kraus CA Technologies Product Manager
  • 4. 4 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Agenda WHERE ARE THE API’? FINDING THE APIs WITH CA CAI WHAT ARE BASELINE, DATA DRIVEN, AND EXPANDED TESTS? HIGH FIDELITY TESTS – REMOVE HUMAN EDITING OF API TESTS DEMO 1 2 3 4 5
  • 5. 5 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Where Are the APIs – I Know I Saw Them on a Whiteboard
  • 6. 6 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Finding the APIs ESB Mobile applications and Rich browser applications Services provided by the ESB Data being serviced up by ESB
  • 7. 7 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD What Does CA Continuous Application Insight Consider an API?  Broad definition of “service” or API – Requests data from a app server where we have a agent – Lines between agents that follow the transactions – REST and SOAP requests for data from browser application
  • 8. 8 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA Continuous Application Insight Common API’s button  A Common API is one that more than 1 agent has consumed  Focus the analysis on 1st call into the application not the buried “shared code”  The transactions are now from different consumers perspective
  • 9. 9 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD What Are These Tests Generated by CA Continuous Application Insight?  Baseline Test (Expanded) – A baseline test is the most simple replay a observed requests – Validate the same response code returned – Graphical Side by Side diff on XML – A separate test is generated for each observed request and response – A suite is generated to run all of the tests – A alternate.config is generated for each baseline IS THE SYSTEM BEHAVING THE SAME WAY IT DID IN THE PAST?
  • 10. 10 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
  • 11. 11 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD What Are These Tests Generated by CA Continuous Application Insight?  Invoke and Verify Test (Expanded with database validation) – Transaction path can traverse multiple agents – Single step test 1 invoke and DB steps follow – Database Validation generated to ensure SOR has been updated  Insert  Update  Delete DID THE SYSTEM OF RECORD GET UPDATED? DID THE ERROR GET HIDDEN BEHIND THE UI?
  • 12. 12 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
  • 13. 13 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD What Are These Tests Generated by CA Continuous Application Insight?  Data Driven tests – Same as Baseline, but a Large Data Set (LDS) is used to drive test – When you need to modify the generated test use this – 1 test many rows of data – Refresh the data with RR pair generation IS THE SYSTEM BEHAVING THE SAME WAY IT DID IN THE PAST? – BUT I NEED TO UPDATE TEST
  • 14. 14 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
  • 15. 15 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD What Are These Tests Generated by CA Continuous Application Insight?  Functional Test Cases (tests generated from document transactions) – The tests follow the API’s of the user’s journey through the application – Tests contain multiple steps in the order a user ran them – High Fidelity test generated  Datasets for input data  Filters for passing data between steps – Supports invoke and verify (database validation) API TEST FOLLOWS THE USERS JOURNEY THROUGH THE APPLICATION
  • 16. 16 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
  • 17. 17 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD What Are These Tests Generated by CA Continuous Application Insight?  Functional Test Cases from Browser (Chrome Browser plugin - no agent required) – The tests follow the API’s of the users journey through the application – Tests contain multiple steps in the order a user ran them – High Fidelity test generated  Datasets for input data  Filters for passing data between steps – Supports invoke and verify (database validation) when agent is instrumenting backend API TEST FOLLOWS THE USERS JOURNEY THROUGH THE BROWSER
  • 18. 18 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
  • 19. 19 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
  • 20. 20 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD High Fidelity Tests – Remove Human Editing of API Tests  Externalize connections to SUT – alternate.config  Create datasets for test input so data can be changed and expanded  Filter response data and parameterize into the next step  Reverse back JDBC calls into validation steps  Test Templates – provide test to handle login, sessions, and customization
  • 21. 21 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Demos Baseline Test FidelityInvoke and Verify Functional Test
  • 22. 22 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Q & A
  • 23. 23 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Recommended Sessions SESSION # TITLE DATE/TIME DO3T06S The CA Roadmap for Service Virtualization and the Dev and Test Portfolio 11/18/2015 at 2:00 pm DO3T38T Tech Talk: Extreme Automation—Creating Headless Tests “Automagically” 11/18/2015 at 3:00 pm DO4T27T Tech Talk: Building Regression Tests to Increase Velocity and Prevent Things from “Going Boom” in the Night 11/19/2015 at 11:30 am
  • 24. 24 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Must See Demos Application Test Demo Create Better Application Tests Theater 4 DevOps Sim DevOps Simulation Experience Theater 3 Continuous App Insight Automate Tests for Better Apps Theater 4 Service Virtualization Deliver Better Apps Faster with SV Theater 3
  • 25. 25 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Follow On Conversations At… Smart Bar Theaters 3 & 4 Tech Talks Theaters 3 & 4
  • 26. 26 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD For More Information To learn more, please visit: http://cainc.to/Nv2VOe CA World ’15