Mais conteúdo relacionado Semelhante a Como a virtualização de serviços e de rede podem ajudar no desenvolvimento e testes de aplicações (20) Como a virtualização de serviços e de rede podem ajudar no desenvolvimento e testes de aplicações1. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Comoavirtualização de
serviçosederedepodem
ajudarnodesenvolvimentoe
testesdeaplicações
Marcelo Galvão
galvao@hp.com
@mgalvao1970
2. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Virtualizaçãodeserviços
3. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.3
Cost per Fault 1x 1x 5x 10x 15x 30x
Cost of quality continues to be a success factor
Speed is not a hall-pass for quality
Integration
User
Acceptance
Testing
Deploy to
Production
Planning &
Requirements Design Development
Fault Origination
Requirements
Test Planning
Design
Review
Development
Unit Testing
Integration &
System Testing
UAT/
Beta
Production
50.5%3.5%0% 16.5% 20.5%9%Fault Discovery
Software Development Lifecycle
70% 20%
Source: NIST
Testing
10%
Not including
lost revenue
and customers
4. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.4
Virtualize to Speed up Agile Releases
S1 S1 S1
… …
G1
S3
G2
S1
S2
G1
S3
S1
S2
G1
G3
G2
S3
S1
S2
G1
BP1
BP2
G3
G2
S3
S1
S2
G1
S2
S3
S2
S3 S3
S2
Virtualize and share when component defined or needed
Lots of waiting here Traditional testing focus
Sprint 1 Sprint 2 Sprint 3 Sprint 4 Sprint 5 Sprint 6 Sprint 7 Sprint 8 Sprint 9
Virtual service
Developed service
GUI
Business process
Stable component
S
G
BP
Test Early, Fast and Continuously
5. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.5
Existing Infrastructure
The Service Virtualization Concept
Virtual services are created to stand
in for the real service when
developers or testers need access
Mainframe
JDBC
SOAP
RFC/IDOC
MQ/CICS
Third Party
Application Under Dev/Test
Mobile
App
Web
browser
Composite
Application
API
SAP System
Existing database
Web service and
Legacy application
REST
Pay-per-transaction
Under
construction
Service
Virtualization
SOAP
REST
JDBC
MQ
RFC
CICS
Simulation
Data
Perf.
Config
6. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.6
Users & benefits of HP Service Virtualization
Developer
• Quick and early access to dependent application components and shared services
• Expose unfinished components to testing teams and other projects for dev/test
• Enable continuous unit testing within complex system
Functional tester
• Faster and lower cost set up of working test environments
• Create and execute tests earlier in the delivery cycle—”shift left”
• For shorter iterations, support continuous integration and testing
• More realistic tests: model backend functional, performance and network behavior
Performance tester
• Mitigate constraints, test performance within application dependencies
• Model extreme performance characteristics
• Model performance behavior of 3rd party systems
• Include network characteristics that influence performance
7. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.7
HP Service Virtualization Protocols
Protocol supported
Multiple responses
* All XML-Based protocols supported
** Simulate any TCP based protocol
TRANSPORT HTTP(S) JMS TIBCO
EMS
IBM
MQ
IMS
Conne
ct
CICS
TS
JDBC TCP/IP
SDK
SAP
(XI/PI)
Oracle
(AQ)
MESSAGE Gateway Proxy
WS/SOAP
XML*
REST (XML, JSON, Bin)
Cobol
SQL/RPC
RFC/IDOC
Text/Binary**
8. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.8
Virtual Service Management Automation
• control Virtual Services from command line and external
scripts using SVConfigurator tool
• Java based, multi OS, supporting ANT tasks
• deploy/un-deploy Virtual Services to/from any HP SV Server
• change runtime mode of a Virtual Service
• view Virtual Service details and metrics;
• list all deployed Virtual Services
• unlock Virtual Service locked by another user
• JavaDoc like documentation
Integrate 3rd party development tools, IDEs, build and
continuous integration systems
9. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Virtualizaçãoderede
10. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.10
Comprehensive mobile application performance testing results
HP Network Virtualization
• Shunra virtualizes true
network conditions
• Dynamic network
characteristics create
realistic and valid mobile
performance testing results
• Analysis and optimization
recommendations yield
faster performing mobile
applications
~70% of Mobile Performance on Network
Services
Multi-user and multi-
location
Network Virtualization
Backend
Monitoring
Service
Virtualization
AUT
11. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.11
Browsers&
Devices
Customers
Employees
Major ISP
3rd Party
Cloud Services
Web
Servers
Load
Balancers Mainframe
DB
Servers
App
Servers
Web
Services
Storage
3rd party
Mobile
Components
Client Data AUT Configuration Provision Infrastructure
Provision Software
Provision Data
Complexity of mobile app test environment
Client
Carriers
& ISPs
Content Delivery
Networks Secured
Backend &
3rd party Systems
Align Test Data
Application
12. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.12
Virtualize to Simplify Test Data and Environment
Align Data,
Control Backend Profiles
Client Secured
Browsers&
Devices
Customers
Employees
Web
Servers
Load
Balancers Mainframe
DB
Servers
App
Servers
Web
Services
Storage
3rd party
Mobile
Components
SVClient Data
AUT Configuration Virtualized
• Quick test
environment
provisioning
• Dynamic data
changes
• Instant resets
• Aligned client
and backend
test data
Backend &
3rd party SystemsApplication
Virtual
Networks
Provision APIs
13. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.13
Why this is important
A recent study by Strangeloop showed that every additional 1 second of delay on mobile leads
to an 8% increase in abandonment.
14. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.14
Qantas Android app
15. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.15
Qantas Android app
16. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Demo
17. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
hp.com/go/SV
hp.com/go/NV
GO,VIRTUALIZE!