Service Virtualization
Pontus Thell - HP Software 1
Agenda Environment Challenges
HP Service Virtualization Introduction
HP Service Virtualization Demo
URLs
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 3
Distributed Environment Challenges
Existing Infrastructure
3rd party
Application Under Test
2am-4am
Pay-per-transaction
3s response
• No Availability
• Restricted Access
• Dependency on 3rd party
• Limited Usage
• Slow execution
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 4
Development and testing constraints and impact on project KPI’s
Limited access
• Access is limited by time • Access is behind firewall
• Access is expensive • Service is incomplete
Dependency
• On third party services • On other teams • On data
• QA doesn’t have a way to work around component dependencies
Focus
• QA doesn’t have the right tools to understand dependencies • Volatility and inconsistency of responses • Performance/load scenarios are problematic • Client-side testing only
Test Lab Environment
• Hard to setup and configure production system • Keep changes up-to-date
TIME
QUALITY
COSTS
LATE RELEASES
DEFECTS IN PRODUCTION
EXCEEDED BUDGETS
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 5
User Personas
Performance Testers • Model backend performance characteristics • Understand bigger picture through topology • Model performance behavior of 3rd party systems
Functional Testers • Quickly and easily set up working test environments • Create and execute tests earlier in the delivery cycle • Deliver test results faster in shorter iterations • Model backend functional behavior
Developers • Create integrations into dependent application components
early without writing stubs • Expose components to QA and other projects
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 6
HP Service Virtualization Architecture Overview
SV Server SV Designer
Node 1
Node 2
Node X
Admin UI
Protocols/Environments
WS-*/ SOAP
REST/JSON JMS MQ Cobol
IMS/CICS Extension
SDK
Management API
Embedded Server
VSI VSI
Simulation Project
Designer UI
Performance Center Unified Functional
Testing LoadRunner HP ALM
Versioning &
Source Code Mgmt.
Dev. Lab & Build
Automation
DB Server Cluster
DB Lite
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 7
Performance testing with Service Virtualization
SLA
SLA
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 8
Step 1: Select Design New Service in Designer
Select Design Virtual Service
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 9
Step 2: Import Service Endpoint
Locate WSDL location and click
Start
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 10
Step 3: Select Endpoint
Select endpoint and continue
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 11
Step 4: Confirm Configuration and Virtualize
Confirm configuration and
click Virtualize
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 12
Step 6: Confirm Service Virtualized
Confirm service virtualized
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 13
HP Service Virtualization Designer
Virtual Service Model
Runtime View
Virtual Environment
Project
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 14
Virtual Service Designer
Data Model Performance
Model
Configuration
Virtual Service Control
Virtual Service States
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 15
Wizard based Virtual Service creation
Pre-Set Starting Points
Dialog Based Wizards
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 16
Functional Model
Simulation Rules
Service Operations
Functions Rule Detail
Stateful Conversations
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 17
What is Data Modeling?
Data modeling, through HP Service Virtualization, allows the designer to customize the requests and responses for virtualized services
During simulation, the virtualized service will expect and provide data based on the designed data model
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 18
Performance Model
Service Operations
Performance Throttles
Performance Parameters
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 19
What is Performance Modeling?
Performance modeling enables users to configure performance metrics for a virtual service during simulation
Performance metrics for each service response are tweaked to speed up or slow down to meet realistic scenarios
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 20
Virtual Services Management
Administration Entry Point
Virtual Services
Deployed to Server
List of configured SV
Servers
Server configuration Virtual Services
Actions
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 21
Virtual Services within Functional and Load testing
Virtualization Control
Virtual Environment
Profiles Virtual Services
Real-time Performance
Virtualization Control
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Demo
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
hp.com/go/SV
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Tack www.hp.com/go/alm [email protected]
Top Related