simulated tests, real results

12
Business white paper Simulated tests, real results These companies are using HP Service Virtualization to overcome testing challenges, accelerate delivery, and improve quality. So can yours.

Upload: trandiep

Post on 01-Jan-2017

221 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Simulated tests, real results

Business white paper

Simulated tests, real resultsThese companies are using HP Service Virtualization to overcome testing challenges, accelerate delivery, and improve quality. So can yours.

Page 2: Simulated tests, real results

Table of contents

3 Executive summary

3 The pressing need for smarter testing

4 Service virtualization: a real solution

4 Customer example #1: TTNET Applications Testing Unit

5 End-to-end automation: from pipe dream to reality

5 From POC to 95% virtualization in 10 weeks

6 100%paybackinthreemonths,100%efficiencygain

7 Customer example #2: EWE TEL

7 Solving the issues of testing customer-built applications

9 More than a test optimization solution

10 Making the Dev/Ops vision a reality

11 Lessons learned and practical advice

11 How to jumpstart your move to service virtualization

12 Summary

12 HP: We’re here to help

Business white paper | HP Service Virtualization

Page 3: Simulated tests, real results

3

Executive summary

The cloud. Mobility. Social media. Connected devices. Collaborative computing. All the latest technology trends and advancements share two attributes: They’re great for users, creating newcapabilitiesandconveniencesandefficiencies.Andtheycanbedifficultfordevelopmentand testing teams, imposing new challenges, complexities, and obstacles.

How can companies deliver new applications on time and on budget when there are multiple interdependent components from multiple sources, when those components are not always available for testing, and when teams and toolsets are distributed across multiple locations?

Servicevirtualizationoffersasolution.Servicevirtualizationtoolssimulatesoftwarecomponents so end-to-end testing can proceed even when dependent components are not available. That means teams can perform integration tests sooner and more often, accelerating the delivery of high-quality, thoroughly tested applications.

There’s no question that service virtualization holds considerable promise. The question is, who has transformed the “potential” into actual results?

This paper provides two compelling examples from the HP Service Virtualization customer base. Following a brief summary of the advantages of the service virtualization approach, it presents the real-world experiences of TTNET, Turkey’s largest Internet service provider, and EWE TEL, a major German telecommunications company.

The pressing need for smarter testing

Multiplefactorsaremakingitmoredifficulttomeetdevelopmentandtestingdeadlineswithoutcompromising on quality:

• Changing expectations. Users now expect enterprise applications to be as easy and convenient as consumer-based apps—and to evolve quickly to meet new requirements. That puts pressure on development and testing teams to accelerate both innovation and velocity.

• Composite applications. Apps that combine existing functions into a new application promise agility but actually introduce new impediments. As new composite application functionality is developed,itcanbedifficulttogetallofthepiecesreadyandavailablefortesting.Moreover,eachcomponentmayhaveadifferentservice-levelagreement(SLA)orperformancerequirement; sometimes there may be parallel development and delivery requirements; some componentsmaybebehindafirewall,makingtestingdifficult;ortheremaybeaccessfeesforcomponents, contributing to budget overruns.

• Connected devices. The sheer number and interconnectedness of devices is mushrooming—and the devices are built from multiple software variants running on a diverse range of hardware platforms over multiple networks. That, in turn, increases the complexity of the testing environment: more carriers, data sources, security considerations, toolsets, and so on.

• Non-stop testing. Iterative or “Agile” development replaces one long development cycle with many shorter ones, making testing a non-stop exercise aimed at a moving target. However, teamscannotaffordtowaitforalldependentcomponentstobeavailablebeforetheybeginintegration testing. That is why, in the words of Forrester Research, “as Agile adoption matures and release cycles shorten, testing becomes the weak link.”1

The net result is that testing is now a bottleneck for many projects and initiatives, a source of delay and unexpected expense rather than a source of business value and strategic advantage. Moreover, today’s testing practices can actually decrease quality. Developers often build ad hoc stubs that don’t mimic production precisely—or they may forego some aspects of testing altogether.

Development and testing teams can’t stop any of these trends. But they can respond—and tame the complexities—with service virtualization.

Business white paper | HP Service Virtualization

1 Source: “Service Virtualization and Testing,” Forrester Research, January 15, 2013.

Page 4: Simulated tests, real results

4

Service virtualization: a real solution

Service virtualization tools can remove the obstacles to fast delivery of high-quality applications. They give development and testing teams building composite applications the ability to virtualize services within existing environments both on site and in the cloud.

By enabling parallel development and early functional testing, service virtualization can eliminate wait times for teams using Agile methods. And they can reduce costs by eliminating the requirement for access to constrained business-critical infrastructure or pay-per-use cloud componentsfortesting.Additionalbenefitsinclude:

• Fast access to all components: Service virtualization allows for the simulation of all components or system dependencies to ensure a complete and accurate test of the composite application.

• Higher quality: Service virtualization increases code coverage and reduces the number of defects released to production, so overall quality improves.

• Earlier functional and load testing: Service virtualization facilitates performance and load testing by virtualizing platforms and making them available to test for performance and scalability.

• Support for apps with complex interdependencies: Today’s apps are often complex systems with multiple contributors. Service virtualization makes it practical to share assets and virtualize an entire system of software from any member of the supply chain.

• More collaboration: Service virtualization provides a way for teams across the lifecycle to collaborate and deliver higher quality software.

With this brief summary of the value of service virtualization providing context, let us now turn our attention to the actual experiences of two HP Service Virtualization customers.

Customer example #1: TTNET Applications Testing Unit

AsthelargestInternetserviceproviderinTurkey,TTNET(asubsidiaryofTürkTelekom),isunderconstant pressure to roll out innovative new services to its six million subscribers—and to cut costs and delivery timeframes at the same time. The company has found a solution in HP Service Virtualization.

TTNET deploys more than 200 applications per year, primarily related to customer relationship management(CRM),andmanyoftheseapplicationsaremissioncritical.BeforeimplementingHP Service Virtualization, TTNET had to use test infrastructures from third parties in its test cases. This was creating issues such as lack of accessibility, burdensome authorization requirements, inability to access private data, even downtime.

“We needed to virtualize our test systems and we needed automation to accelerate deployment,”saidHasanYükselten,testandreleasemanageratTTNET.“Andofcourse,weneeded to reduce our cost. We decided to solve the problems of the company by implementing HP Service Virtualization.”

Business white paper | HP Service Virtualization

2 Source: “Market Snapshot Report: Service Virtualization,” by voke Research, December 11, 2012.

3 Source: “Service Virtualization and Testing,” Forrester Research, January 15, 2013.

“Service virtualization solutions will enable the delivery of greater business value from software.”–voke Research2

“Adopters of service virtualization and testing solutions improve quality and increase speed of delivery by testing better, faster, and continuously.”–Forrester Research3

Page 5: Simulated tests, real results

5

End-to-end automation: from dream to realityPreviously, automation was not an option for TTNET because dependent software components wereindiscretelocationsanditwasdifficulttoreachthesystemswheretheyresided.Forexample TTNET systems had to interact with the Turkish National Identity System through telecominfrastructuresuchaspublicswitchedtelephonenetwork(PSTN)systems.TTNETcould automate functional test cases, but end-to-end automated testing was impossible.

TTNETtookitsfirststeptowardfullautomationbyimplementingHPServiceVirtualizationtovirtualize the third-party systems, putting HP Service Virtualization between its infrastructure and the third-party infrastructure. The TTNET team could then use HP Service Virtualization instead of the third-party infrastructure.

Afterthat,theTTNETteamwasabletouseautomationtoolsbyintegratingHPUnifiedFunctionalTesting(UFT)andHPServiceVirtualizationtools.“Nowwecanrunautomationtestcasesandend-to-endtestcasesonHPServiceVirtualization,”saidMr.Yükselten.Pleasedwith this initial success, the TTNET team then implemented HP Service Virtualization for the development systems as well.

From POC to 95% virtualization in 10 weeksAccordingtoMr.YükseltentheimplementationofHPServiceVirtualizationwasfastandeasy.“Including the time needed to do the proof of concept, we could use this tool in six weeks,” he said. “WespentfirsttwoweeksforthePOCandafterfourweeks,weweresuccessfullyusingthetool.”

Forthefirstsixweeksafterimplementation,TTNETwasusingHPServiceVirtualizationfor45% of end-to-end test cases. Within 10 weeks, 95% of its test cases could be run on HP ServiceVirtualization,accordingtoMr.Yükselten.InalltheteamisnowusingthreeHPServiceVirtualization systems: One for development, one is used exclusively for campaigns, and one is for end-to-end testing.

Business white paper | HP Service Virtualization

Figure 1. In a total of 10 weeks, TTNET moved from POC to 95% virtualization.

6 weeks

POC

• 10 weeks from start of POC to 95% virtualization

Makingdecisionfor tool

Additional servicevirtualization

HP SVset up

Toolcustomization

4 weeks

95% virtualization45% virtualization

Page 6: Simulated tests, real results

6

TTNETneededcustomizationoftheHPServiceVirtualizationtooltomeetitsspecificrequirements, and found that HP Professional Services was quick to respond. “We were also using HP Application Lifecycle Management tools before Service Virtualization, and we had a goodrelationshipwithHPSoftware,”saidMr.Yükselten.“WiththeHPRapidDeploymentservicewe were able to use the tool very quickly.”

Business white paper | HP Service Virtualization

100% payback in three months, 100% efficiency gainTTNETachievedthecostsavingsandefficiencygainsithadexpectedquickly.“Inlessthanthreemonthswegottheinvestmentback,”saidMr.Yükselten,“andforthecampaigntestcaseswegained100%efficiency.Previously,wecouldrunjustsevencampaignsinamonth,butafterHP,we managed to run 14 campaigns in a month.”

For basic test scenarios, TTNET could previously run all test cases in 112 hours. After implementing HP Service Virtualization the team ran them all in just 54 hours. “We managed toautomate52%ofourcampaigntestcases,andthismeantaverybigefficiencygain,” saidMr.Yükselten.

Since deploying HP Service Virtualization, TTNET has drawn the attention of other divisions and companies that want similar results. “We have a branch company called AVEA, and they also wanttousethistool,”saidMr.Yükselten.“EightcompaniesvisitedusinTurkeytolearnmoreabout our experiences using this tool. Many companies want this tool in their test systems.”

100%gaininefficiency

Figure 2. At TTNET 166 services were virtualized successfully, and 48 are now being used actively.

Page 7: Simulated tests, real results

7

Mr.Yükseltenhasadviceforothercompanieslookingtobenefitfromservicevirtualization.“Knowyourneedsfirst,”hesaid.“Forexample,inourcompanywehavethreeblockagesystemsfor third parties and the other systems don’t change every day. So it was easy to implement HP Service Virtualization in our systems and virtualize the other systems. We don’t need to do virtualization day by day, because the other systems don’t change every day. Once a month, we consult and change our systems, update our web services on Service Virtualization, and that is enough for us. But if the other parties’ systems change day by day or frequently, it may be difficulttodovirtualizationeveryday.”

Inaddition,saidMr.Yükselten,“companiesshouldthinkaboutautomation,notjustvirtualization.Theyaredifferentaspectsofincreasingefficiency,andtheyshouldbothbeconsidered individually.”

What’snextforTTNET?“OurfirstgoalisdoingmoreautomationwithHPServiceVirtualizationandUnifiedFunctionalTestingandthenextisusingHPServiceVirtualizationindevelopmentsites,”saidMr.Yükselten.“Weplantofindearlydefectsindevelopmentsitesandgetmorehigh-quality products into testing faster.”

Customer example #2: EWE TEL

When more than a million people depend on your company for electricity and gas, your network and applications had better be up and running reliably. EWE TEL operates the network for EWE Group,oneofthelargestenergysuppliersinGermany,andoffersconsumersawiderangeoftelecommunications services such as high-speed Internet access.

EWE TEL has kept the quality of its applications high by deploying HP Service Virtualization. The company has used the tool to reduce performance complexity across an enterprise billing processandhassignificantlyimprovedapplicationquality—whilealsogainingpredictiveinsights in the behavior of composite application services.

Solving the issues of testing customer-built applicationsEWE TEL depends on its software and IT systems to interact with its end users, so these applications are mission critical. The company has about 40 applications, including customer self-service applications, activation components, and the billing system.

Because the telecommunications business is very specialized, EWE TEL develops many of its applications on its own. In fact, nearly half of its applications are developed in house; for example, the customer self-service portal and the customer care system are internally developed.

To test its home-grown applications, EWE TEL created a team, recruiting personnel from the operatingdepartments,addingITstaffandcertifyingthemastesters.Thismadeiteasytoagree on roles, tasks, processes, and so on, concerning the tests.

“When we created this new team, we faced the problem of testing the systems end to end,” said Bernd Schindelasch, leader for quality management and testing at EWE TEL. “When you have 40 applications and have to test an end-to-end process over all of those applications, all the contributing applications have to be available and have a certain level of quality to be useful.”

However, what the team discovered was that the order interface of another service provider was often unavailable and responses from that system were faulty. So end-to-end testing was adifficultchallenge.

Business white paper | HP Service Virtualization

Page 8: Simulated tests, real results

8

To overcome the obstacle, the team initially developed diverse simulations based on traditional mockup scripts. These were very useful for developers to do unit testing, but they weren’t configurabletoenabletesterstocreatetherightsituationsforpositiveandnegativetests.Creatingthesemockupswasalsoamajorundertaking,andsometimestheefforttocreatethemockupwouldhavebeengreaterthantherealdevelopmenteffort.

In 2012, the EWE TEL teams searched for products that might be able to help with the composite application testing problem. They requested a proof of concept of HP Service Virtualization to further evaluate the product.

“We found that it supported all the protocols we needed, and came with a rule set to predict the responses,” said Mr. Schindelasch. “During the POC we found that HP Service Virtualization deliveredbenefitsbothfordevelopersandtesters.Evenourarchitectsfoundittobeagoodsolution. So in the end, we decided to purchase the software.”

EWETELfirstimplementedservicevirtualizationinapilotproject.Theteamintegratedservicevirtualization as a proxy between its customer care system and the order system. “It’s in the middle, between your systems, and records all messages and their responses,” said Mr. Schindelasch. “Afterward, you can just replay this message response or you can improve the rulesmanually.Forexample,youcanadddatatablessoyoucanconfigurethesystemtoworkwith the actual test data you are using for your test cases to be able to support positive and negative tests.”

Business white paper | HP Service Virtualization

Legend

DB Owndevelopment

Externalsystems/Externaldevelopment

Figure 3. The complex composite application landscape at EWE TEL made end-to-end testingextremelydifficult.

Page 9: Simulated tests, real results

9

More than a test optimization solutionWhiletheprimaryobjectiveforimplementingHPServiceVirtualizationwastofindawaytodoend-to-endtestingtooptimizeapplications,EWETELquicklyfoundthatadditionalbenefitswerepossible.“We’vereducedtheefforttocreatesimulationsby80%,whichisahugeamount,andhave been able to virtualize services that were still under development,” said Mr. Schindelasch.

Business white paper | HP Service Virtualization

“We have been able to uncouple the tests of the self-service application from a new technical feasibility check. Therefore, we’ve been able to test earlier in our processes,” he continued. “Thatreducedoureffortsandcostsindevelopmentandtestingandit’sthebasisforfurthertest automation at low testing cost.”

Equally important, EWE TEL was able to boost application quality while cutting testing timeframes. “In the end, we’ve improved quality,” said Mr. Schindelasch. “It’s even better for our customers, because we’re able to deliver faster and cut our time to market for new products.”

Figure 4. EWETELcreatedanefficientfive-stepvirtualizationprocess.

Plan and analyze Design Implement Improve Use

Figure 5. A closer look at the design components and capabilities of HP Service Virtualization used by EWE TEL

Performancemodel

Performancemodel

Protocol used

Data model

Current status

jmsx queueconfiguration

Page 10: Simulated tests, real results

10

Making the Dev/Ops vision a realityAs development shifts from traditional waterfall methods to Agile methodologies, better integration is needed between development and testing tools. According to Mr. Schindelasch, HP Service Virtualization can help accelerate that integration—and foster greater cooperation between teams.

“I think it’s crucial to increase cooperation between development and testing, because there wouldn’tbearealbenefittovirtualizetheserviceafterdevelopmentalreadymockedupinanold-fashioned way,” said Mr. Schindelasch. “We brought them together. We had the training for alotofdevelopers.TheystartedtoseethebenefitsandstartedtouseHPServiceVirtualizationthe way the testers already did.”

Now EWE TEL developers and testers are working together more closely and earlier in the process, according to Mr. Schindelasch. “What’s coming in the future is that the developers will start to use service virtualization for their continuous integration, because service virtualization has the potential to change the performance model, so you can let your application answer slower or faster.”

Business white paper | HP Service Virtualization

With HP Service Virtualization, developers and testers at EWE TEL are now working together closely and collaboratively.

Figure 6.Theintuitiveinterfacemakesiteasytofindusefulserverandperformancedataquickly.

Service nameand host

Current servicestatus

Logged messages

Protocol used

Data model/performance model

Page 11: Simulated tests, real results

11

Lessons learned and practical adviceBased on his experience with HP Service Virtualization, Mr. Schindelasch has some advice to pass along to others who are on the road to virtualized, automated testing.

“It’s important to work together with development and testing,” he said. “To gain maximum benefitfromHPServiceVirtualization,youhavetodesignyourfuturesolutions.Whatservicesdo you want to virtualize, which protocols will you use, and where are the best places to intercept? Do I want to replace real systems or create the whole environment as virtualized? In which way do I want to use performance model and so on?

“It’s also very important to really understand what your needs are before you start using the toolsandjustvirtualizeeverything.It’seasytovirtualize,butthereisnorealbenefitifyouvirtualizealotofthingsyoudidn’treallywant.Asalways,it’simportanttothinkfirst,designyour future solutions, and then start to do it.”

How to jumpstart your move to service virtualization

When your company is ready to make the transition to service virtualization, HP Software Professional Services is ready to assist you with end-to-end solutions including:

• HPServiceVirtualizationfoundationservicesforproductinstallation,configuration, and deployment

• Educational services for customer enablement

• Virtual services development using HP Service Virtualization

• Test data management for virtual services

• Best practices consulting for HP Service Virtualization

• Testing and test environment management using HP Service Virtualization

• Settingupandoperatingaservicevirtualizationcenterofexcellence(CoE)

In addition, the HP Service Virtualization QuickStart Service provides hands-on mentoring andimplementationofHPServiceVirtualizationinyourspecificenvironment.AnHP-certifiedconsultant will be on site to accelerate adoption and use of the tool by reducing the learning curve and assisting with real use case scenarios. In just two weeks, HP Software Professional Services can provide your testing team with the knowledge and experience to create, deploy, configure,andexercisevirtualservices.InstallationoftheHPServiceVirtualizationsoftwarebya trained HP Software Professional Services specialist is included in this service.

HPSoftwareProfessionalServicesoffersoutcome-basedservicesfocusedongeneratingspecificoutcomesthatareguaranteedthroughservice-levelagreements(SLAs).Formoreinformation, click here.

“Early adopters of SVT [services virtualization and testing] show that they are debunking many of the testing bottlenecks, allowing early integration testing, more automation, and smarter testing coverage.”

–Forrester Research4

Business white paper | HP Service Virtualization

Results at a glance

TTNET

• Set up in six weeks including POC

• Achieved 95% virtualization in 10 weeks

• 166 services successfully virtualized

• Increasedcampaigntestefficiency100%

• Saved 147 man-days in testing

• Saved three man-months via automated testing

EWE TEL

• 80% reduction in time to create simulations

• Able to test earlier in the process

• Cut costs through test automation

• Improved application quality

• Developersandtesterscollaboratingeffectively

• Createdanefficientvirtualizationprocess

4 Source: “Service Virtualization and Testing,” Forrester Research, January 15, 2013.

Page 12: Simulated tests, real results

Sign up for updates hp.com/go/getupdated

This is an HP Indigo digital print.

Summary

Service virtualization is a complex, multi-layered topic and this paper can only address a small fraction of the issues and opportunities. However, the intent of this paper is simply to answer onesimplequestion:Arethebenefitsofservicevirtualizationreal?

By highlighting the actual experiences of two real-world companies with HP Service Virtualization, we hope we’ve made the case that there is a better, smarter way to test composite applications from end to end—and to deliver composite applications with less waiting, reduced risk, and lower costs. In the process, we hope we have opened your eyes to additionalpossibilitiesandbenefitsforservicevirtualizationwithinyourcompany.

HP: We’re here to help

HP is ready to provide assistance in your transition to service virtualization, and to help you extract maximum business value from your HP Service Virtualization deployment.

For more information, please visit hp.com/go/sv.

Business white paper | HP Service Virtualization

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.

4AA5-1188ENW, February 2014