SlideShare a Scribd company logo
1 of 22
Download to read offline
CA Service Virtualization vs. Mocks/Stubs
Compare key areas of differentiation between mocking / stubbing tools
and CA Service Virtualization
Definitions
Setting the ground
3 © 2017 CA. ALL RIGHTS RESERVED.
Stubs Mocks
 “Provide canned answers to
calls made during the test,
usually not responding at all
to anything outside what’s
programmed in for the
test.”
 Development or Testing
“objects pre-programed
with expectations which
form a specification of calls
they are expected to
receive.”
http://martinfowler.com/articles/mocksArentStubs.html#TheDifferenceBetweenMocksAndStubs
4 © 2017 CA. ALL RIGHTS RESERVED.
Service Virtualization
 A method of capturing and
simulating the behavior of
unavailable or incomplete
systems.
 Takes a modern approach to the
practice of “mocking” or
“stubbing”.
 Uses sufficiently “real” virtual
services without depending on
complexity and constraints of real
hardware or software.
 Benefits include:
– Earlier detection of defects
– Shorter Release cycles
– Reduced cost of development
– Reduced physical infrastructure
dependencies
Capabilities & Benefits - Compare & Contrast
Service Virtualization vs. Mocks/Stubs
6 © 2017 CA. ALL RIGHTS RESERVED.
Reduce Dependencies
and Constraints in App
Development
Reduce cycle times, earlier defect
discovery, more efficient use of resources.
Service Virtualization Mocks/Stubs
7 © 2017 CA. ALL RIGHTS RESERVED.
Virtualize test data for
comprehensive test paths
Faster setup/teardown, greater stability for
test automation.
Service Virtualization Mocks/Stubs
Test data must be
designed for specific use
8 © 2017 CA. ALL RIGHTS RESERVED.
Enable high performance
environments
Better realism and quantity of performance
testing.
Service Virtualization Mocks/Stubs
Not designed for
performance testing
9 © 2017 CA. ALL RIGHTS RESERVED.
Complete testing of
application business logic
Test each app component individually and
automate the validation of business
processes that span across multiple
internal and cloud based services.
Service Virtualization Mocks/Stubs
Inside Application
Code
10 © 2017 CA. ALL RIGHTS RESERVED.
Provide reuse and
collaboration across
development teams
Virtualize a Service once and reuse across
development teams and applications.
Service Virtualization Mocks/Stubs
Every app requires writing
mocks that could be shared
11 © 2017 CA. ALL RIGHTS RESERVED.
Incorporate into
Continuous Integration
Process
Hook into all stages of CI environments.
(Dev., QA, Performance, and Integration)
Service Virtualization Mocks/Stubs
Limited outside
of Dev. Environment
12 © 2017 CA. ALL RIGHTS RESERVED.
Reduce time and cost of
Maintenance for Dev and
Test environments
Increase dev time to focus on application
code vs. maintaining mocks and test data
that are code dependent.
Service Virtualization Mocks/Stubs
Code Dependent
13 © 2017 CA. ALL RIGHTS RESERVED.
Expansive Code Coverage
Enable a consistent and standardized SDLC/
CI Process with solution that supports all
code bases.
Service Virtualization Mocks/Stubs
Java Only
14 © 2017 CA. ALL RIGHTS RESERVED.
UI to modify request/
response
Resources with no developer skills can
create and update models.
Service Virtualization Mocks/Stubs
Coding required
15 © 2017 CA. ALL RIGHTS RESERVED.
Bulk import/ recording of
transactions
Leverage large volumes of actual behavior
and data.
Service Virtualization Mocks/Stubs
No recording or importing
of transactions
16 © 2017 CA. ALL RIGHTS RESERVED.
Magic Strings/Dates
Test request that don’t have a “specific”
response, as patters are identified and
made available. .
Service Virtualization Mocks/Stubs
Static Information
17 © 2017 CA. ALL RIGHTS RESERVED.
Think Time
Add “think time” to transactions to
simulate performance in production.
Service Virtualization Mocks/Stubs
Single Thread
18 © 2017 CA. ALL RIGHTS RESERVED.
Various Capture Methods
capture services through record a live
system (for accuracy) or import data.
Service Virtualization Mocks/Stubs
No Capture Mode
19 © 2017 CA. ALL RIGHTS RESERVED.
Learning Mode
“Learn” live system data over time or pass-
through to w/o reconfiguring SUT.
Service Virtualization Mocks/Stubs
No Learning Mode
20 © 2017 CA. ALL RIGHTS RESERVED.
CA Service Virtualization
 Leverage throughout Continuous Integration (CI) process
– Development, Pre-Production, Performance, Integration, QA.
 Test Data Management challenges may disappear entirely.
– Edge conditions, negative test scenarios and error handling
– Virtual service never “burn” since they play back behavior responses.
 Support across the enterprise including:
– web traffic (HTTP), web services (SOAP/XML), integration layers & ESB
(JMS, etc.)
 Simulate transactions and connections with:
– underlying mainframes (CICS, CORBA, etc.,), databases (JDBC, etc.) and
third-party services.
21 © 2017 CA. ALL RIGHTS RESERVED.
CA Service Virtualization
 STS security Plugin module cannot be mocked, but are easily
supported as a container with Service Virtualization
 Drive performance testing. Traditional Mock/Stub tools - not
designed for performance testing environments.
 Represents more realistic behavior than stubs and mocks.
 Delivers stand-alone, decoupled services suitable for sharing
between teams and organizations.
 Does not require proprietary source-code level changes or
modifications of the application under development.
For more information visit
ca.com/SV

More Related Content

What's hot

ChefとPuppetの比較
ChefとPuppetの比較ChefとPuppetの比較
ChefとPuppetの比較Sugawara Genki
 
Cisco Modeling Labs (CML)を使ってネットワークを学ぼう!(基礎編)配布用
Cisco Modeling Labs (CML)を使ってネットワークを学ぼう!(基礎編)配布用Cisco Modeling Labs (CML)を使ってネットワークを学ぼう!(基礎編)配布用
Cisco Modeling Labs (CML)を使ってネットワークを学ぼう!(基礎編)配布用シスコシステムズ合同会社
 
サーバーサイドでの非同期処理で色々やったよ
サーバーサイドでの非同期処理で色々やったよサーバーサイドでの非同期処理で色々やったよ
サーバーサイドでの非同期処理で色々やったよkoji lin
 
Spring I/O 2018 報告会 - Spring Cloud Gateway / Spring Cloud Pipelines
Spring I/O 2018 報告会 - Spring Cloud Gateway / Spring Cloud PipelinesSpring I/O 2018 報告会 - Spring Cloud Gateway / Spring Cloud Pipelines
Spring I/O 2018 報告会 - Spring Cloud Gateway / Spring Cloud PipelinesJunya Katada
 
Spring超入門-Springと出会ってから1年半-
Spring超入門-Springと出会ってから1年半-Spring超入門-Springと出会ってから1年半-
Spring超入門-Springと出会ってから1年半-Ryosuke Uchitate
 
意外と苦労する、一部の画面のみ ランドスケープ表示を許容する方法 (potatotips 第17回)
意外と苦労する、一部の画面のみ ランドスケープ表示を許容する方法 (potatotips 第17回)意外と苦労する、一部の画面のみ ランドスケープ表示を許容する方法 (potatotips 第17回)
意外と苦労する、一部の画面のみ ランドスケープ表示を許容する方法 (potatotips 第17回)将之 小野
 
Java ORマッパー選定のポイント #jsug
Java ORマッパー選定のポイント #jsugJava ORマッパー選定のポイント #jsug
Java ORマッパー選定のポイント #jsugMasatoshi Tada
 
Microservices Architecture
Microservices ArchitectureMicroservices Architecture
Microservices ArchitectureIzzet Mustafaiev
 
Spark Streaming + Amazon Kinesis
Spark Streaming + Amazon KinesisSpark Streaming + Amazon Kinesis
Spark Streaming + Amazon KinesisYuta Imai
 
[社内勉強会]ELBとALBと数万スパイク負荷テスト
[社内勉強会]ELBとALBと数万スパイク負荷テスト[社内勉強会]ELBとALBと数万スパイク負荷テスト
[社内勉強会]ELBとALBと数万スパイク負荷テストTakahiro Moteki
 
Spring Boot Observability
Spring Boot ObservabilitySpring Boot Observability
Spring Boot ObservabilityVMware Tanzu
 
はまる!!JPA #glassfish_jp #javaee
はまる!!JPA #glassfish_jp #javaeeはまる!!JPA #glassfish_jp #javaee
はまる!!JPA #glassfish_jp #javaeeToshiaki Maki
 
単なるキャッシュじゃないよ!?infinispanの紹介
単なるキャッシュじゃないよ!?infinispanの紹介単なるキャッシュじゃないよ!?infinispanの紹介
単なるキャッシュじゃないよ!?infinispanの紹介AdvancedTechNight
 
脆弱性ハンドリングと耐える設計 -Vulnerability Response-
脆弱性ハンドリングと耐える設計 -Vulnerability Response-脆弱性ハンドリングと耐える設計 -Vulnerability Response-
脆弱性ハンドリングと耐える設計 -Vulnerability Response-Tomohiro Nakashima
 
2017 Software Developer Productivity Survey in the United States and Great Br...
2017 Software Developer Productivity Survey in the United States and Great Br...2017 Software Developer Productivity Survey in the United States and Great Br...
2017 Software Developer Productivity Survey in the United States and Great Br...GitPrime
 
KLabのインフラエンジニア 〜 こんな感じで働いてます 〜
KLabのインフラエンジニア 〜 こんな感じで働いてます 〜KLabのインフラエンジニア 〜 こんな感じで働いてます 〜
KLabのインフラエンジニア 〜 こんな感じで働いてます 〜KLab Inc. / Tech
 
Awsでつくるapache kafkaといろんな悩み
Awsでつくるapache kafkaといろんな悩みAwsでつくるapache kafkaといろんな悩み
Awsでつくるapache kafkaといろんな悩みKeigo Suda
 
ぱぱっと理解するSpring Cloudの基本
ぱぱっと理解するSpring Cloudの基本ぱぱっと理解するSpring Cloudの基本
ぱぱっと理解するSpring Cloudの基本kazuki kumagai
 
アーキテクチャのレビューについて - JaSST Review '18
アーキテクチャのレビューについて - JaSST Review '18アーキテクチャのレビューについて - JaSST Review '18
アーキテクチャのレビューについて - JaSST Review '18Yusuke Suzuki
 

What's hot (20)

ChefとPuppetの比較
ChefとPuppetの比較ChefとPuppetの比較
ChefとPuppetの比較
 
Cisco Modeling Labs (CML)を使ってネットワークを学ぼう!(基礎編)配布用
Cisco Modeling Labs (CML)を使ってネットワークを学ぼう!(基礎編)配布用Cisco Modeling Labs (CML)を使ってネットワークを学ぼう!(基礎編)配布用
Cisco Modeling Labs (CML)を使ってネットワークを学ぼう!(基礎編)配布用
 
サーバーサイドでの非同期処理で色々やったよ
サーバーサイドでの非同期処理で色々やったよサーバーサイドでの非同期処理で色々やったよ
サーバーサイドでの非同期処理で色々やったよ
 
Spring I/O 2018 報告会 - Spring Cloud Gateway / Spring Cloud Pipelines
Spring I/O 2018 報告会 - Spring Cloud Gateway / Spring Cloud PipelinesSpring I/O 2018 報告会 - Spring Cloud Gateway / Spring Cloud Pipelines
Spring I/O 2018 報告会 - Spring Cloud Gateway / Spring Cloud Pipelines
 
Spring超入門-Springと出会ってから1年半-
Spring超入門-Springと出会ってから1年半-Spring超入門-Springと出会ってから1年半-
Spring超入門-Springと出会ってから1年半-
 
意外と苦労する、一部の画面のみ ランドスケープ表示を許容する方法 (potatotips 第17回)
意外と苦労する、一部の画面のみ ランドスケープ表示を許容する方法 (potatotips 第17回)意外と苦労する、一部の画面のみ ランドスケープ表示を許容する方法 (potatotips 第17回)
意外と苦労する、一部の画面のみ ランドスケープ表示を許容する方法 (potatotips 第17回)
 
Java ORマッパー選定のポイント #jsug
Java ORマッパー選定のポイント #jsugJava ORマッパー選定のポイント #jsug
Java ORマッパー選定のポイント #jsug
 
Microservices Architecture
Microservices ArchitectureMicroservices Architecture
Microservices Architecture
 
Spark Streaming + Amazon Kinesis
Spark Streaming + Amazon KinesisSpark Streaming + Amazon Kinesis
Spark Streaming + Amazon Kinesis
 
App Dynamics
App DynamicsApp Dynamics
App Dynamics
 
[社内勉強会]ELBとALBと数万スパイク負荷テスト
[社内勉強会]ELBとALBと数万スパイク負荷テスト[社内勉強会]ELBとALBと数万スパイク負荷テスト
[社内勉強会]ELBとALBと数万スパイク負荷テスト
 
Spring Boot Observability
Spring Boot ObservabilitySpring Boot Observability
Spring Boot Observability
 
はまる!!JPA #glassfish_jp #javaee
はまる!!JPA #glassfish_jp #javaeeはまる!!JPA #glassfish_jp #javaee
はまる!!JPA #glassfish_jp #javaee
 
単なるキャッシュじゃないよ!?infinispanの紹介
単なるキャッシュじゃないよ!?infinispanの紹介単なるキャッシュじゃないよ!?infinispanの紹介
単なるキャッシュじゃないよ!?infinispanの紹介
 
脆弱性ハンドリングと耐える設計 -Vulnerability Response-
脆弱性ハンドリングと耐える設計 -Vulnerability Response-脆弱性ハンドリングと耐える設計 -Vulnerability Response-
脆弱性ハンドリングと耐える設計 -Vulnerability Response-
 
2017 Software Developer Productivity Survey in the United States and Great Br...
2017 Software Developer Productivity Survey in the United States and Great Br...2017 Software Developer Productivity Survey in the United States and Great Br...
2017 Software Developer Productivity Survey in the United States and Great Br...
 
KLabのインフラエンジニア 〜 こんな感じで働いてます 〜
KLabのインフラエンジニア 〜 こんな感じで働いてます 〜KLabのインフラエンジニア 〜 こんな感じで働いてます 〜
KLabのインフラエンジニア 〜 こんな感じで働いてます 〜
 
Awsでつくるapache kafkaといろんな悩み
Awsでつくるapache kafkaといろんな悩みAwsでつくるapache kafkaといろんな悩み
Awsでつくるapache kafkaといろんな悩み
 
ぱぱっと理解するSpring Cloudの基本
ぱぱっと理解するSpring Cloudの基本ぱぱっと理解するSpring Cloudの基本
ぱぱっと理解するSpring Cloudの基本
 
アーキテクチャのレビューについて - JaSST Review '18
アーキテクチャのレビューについて - JaSST Review '18アーキテクチャのレビューについて - JaSST Review '18
アーキテクチャのレビューについて - JaSST Review '18
 

Viewers also liked

CA John Michelsen - Oracle OpenWorld 2012 - "ServiceVirtualization Reality is...
CA John Michelsen - Oracle OpenWorld 2012 - "ServiceVirtualization Reality is...CA John Michelsen - Oracle OpenWorld 2012 - "ServiceVirtualization Reality is...
CA John Michelsen - Oracle OpenWorld 2012 - "ServiceVirtualization Reality is...ServiceVirtualization.Com
 
Pics from Oracle OpenWorld 2012 - CA Service Virtualization
Pics from Oracle OpenWorld 2012 - CA Service VirtualizationPics from Oracle OpenWorld 2012 - CA Service Virtualization
Pics from Oracle OpenWorld 2012 - CA Service VirtualizationServiceVirtualization.Com
 
TechTalk: All You Want to Know About Docker and CA Testing Tools.
TechTalk: All You Want to Know About Docker and CA Testing Tools.TechTalk: All You Want to Know About Docker and CA Testing Tools.
TechTalk: All You Want to Know About Docker and CA Testing Tools.CA Technologies
 
How Can We Better Sell DevOps?
How Can We Better Sell DevOps?How Can We Better Sell DevOps?
How Can We Better Sell DevOps?Gene Kim
 
2013 Velocity DevOps Metrics -- It's Not Just For WebOps Any More!
2013 Velocity DevOps Metrics -- It's Not Just For WebOps Any More!2013 Velocity DevOps Metrics -- It's Not Just For WebOps Any More!
2013 Velocity DevOps Metrics -- It's Not Just For WebOps Any More!Gene Kim
 
Pre-Con Education: Winning at Continuous Delivery with Service Virtualization
Pre-Con Education: Winning at Continuous Delivery with Service VirtualizationPre-Con Education: Winning at Continuous Delivery with Service Virtualization
Pre-Con Education: Winning at Continuous Delivery with Service VirtualizationCA Technologies
 
The Why, Where and How of Service Virtualization Adoption
The Why, Where and How of Service Virtualization AdoptionThe Why, Where and How of Service Virtualization Adoption
The Why, Where and How of Service Virtualization AdoptionCA Technologies
 
'Shift-Right' - Rapid Evolution with DesignOps
'Shift-Right' - Rapid Evolution with DesignOps'Shift-Right' - Rapid Evolution with DesignOps
'Shift-Right' - Rapid Evolution with DesignOpsCA Technologies
 
Pre-Con Education: Shift-Left Performance Testing for Shift-Forward Quality
Pre-Con Education: Shift-Left Performance Testing for Shift-Forward QualityPre-Con Education: Shift-Left Performance Testing for Shift-Forward Quality
Pre-Con Education: Shift-Left Performance Testing for Shift-Forward QualityCA Technologies
 
TechTalk: API Management and Service Virtualization Working Hand in Hand
TechTalk: API Management and Service Virtualization Working Hand in HandTechTalk: API Management and Service Virtualization Working Hand in Hand
TechTalk: API Management and Service Virtualization Working Hand in HandCA Technologies
 
Decrease Test Build Time, Not Test Quality with CA BlazeMeter
Decrease Test Build Time, Not Test Quality with CA BlazeMeterDecrease Test Build Time, Not Test Quality with CA BlazeMeter
Decrease Test Build Time, Not Test Quality with CA BlazeMeterCA Technologies
 
Auto Integrate – DevTest Automation and Integration Best Practices
Auto Integrate – DevTest Automation and Integration Best PracticesAuto Integrate – DevTest Automation and Integration Best Practices
Auto Integrate – DevTest Automation and Integration Best PracticesCA Technologies
 
Service Virtualization 101
Service Virtualization 101Service Virtualization 101
Service Virtualization 101Stefana Muller
 

Viewers also liked (13)

CA John Michelsen - Oracle OpenWorld 2012 - "ServiceVirtualization Reality is...
CA John Michelsen - Oracle OpenWorld 2012 - "ServiceVirtualization Reality is...CA John Michelsen - Oracle OpenWorld 2012 - "ServiceVirtualization Reality is...
CA John Michelsen - Oracle OpenWorld 2012 - "ServiceVirtualization Reality is...
 
Pics from Oracle OpenWorld 2012 - CA Service Virtualization
Pics from Oracle OpenWorld 2012 - CA Service VirtualizationPics from Oracle OpenWorld 2012 - CA Service Virtualization
Pics from Oracle OpenWorld 2012 - CA Service Virtualization
 
TechTalk: All You Want to Know About Docker and CA Testing Tools.
TechTalk: All You Want to Know About Docker and CA Testing Tools.TechTalk: All You Want to Know About Docker and CA Testing Tools.
TechTalk: All You Want to Know About Docker and CA Testing Tools.
 
How Can We Better Sell DevOps?
How Can We Better Sell DevOps?How Can We Better Sell DevOps?
How Can We Better Sell DevOps?
 
2013 Velocity DevOps Metrics -- It's Not Just For WebOps Any More!
2013 Velocity DevOps Metrics -- It's Not Just For WebOps Any More!2013 Velocity DevOps Metrics -- It's Not Just For WebOps Any More!
2013 Velocity DevOps Metrics -- It's Not Just For WebOps Any More!
 
Pre-Con Education: Winning at Continuous Delivery with Service Virtualization
Pre-Con Education: Winning at Continuous Delivery with Service VirtualizationPre-Con Education: Winning at Continuous Delivery with Service Virtualization
Pre-Con Education: Winning at Continuous Delivery with Service Virtualization
 
The Why, Where and How of Service Virtualization Adoption
The Why, Where and How of Service Virtualization AdoptionThe Why, Where and How of Service Virtualization Adoption
The Why, Where and How of Service Virtualization Adoption
 
'Shift-Right' - Rapid Evolution with DesignOps
'Shift-Right' - Rapid Evolution with DesignOps'Shift-Right' - Rapid Evolution with DesignOps
'Shift-Right' - Rapid Evolution with DesignOps
 
Pre-Con Education: Shift-Left Performance Testing for Shift-Forward Quality
Pre-Con Education: Shift-Left Performance Testing for Shift-Forward QualityPre-Con Education: Shift-Left Performance Testing for Shift-Forward Quality
Pre-Con Education: Shift-Left Performance Testing for Shift-Forward Quality
 
TechTalk: API Management and Service Virtualization Working Hand in Hand
TechTalk: API Management and Service Virtualization Working Hand in HandTechTalk: API Management and Service Virtualization Working Hand in Hand
TechTalk: API Management and Service Virtualization Working Hand in Hand
 
Decrease Test Build Time, Not Test Quality with CA BlazeMeter
Decrease Test Build Time, Not Test Quality with CA BlazeMeterDecrease Test Build Time, Not Test Quality with CA BlazeMeter
Decrease Test Build Time, Not Test Quality with CA BlazeMeter
 
Auto Integrate – DevTest Automation and Integration Best Practices
Auto Integrate – DevTest Automation and Integration Best PracticesAuto Integrate – DevTest Automation and Integration Best Practices
Auto Integrate – DevTest Automation and Integration Best Practices
 
Service Virtualization 101
Service Virtualization 101Service Virtualization 101
Service Virtualization 101
 

Similar to CA Service Virtualization vs mocks stubs

I Tko Lis Avirtualize Ps Nov08
I Tko Lis Avirtualize Ps Nov08I Tko Lis Avirtualize Ps Nov08
I Tko Lis Avirtualize Ps Nov08Edwin Systemation
 
Continuous Testing of Service-Oriented Applications Using Service Virtualization
Continuous Testing of Service-Oriented Applications Using Service VirtualizationContinuous Testing of Service-Oriented Applications Using Service Virtualization
Continuous Testing of Service-Oriented Applications Using Service Virtualizationiosrjce
 
Service Virtualization: What, Who, When, and How
Service Virtualization: What, Who, When, and HowService Virtualization: What, Who, When, and How
Service Virtualization: What, Who, When, and HowTechWell
 
Hands-On Lab: Improve large network visibility and operational efficiency wit...
Hands-On Lab: Improve large network visibility and operational efficiency wit...Hands-On Lab: Improve large network visibility and operational efficiency wit...
Hands-On Lab: Improve large network visibility and operational efficiency wit...CA Technologies
 
DevOps in the Hybrid Cloud
DevOps in the Hybrid CloudDevOps in the Hybrid Cloud
DevOps in the Hybrid CloudRichard Irving
 
Leveraging Hybid IT for More Robust Business Services
Leveraging Hybid IT for More Robust Business ServicesLeveraging Hybid IT for More Robust Business Services
Leveraging Hybid IT for More Robust Business ServicesAmazon Web Services
 
Mastering DevOps Automation: Webinar
Mastering DevOps Automation: WebinarMastering DevOps Automation: Webinar
Mastering DevOps Automation: WebinarClaudia Ring
 
Microservice Builder: A Microservice DevOps Pipeline for Rapid Delivery and P...
Microservice Builder: A Microservice DevOps Pipeline for Rapid Delivery and P...Microservice Builder: A Microservice DevOps Pipeline for Rapid Delivery and P...
Microservice Builder: A Microservice DevOps Pipeline for Rapid Delivery and P...David Currie
 
VirtualWisdom Brochure
VirtualWisdom BrochureVirtualWisdom Brochure
VirtualWisdom BrochureDarren Molloy
 
Continuous Integration and Continuous Delivery to Facilitate Web Service Testing
Continuous Integration and Continuous Delivery to Facilitate Web Service TestingContinuous Integration and Continuous Delivery to Facilitate Web Service Testing
Continuous Integration and Continuous Delivery to Facilitate Web Service TestingCognizant
 
Service Virtualization: What Testers Need to Know
Service Virtualization: What Testers Need to KnowService Virtualization: What Testers Need to Know
Service Virtualization: What Testers Need to KnowTechWell
 
Reinventing Application Performance Testing with Service Virtualization
Reinventing Application Performance Testing with Service VirtualizationReinventing Application Performance Testing with Service Virtualization
Reinventing Application Performance Testing with Service VirtualizationCA Technologies
 
A perspective on cloud computing and enterprise saa s applications
A perspective on cloud computing and enterprise saa s applicationsA perspective on cloud computing and enterprise saa s applications
A perspective on cloud computing and enterprise saa s applicationsGeorge Milliken
 
Microservices
MicroservicesMicroservices
MicroservicesSmartBear
 

Similar to CA Service Virtualization vs mocks stubs (20)

I Tko Lis Avirtualize Ps Nov08
I Tko Lis Avirtualize Ps Nov08I Tko Lis Avirtualize Ps Nov08
I Tko Lis Avirtualize Ps Nov08
 
Continuous Testing of Service-Oriented Applications Using Service Virtualization
Continuous Testing of Service-Oriented Applications Using Service VirtualizationContinuous Testing of Service-Oriented Applications Using Service Virtualization
Continuous Testing of Service-Oriented Applications Using Service Virtualization
 
M017258892
M017258892M017258892
M017258892
 
Service Virtualization: What, Who, When, and How
Service Virtualization: What, Who, When, and HowService Virtualization: What, Who, When, and How
Service Virtualization: What, Who, When, and How
 
Hands-On Lab: Improve large network visibility and operational efficiency wit...
Hands-On Lab: Improve large network visibility and operational efficiency wit...Hands-On Lab: Improve large network visibility and operational efficiency wit...
Hands-On Lab: Improve large network visibility and operational efficiency wit...
 
Muthu_Karthick_Sudhan
Muthu_Karthick_SudhanMuthu_Karthick_Sudhan
Muthu_Karthick_Sudhan
 
Twelve factor-app
Twelve factor-appTwelve factor-app
Twelve factor-app
 
DevOps in the Hybrid Cloud
DevOps in the Hybrid CloudDevOps in the Hybrid Cloud
DevOps in the Hybrid Cloud
 
Leveraging Hybid IT for More Robust Business Services
Leveraging Hybid IT for More Robust Business ServicesLeveraging Hybid IT for More Robust Business Services
Leveraging Hybid IT for More Robust Business Services
 
Shirish Sonawane_CV
Shirish Sonawane_CVShirish Sonawane_CV
Shirish Sonawane_CV
 
Cloud Testing
Cloud TestingCloud Testing
Cloud Testing
 
Mastering DevOps Automation: Webinar
Mastering DevOps Automation: WebinarMastering DevOps Automation: Webinar
Mastering DevOps Automation: Webinar
 
Microservice Builder: A Microservice DevOps Pipeline for Rapid Delivery and P...
Microservice Builder: A Microservice DevOps Pipeline for Rapid Delivery and P...Microservice Builder: A Microservice DevOps Pipeline for Rapid Delivery and P...
Microservice Builder: A Microservice DevOps Pipeline for Rapid Delivery and P...
 
VirtualWisdom Brochure
VirtualWisdom BrochureVirtualWisdom Brochure
VirtualWisdom Brochure
 
Continuous Integration and Continuous Delivery to Facilitate Web Service Testing
Continuous Integration and Continuous Delivery to Facilitate Web Service TestingContinuous Integration and Continuous Delivery to Facilitate Web Service Testing
Continuous Integration and Continuous Delivery to Facilitate Web Service Testing
 
Service Virtualization: What Testers Need to Know
Service Virtualization: What Testers Need to KnowService Virtualization: What Testers Need to Know
Service Virtualization: What Testers Need to Know
 
Reinventing Application Performance Testing with Service Virtualization
Reinventing Application Performance Testing with Service VirtualizationReinventing Application Performance Testing with Service Virtualization
Reinventing Application Performance Testing with Service Virtualization
 
Wavefront presentation-May-2019
Wavefront presentation-May-2019Wavefront presentation-May-2019
Wavefront presentation-May-2019
 
A perspective on cloud computing and enterprise saa s applications
A perspective on cloud computing and enterprise saa s applicationsA perspective on cloud computing and enterprise saa s applications
A perspective on cloud computing and enterprise saa s applications
 
Microservices
MicroservicesMicroservices
Microservices
 

Recently uploaded

BATbern52 Swisscom's Journey into Data Mesh
BATbern52 Swisscom's Journey into Data MeshBATbern52 Swisscom's Journey into Data Mesh
BATbern52 Swisscom's Journey into Data MeshBATbern
 
Practical Advice for FDA’s 510(k) Requirements.pdf
Practical Advice for FDA’s 510(k) Requirements.pdfPractical Advice for FDA’s 510(k) Requirements.pdf
Practical Advice for FDA’s 510(k) Requirements.pdfICS
 
renewable energy renewable energy renewable energy renewable energy
renewable energy renewable energy renewable energy  renewable energyrenewable energy renewable energy renewable energy  renewable energy
renewable energy renewable energy renewable energy renewable energyjeyasrig
 
Technical improvements. Reasons. Methods. Estimations. CJ
Technical improvements.  Reasons. Methods. Estimations. CJTechnical improvements.  Reasons. Methods. Estimations. CJ
Technical improvements. Reasons. Methods. Estimations. CJpolinaucc
 
Unlocking the Power of IoT: A comprehensive approach to real-time insights
Unlocking the Power of IoT: A comprehensive approach to real-time insightsUnlocking the Power of IoT: A comprehensive approach to real-time insights
Unlocking the Power of IoT: A comprehensive approach to real-time insightsconfluent
 
VuNet software organisation powerpoint deck
VuNet software organisation powerpoint deckVuNet software organisation powerpoint deck
VuNet software organisation powerpoint deckNaval Singh
 
Building Generative AI-infused apps: what's possible and how to start
Building Generative AI-infused apps: what's possible and how to startBuilding Generative AI-infused apps: what's possible and how to start
Building Generative AI-infused apps: what's possible and how to startMaxim Salnikov
 
MinionLabs_Mr. Gokul Srinivas_Young Entrepreneur
MinionLabs_Mr. Gokul Srinivas_Young EntrepreneurMinionLabs_Mr. Gokul Srinivas_Young Entrepreneur
MinionLabs_Mr. Gokul Srinivas_Young EntrepreneurPriyadarshini T
 
8 Steps to Build a LangChain RAG Chatbot.
8 Steps to Build a LangChain RAG Chatbot.8 Steps to Build a LangChain RAG Chatbot.
8 Steps to Build a LangChain RAG Chatbot.Ritesh Kanjee
 
Large Scale Architecture -- The Unreasonable Effectiveness of Simplicity
Large Scale Architecture -- The Unreasonable Effectiveness of SimplicityLarge Scale Architecture -- The Unreasonable Effectiveness of Simplicity
Large Scale Architecture -- The Unreasonable Effectiveness of SimplicityRandy Shoup
 
Revolutionize Your Field Service Management with FSM Grid
Revolutionize Your Field Service Management with FSM GridRevolutionize Your Field Service Management with FSM Grid
Revolutionize Your Field Service Management with FSM GridMathew Thomas
 
Einstein Copilot Conversational AI for your CRM.pdf
Einstein Copilot Conversational AI for your CRM.pdfEinstein Copilot Conversational AI for your CRM.pdf
Einstein Copilot Conversational AI for your CRM.pdfCloudMetic
 
Mobile App Development process | Expert Tips
Mobile App Development process | Expert TipsMobile App Development process | Expert Tips
Mobile App Development process | Expert Tipsmichealwillson701
 
Flutter the Future of Mobile App Development - 5 Crucial Reasons.pdf
Flutter the Future of Mobile App Development - 5 Crucial Reasons.pdfFlutter the Future of Mobile App Development - 5 Crucial Reasons.pdf
Flutter the Future of Mobile App Development - 5 Crucial Reasons.pdfMind IT Systems
 
If your code could speak, what would it tell you? Let GitHub Copilot Chat hel...
If your code could speak, what would it tell you? Let GitHub Copilot Chat hel...If your code could speak, what would it tell you? Let GitHub Copilot Chat hel...
If your code could speak, what would it tell you? Let GitHub Copilot Chat hel...Maxim Salnikov
 
Enterprise Content Managements Solutions
Enterprise Content Managements SolutionsEnterprise Content Managements Solutions
Enterprise Content Managements SolutionsIQBG inc
 
8 key point on optimizing web hosting services in your business.pdf
8 key point on optimizing web hosting services in your business.pdf8 key point on optimizing web hosting services in your business.pdf
8 key point on optimizing web hosting services in your business.pdfOffsiteNOC
 
Leveling Up your Branding and Mastering MERN: Fullstack WebDev
Leveling Up your Branding and Mastering MERN: Fullstack WebDevLeveling Up your Branding and Mastering MERN: Fullstack WebDev
Leveling Up your Branding and Mastering MERN: Fullstack WebDevpmgdscunsri
 
Boost Efficiency: Sabre API Integration Made Easy
Boost Efficiency: Sabre API Integration Made EasyBoost Efficiency: Sabre API Integration Made Easy
Boost Efficiency: Sabre API Integration Made Easymichealwillson701
 

Recently uploaded (20)

BATbern52 Swisscom's Journey into Data Mesh
BATbern52 Swisscom's Journey into Data MeshBATbern52 Swisscom's Journey into Data Mesh
BATbern52 Swisscom's Journey into Data Mesh
 
Practical Advice for FDA’s 510(k) Requirements.pdf
Practical Advice for FDA’s 510(k) Requirements.pdfPractical Advice for FDA’s 510(k) Requirements.pdf
Practical Advice for FDA’s 510(k) Requirements.pdf
 
renewable energy renewable energy renewable energy renewable energy
renewable energy renewable energy renewable energy  renewable energyrenewable energy renewable energy renewable energy  renewable energy
renewable energy renewable energy renewable energy renewable energy
 
Technical improvements. Reasons. Methods. Estimations. CJ
Technical improvements.  Reasons. Methods. Estimations. CJTechnical improvements.  Reasons. Methods. Estimations. CJ
Technical improvements. Reasons. Methods. Estimations. CJ
 
Unlocking the Power of IoT: A comprehensive approach to real-time insights
Unlocking the Power of IoT: A comprehensive approach to real-time insightsUnlocking the Power of IoT: A comprehensive approach to real-time insights
Unlocking the Power of IoT: A comprehensive approach to real-time insights
 
VuNet software organisation powerpoint deck
VuNet software organisation powerpoint deckVuNet software organisation powerpoint deck
VuNet software organisation powerpoint deck
 
Building Generative AI-infused apps: what's possible and how to start
Building Generative AI-infused apps: what's possible and how to startBuilding Generative AI-infused apps: what's possible and how to start
Building Generative AI-infused apps: what's possible and how to start
 
MinionLabs_Mr. Gokul Srinivas_Young Entrepreneur
MinionLabs_Mr. Gokul Srinivas_Young EntrepreneurMinionLabs_Mr. Gokul Srinivas_Young Entrepreneur
MinionLabs_Mr. Gokul Srinivas_Young Entrepreneur
 
8 Steps to Build a LangChain RAG Chatbot.
8 Steps to Build a LangChain RAG Chatbot.8 Steps to Build a LangChain RAG Chatbot.
8 Steps to Build a LangChain RAG Chatbot.
 
Large Scale Architecture -- The Unreasonable Effectiveness of Simplicity
Large Scale Architecture -- The Unreasonable Effectiveness of SimplicityLarge Scale Architecture -- The Unreasonable Effectiveness of Simplicity
Large Scale Architecture -- The Unreasonable Effectiveness of Simplicity
 
Revolutionize Your Field Service Management with FSM Grid
Revolutionize Your Field Service Management with FSM GridRevolutionize Your Field Service Management with FSM Grid
Revolutionize Your Field Service Management with FSM Grid
 
Einstein Copilot Conversational AI for your CRM.pdf
Einstein Copilot Conversational AI for your CRM.pdfEinstein Copilot Conversational AI for your CRM.pdf
Einstein Copilot Conversational AI for your CRM.pdf
 
Mobile App Development process | Expert Tips
Mobile App Development process | Expert TipsMobile App Development process | Expert Tips
Mobile App Development process | Expert Tips
 
Flutter the Future of Mobile App Development - 5 Crucial Reasons.pdf
Flutter the Future of Mobile App Development - 5 Crucial Reasons.pdfFlutter the Future of Mobile App Development - 5 Crucial Reasons.pdf
Flutter the Future of Mobile App Development - 5 Crucial Reasons.pdf
 
If your code could speak, what would it tell you? Let GitHub Copilot Chat hel...
If your code could speak, what would it tell you? Let GitHub Copilot Chat hel...If your code could speak, what would it tell you? Let GitHub Copilot Chat hel...
If your code could speak, what would it tell you? Let GitHub Copilot Chat hel...
 
Enterprise Content Managements Solutions
Enterprise Content Managements SolutionsEnterprise Content Managements Solutions
Enterprise Content Managements Solutions
 
8 key point on optimizing web hosting services in your business.pdf
8 key point on optimizing web hosting services in your business.pdf8 key point on optimizing web hosting services in your business.pdf
8 key point on optimizing web hosting services in your business.pdf
 
20140812 - OBD2 Solution
20140812 - OBD2 Solution20140812 - OBD2 Solution
20140812 - OBD2 Solution
 
Leveling Up your Branding and Mastering MERN: Fullstack WebDev
Leveling Up your Branding and Mastering MERN: Fullstack WebDevLeveling Up your Branding and Mastering MERN: Fullstack WebDev
Leveling Up your Branding and Mastering MERN: Fullstack WebDev
 
Boost Efficiency: Sabre API Integration Made Easy
Boost Efficiency: Sabre API Integration Made EasyBoost Efficiency: Sabre API Integration Made Easy
Boost Efficiency: Sabre API Integration Made Easy
 

CA Service Virtualization vs mocks stubs

  • 1. CA Service Virtualization vs. Mocks/Stubs Compare key areas of differentiation between mocking / stubbing tools and CA Service Virtualization
  • 3. 3 © 2017 CA. ALL RIGHTS RESERVED. Stubs Mocks  “Provide canned answers to calls made during the test, usually not responding at all to anything outside what’s programmed in for the test.”  Development or Testing “objects pre-programed with expectations which form a specification of calls they are expected to receive.” http://martinfowler.com/articles/mocksArentStubs.html#TheDifferenceBetweenMocksAndStubs
  • 4. 4 © 2017 CA. ALL RIGHTS RESERVED. Service Virtualization  A method of capturing and simulating the behavior of unavailable or incomplete systems.  Takes a modern approach to the practice of “mocking” or “stubbing”.  Uses sufficiently “real” virtual services without depending on complexity and constraints of real hardware or software.  Benefits include: – Earlier detection of defects – Shorter Release cycles – Reduced cost of development – Reduced physical infrastructure dependencies
  • 5. Capabilities & Benefits - Compare & Contrast Service Virtualization vs. Mocks/Stubs
  • 6. 6 © 2017 CA. ALL RIGHTS RESERVED. Reduce Dependencies and Constraints in App Development Reduce cycle times, earlier defect discovery, more efficient use of resources. Service Virtualization Mocks/Stubs
  • 7. 7 © 2017 CA. ALL RIGHTS RESERVED. Virtualize test data for comprehensive test paths Faster setup/teardown, greater stability for test automation. Service Virtualization Mocks/Stubs Test data must be designed for specific use
  • 8. 8 © 2017 CA. ALL RIGHTS RESERVED. Enable high performance environments Better realism and quantity of performance testing. Service Virtualization Mocks/Stubs Not designed for performance testing
  • 9. 9 © 2017 CA. ALL RIGHTS RESERVED. Complete testing of application business logic Test each app component individually and automate the validation of business processes that span across multiple internal and cloud based services. Service Virtualization Mocks/Stubs Inside Application Code
  • 10. 10 © 2017 CA. ALL RIGHTS RESERVED. Provide reuse and collaboration across development teams Virtualize a Service once and reuse across development teams and applications. Service Virtualization Mocks/Stubs Every app requires writing mocks that could be shared
  • 11. 11 © 2017 CA. ALL RIGHTS RESERVED. Incorporate into Continuous Integration Process Hook into all stages of CI environments. (Dev., QA, Performance, and Integration) Service Virtualization Mocks/Stubs Limited outside of Dev. Environment
  • 12. 12 © 2017 CA. ALL RIGHTS RESERVED. Reduce time and cost of Maintenance for Dev and Test environments Increase dev time to focus on application code vs. maintaining mocks and test data that are code dependent. Service Virtualization Mocks/Stubs Code Dependent
  • 13. 13 © 2017 CA. ALL RIGHTS RESERVED. Expansive Code Coverage Enable a consistent and standardized SDLC/ CI Process with solution that supports all code bases. Service Virtualization Mocks/Stubs Java Only
  • 14. 14 © 2017 CA. ALL RIGHTS RESERVED. UI to modify request/ response Resources with no developer skills can create and update models. Service Virtualization Mocks/Stubs Coding required
  • 15. 15 © 2017 CA. ALL RIGHTS RESERVED. Bulk import/ recording of transactions Leverage large volumes of actual behavior and data. Service Virtualization Mocks/Stubs No recording or importing of transactions
  • 16. 16 © 2017 CA. ALL RIGHTS RESERVED. Magic Strings/Dates Test request that don’t have a “specific” response, as patters are identified and made available. . Service Virtualization Mocks/Stubs Static Information
  • 17. 17 © 2017 CA. ALL RIGHTS RESERVED. Think Time Add “think time” to transactions to simulate performance in production. Service Virtualization Mocks/Stubs Single Thread
  • 18. 18 © 2017 CA. ALL RIGHTS RESERVED. Various Capture Methods capture services through record a live system (for accuracy) or import data. Service Virtualization Mocks/Stubs No Capture Mode
  • 19. 19 © 2017 CA. ALL RIGHTS RESERVED. Learning Mode “Learn” live system data over time or pass- through to w/o reconfiguring SUT. Service Virtualization Mocks/Stubs No Learning Mode
  • 20. 20 © 2017 CA. ALL RIGHTS RESERVED. CA Service Virtualization  Leverage throughout Continuous Integration (CI) process – Development, Pre-Production, Performance, Integration, QA.  Test Data Management challenges may disappear entirely. – Edge conditions, negative test scenarios and error handling – Virtual service never “burn” since they play back behavior responses.  Support across the enterprise including: – web traffic (HTTP), web services (SOAP/XML), integration layers & ESB (JMS, etc.)  Simulate transactions and connections with: – underlying mainframes (CICS, CORBA, etc.,), databases (JDBC, etc.) and third-party services.
  • 21. 21 © 2017 CA. ALL RIGHTS RESERVED. CA Service Virtualization  STS security Plugin module cannot be mocked, but are easily supported as a container with Service Virtualization  Drive performance testing. Traditional Mock/Stub tools - not designed for performance testing environments.  Represents more realistic behavior than stubs and mocks.  Delivers stand-alone, decoupled services suitable for sharing between teams and organizations.  Does not require proprietary source-code level changes or modifications of the application under development.
  • 22. For more information visit ca.com/SV