SlideShare una empresa de Scribd logo
1 de 22
Descargar para leer sin conexión
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

Más contenido relacionado

La actualidad más candente

Fixing Dockerfile Smells: An Empirical Study (ICSME 2022)
Fixing Dockerfile Smells: An Empirical Study (ICSME 2022)Fixing Dockerfile Smells: An Empirical Study (ICSME 2022)
Fixing Dockerfile Smells: An Empirical Study (ICSME 2022)
Giovanni Rosa
 
AutoSpice Agile Hand in Hand
AutoSpice Agile Hand in HandAutoSpice Agile Hand in Hand
AutoSpice Agile Hand in Hand
Ruchika Sachdeva
 

La actualidad más candente (20)

Four pillars of DevOps - John Shaw - Agile Cambridge 2014
Four pillars of DevOps - John Shaw - Agile Cambridge 2014Four pillars of DevOps - John Shaw - Agile Cambridge 2014
Four pillars of DevOps - John Shaw - Agile Cambridge 2014
 
Automotive SPICE® 3.0 - What is new and what has changed?
Automotive SPICE® 3.0 - What is new and what has changed?Automotive SPICE® 3.0 - What is new and what has changed?
Automotive SPICE® 3.0 - What is new and what has changed?
 
User acceptance testing checklist (uat)
User acceptance testing checklist (uat)User acceptance testing checklist (uat)
User acceptance testing checklist (uat)
 
intro to DevOps
intro to DevOpsintro to DevOps
intro to DevOps
 
Shift Left & Shift Right Approach in Testing
Shift Left  &  Shift Right  Approach in TestingShift Left  &  Shift Right  Approach in Testing
Shift Left & Shift Right Approach in Testing
 
DevOps
DevOps DevOps
DevOps
 
Quality engineering in DevOps... Why? How? (TestBusters Day&Night))
Quality engineering in DevOps... Why? How? (TestBusters Day&Night))Quality engineering in DevOps... Why? How? (TestBusters Day&Night))
Quality engineering in DevOps... Why? How? (TestBusters Day&Night))
 
DevOps Transformation: Learnings and Best Practices
DevOps Transformation: Learnings and Best PracticesDevOps Transformation: Learnings and Best Practices
DevOps Transformation: Learnings and Best Practices
 
Monitoring at the Speed of DevOps
Monitoring at the Speed of DevOpsMonitoring at the Speed of DevOps
Monitoring at the Speed of DevOps
 
Enhanced Web Service Testing: A Better Mock Structure
Enhanced Web Service Testing: A Better Mock StructureEnhanced Web Service Testing: A Better Mock Structure
Enhanced Web Service Testing: A Better Mock Structure
 
Api complete life cycle with api security
Api complete life cycle with api securityApi complete life cycle with api security
Api complete life cycle with api security
 
Site Reliability Engineering: An Enterprise Adoption Story (an ITSM Academy W...
Site Reliability Engineering: An Enterprise Adoption Story (an ITSM Academy W...Site Reliability Engineering: An Enterprise Adoption Story (an ITSM Academy W...
Site Reliability Engineering: An Enterprise Adoption Story (an ITSM Academy W...
 
DevOps - Overview - One of the Top Trends in IT Industry
DevOps - Overview - One of the Top Trends in IT IndustryDevOps - Overview - One of the Top Trends in IT Industry
DevOps - Overview - One of the Top Trends in IT Industry
 
Fixing Dockerfile Smells: An Empirical Study (ICSME 2022)
Fixing Dockerfile Smells: An Empirical Study (ICSME 2022)Fixing Dockerfile Smells: An Empirical Study (ICSME 2022)
Fixing Dockerfile Smells: An Empirical Study (ICSME 2022)
 
Devops Strategy Roadmap Lifecycle Ppt Powerpoint Presentation Slides Complete...
Devops Strategy Roadmap Lifecycle Ppt Powerpoint Presentation Slides Complete...Devops Strategy Roadmap Lifecycle Ppt Powerpoint Presentation Slides Complete...
Devops Strategy Roadmap Lifecycle Ppt Powerpoint Presentation Slides Complete...
 
Automated Image Builds in OpenShift and Kubernetes
Automated Image Builds in OpenShift and KubernetesAutomated Image Builds in OpenShift and Kubernetes
Automated Image Builds in OpenShift and Kubernetes
 
AutoSpice Agile Hand in Hand
AutoSpice Agile Hand in HandAutoSpice Agile Hand in Hand
AutoSpice Agile Hand in Hand
 
Top 50 Software Testing Interview Questions & Answers | Edureka
Top 50 Software Testing Interview Questions & Answers | EdurekaTop 50 Software Testing Interview Questions & Answers | Edureka
Top 50 Software Testing Interview Questions & Answers | Edureka
 
Functional testing vs non functional testing | Difference Between Functional ...
Functional testing vs non functional testing | Difference Between Functional ...Functional testing vs non functional testing | Difference Between Functional ...
Functional testing vs non functional testing | Difference Between Functional ...
 
PayPal's History of Microservices Architecture
PayPal's History of Microservices ArchitecturePayPal's History of Microservices Architecture
PayPal's History of Microservices Architecture
 

Destacado

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
 

Destacado (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 a 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 Nov08
Edwin Systemation
 

Similar a 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
 
M017258892
M017258892M017258892
M017258892
 
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
 
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
 
Develop an Enterprise-wide Cloud Adoption Strategy – Chris Merrigan
Develop an Enterprise-wide Cloud Adoption Strategy – Chris MerriganDevelop an Enterprise-wide Cloud Adoption Strategy – Chris Merrigan
Develop an Enterprise-wide Cloud Adoption Strategy – Chris Merrigan
 

Último

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 

Último (20)

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
ManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide Deck
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 

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