You are on page 1of 15

CA LISA Overview and Benefits

1
What is Service Virtualization?
Definition

 Service virtualization involves the imaging of software service


behavior and the modeling of a virtual service to stand in for the
actual service during development and testing. (Abstract)

 Service Virtualization is a concept where you can mimic the actual


service in absence of the actual service being available

 It is to accelerate the Testing and Development process


and overcome the dependency situations

2
Virtualization Concept
Request

Response

Request Request

Response Response

Request

Response

3
LISA Introduction
LISA is a suite of tools for that offers solutions to critical problems through a single, unified product
platform.

 LISA Virtualize to eliminate dependencies of


unavailable systems and data
 LISA Pathfinder to seamlessly integrate
development and testing process
 LISA test to do functional and regression
testing on the system under test
 LISA Validation for continuous validation

Supported TRANSPORT Protocols Supported DATA Protocols

a)HTTP/HTTPS (Web Applications) a)HTTP Traffic (Web)


b)EJB (Enterprise Java Beans) b)Web Services (SOAP)
c)JDBC (Databases) c)Web Services Bridge
d)Java d)Auto Hash Transaction Discovery
e)Messaging Platforms (web Methods, Tibco, MQ, Sonic) e)Generic XML Payload Parser activities
f)Standard JMS f)Protocol layer for handling messages over IBM
g)From WSDL for HTTP/S MQ
h)mainframes g)Protocol layer for handling messages over
JMS using JNDI
h)JSON Parser

4
Virtualization different Approach

Record and Playback – Suggested and Widely used


- Keep LISA in between the application and target server and capture transactions
to create Virtual Service

Virtualization using Request/ Response Pairs – Widely used


- Create Virtual Service using model request and response XML’s

Virtualization using WSDL for Web-services

5
LISA Benefits

CA LISA’s Virtualization capability will be used to over come situations which will prevent
 Development and Testing team to proceed with their work even when the services unavailable because of
 Environment issue
 New service under development
 Code issue blocking the development or testing activity.
 During Unit testing, development team will be utilizing Lisa virtual models to stub the dependent services
whenever required
 Virtualized services are helpful for agile SOA testing : shorter, iterative, requirement-driven test cycles where
testing happens every step of the way
 To test early in the Project Life Cycle: (To test incomplete components, or “in progress” integrations.)

6
Implementation at THD DOT COM
• Productivity loss due to down stream systems / Third Party Systems not being available

 Depot Direct

 OMS

 Cyber Source

 Tandem

 Certona

 MapQuest

 PayPal

 UPS

 Bazaar Voice

 Credit Service

 Development/QA teams leverage Virtual Services (e.g.: Depot


Direct, OMS, Cyber Source, Tandem,PayPal) as failover systems
when actual services are not available.

7
• Delays in development where activities are dependent
on downstream system modifications OR newly built
applications.
• Critical production fixes were not fixed/validated due
to non availability of dependent services.

 Developed the Virtual services to support the


dependent and Downstream systems
 Prod fixes are validated by simple creating the
Virtual services on the dependent services
.

8
• Limited ability to verify against downstream/External
Systems in Performance Environment
e.g. MapQuest (now BING)
Com Inventory,
Certona
Tandem (Gift Cards)
Credit services
PayPal

 Performance team leveraged virtual services in QP environment across


releases for faster response time and uninterrupted coverage.
 QP team observed approximately 40% of the effort saved per release.

9
 Testing teams requiring data creation in .com
to test their applications.
Executing automated regression for
BOSS/BOPIS order flows could not be run
frequently due to unstable down stream
services.

 Virtual services provided the ability to create multiple orders within 30mins
instead of 2 days. This helped test downstream systems (OMS/COM) without
time delay or dependency on .COM
 Usage of virtualization helped automated regression for BOSS/BOPIS flows.
It provides consistent test results when downstream systems are being
modified or are unstable

10
 Testing of API services took longer when
validating large amounts of data manually

 Tax ware Upgrade initiative involved validation of 84000 ZIP codes completed
in 16 hours using LISA which could have taken 120 hours.
 MapQuest to Bing migration involved validation of 42000 ZIP codes completed
in 10 hours using LISA which could have otherwise taken 350 hours
 Enabled multiple runs to verify and validate builds

11
Benefits of Virtualization in Functional Test

 Virtualization helps when there is no actual service available.

 It also helps to configure new scenarios for which development is under progress.

 Scenarios created helps different team to continue their activities by eliminating


dependencies.(Example – Suppose one module consumes response of another module
and if the dependent module is not ready or under development , virtual
service will eliminate the dependency by providing a suitable
response till the actual module is ready)

 The scenarios can be tested with less effort by using virtual service, which can be easily
consumed by other environments by only changing the configuration.

 The response XML will be verified against the schema for the compliance.

 The response will be configured in the LISA virtual service and published as a service
provider

 New scenarios can be created easily by enhancing the existing response


12
Virtualization Overall Status
Virtual Services Completed
 Depot Direct  COM  Bazaar Voice for MyAccount
 Tandem  OMS  WTS_Blinds (12 services)
 ESVS  Store Inventory Service  COMET (14 services)
 API – Product Services, Search and  Product Recommendation  GetEreceipt Service API
Navigation  GetReceiptReference  API Service
 PayPal  GetReceiptInfo  WCS_Rest
 PO-Lookup  MapQuest  Inventory_Rest
 Certona  Credit Services  MSR_SKU
 WCS – Order Creation BOSS and BOPIS  BODFS - CheckCapacityService  MAML – Customer Synchronization

 BODFS  Store Inventory Service  Cyber Source Service


 Create Sales Order Service – BOPIS, BOSS (Enhancement)  Customer API - Virtual DB - Virtual GR API
 Modify Sales Order Service – BOPIS  COM (Enhancement)  Reserve Inventory - COM API
 Account Service - MyList API

 110 Virtual Services developed  API migration using LISA Test


Achievements
 Services are being used in at least 2 or more ST environments  Lisa 6.0 to Lisa 7.5 Migration completed
 All Functional LLC’s

13
Usage Statistics Active Virtual Services Transaction Hits (since Nov 2014)

Browse

Checkout

5 18
15 MAML

14 COMET

8
Project 7 Blinds
18 62
Third Party/External
system
Others

14
Thank You !

15

You might also like