Service virtualization in the Continuous testing world

The World Quality Report 2016 study reveals that 88% of CIO respondents say they are using DevOps principals.Use of loosely coupled architecture and continuous testing emerge as strong levers with 88% and 85% of the respondents stating that they are using and planning to use these levers.

Service virtualization plays a key role in designing a continuous testing framework. Traditionally virtual services are used by testers to simulate API or environment dependencies.With the advent of loosely coupled architectures and micro services , there is an opportunity for the tester to shift from a pure play services automation provider and move up the value chain by designing effective services in line with business and architectural needs.

Here are seven non – traditional ways for testers to innovatively use the power of service virtualization.

  1. Design an enterprise wide service virtualization strategy in partnership with development and operations teams. This means resisting the temptation to design localized services focused purely for integration (the typical use case) but rather building virtual components that can be shared across all teams.
  2. Use non – deterministic service virtualization techniques for simulating complex algorithms. A good use case for a non-deterministic service, is in trading platforms for simulating rating and pricing algorithms. In this case, building a service for the purpose of testing enables the test team to generate a combination of numbers which enables realistic validation.
  3. Build design skills to determine which services should be stateful versus stateless. For example, in the case of credit card services, design stateful services to accurately test checkouts with carts whih should retain order history , hene stateful and credit card validation scenarios.
  4. Use dependency structure matrices to determine what services to build first and to avoid duplication. Model based analysis and behavior driven development are effective tools for the same.
  5. Use bootstrapping mechanisms to design test data. For example, in a multi country rollout, to determine valid phone codes, consider building a web service with three inputs (city, state and country) and output as phone codes.
  6. Leverage service virtualization for performance tests and security tests to enable early testing.
  7. Build the capability to create business cases for leveraging service virtualization for environments by estimating the costs and benefits of implementing service virtualization. Costs include cost of tools, labor and infrastructure. Quantitative benefits include speed to market and number of defects found earlier. Link speed to market benefits with return on invest and return on revenue. This will facilitate effective decision making.

 “Creativity is just connecting things” – Steve Jobs

  Leverage the power of connection with service virtualization and build an effective continuous testing framework.


Related Posts


Testing of chatbots – the art of conversation, interpretation and validation

Deepika Mamnani
May 23, 2018

Chatbots are set to grow exponentially in the near future. Here’s what QA professionals need...


You get what you pay for

Nathalie van Delft
November 15, 2017

I find it alarming that less money is available for HR in quality and testing while testing skills...


Test automation in an Angular wonderland

Anaïs van Asselt
October 30, 2017

It is great to discover these possibilities in Angular testing because it allows us to keep the feedback...


By continuing to navigate on this website, you accept the use of cookies.

For more information and to change the setting of cookies on your computer, please read our Privacy Policy.


Close cookie information