Tooling

Service Virtualisation Tools: A Comparison for Enterprise Testing

One of the biggest challenges in software testing is relying on systems and services that are not always available. In a complex IT environment, applications rarely operate in isolation. They depend on databases, third-party services, APIs and other applications to function correctly.

When one of these dependencies is unavailable, testing can quickly come to a standstill. Teams may have to wait for another project to complete its work, request access to a shared environment or delay testing until an external supplier resolves an issue.

Service virtualisation offers a way around this problem. Rather than waiting for the actual system or service to become available, teams can use a simulated version that behaves in a similar way.

For Test Environment Managers, this can provide greater flexibility, reduce dependency on external systems and help testing teams work more independently.

But what exactly is service virtualisation, and what should organisations consider when choosing a solution?

What is service virtualisation?

Service virtualisation involves creating simulated versions of applications, services or components that would otherwise be difficult to access during testing.

These virtual services replicate the expected behaviour of real systems, allowing applications to interact with them without requiring the actual underlying service to be available.

For example, imagine a new application needs to communicate with a payment provider. The payment provider’s test environment might only be available during certain hours, or access may be shared with several other projects.

Using service virtualisation, a simulated payment service can be created to respond to requests in a controlled way. Testing can continue without relying on the actual provider.

This is particularly useful when dealing with external suppliers, legacy applications or systems that are still being developed.

Why do organisations need service virtualisation?

In larger IT organisations, dependencies between applications can make testing complicated.

A project may be ready to begin testing, but one or more connected systems might not be available. This can happen because development is still underway, another project is using the environment or a third-party supplier has limited testing facilities.

Service virtualisation helps remove some of these restrictions.

Key benefits include:

For Environment Managers, the biggest benefit is often improved control over the testing landscape. Fewer dependencies on external environments can mean fewer scheduling conflicts and less disruption.

What should organisations look for in a service virtualisation tool?

Not all solutions offer the same capabilities. The right choice will depend on the organisation’s technical landscape, testing requirements and existing infrastructure.

Some important considerations include:

Protocol support: Can the solution simulate the types of services your applications depend on, including REST, SOAP, messaging and database interactions?

Ease of use: Can testing and development teams create and manage virtual services without requiring extensive specialist knowledge?

Integration: Does the platform work with existing testing tools, automation frameworks and development processes?

Performance: Can it handle the volume of requests and response times required by your testing activities?

Scenario management: Can teams simulate successful responses, errors, timeouts and unusual conditions?

Reporting: Can teams monitor usage, identify problems and understand which virtual services are available?

It is also important to understand the licensing model. Some enterprise solutions can involve significant costs, particularly when multiple teams and environments need access.

Leading service virtualisation tools

There are several established products worth considering when assessing the market.

Broadcom Service Virtualization

Broadcom’s Service Virtualization, associated with its DevTest Solutions offering, is aimed at larger organisations with complex application dependencies.

It supports the creation of virtual services that replicate the behaviour of real systems, allowing teams to test applications without relying on every connected component being available.

It is worth investigating for organisations with extensive integration testing requirements and multiple development teams.

Parasoft Virtualize

Parasoft Virtualize provides capabilities for creating and managing virtual services across different protocols and technologies.

It can be useful where applications rely on a mixture of APIs, databases and legacy systems.

Its focus on supporting different types of dependencies makes it worth considering for organisations with complex integration requirements.

WireMock

WireMock takes a different approach, providing a flexible way to simulate APIs and HTTP-based services.

It is particularly useful for development and testing teams working with REST APIs.

WireMock offers an accessible starting point for organisations that want to introduce service simulation without immediately investing in a large enterprise platform.

There are both open-source and commercial offerings, with additional capabilities available through WireMock’s wider product range.

Microcks

Microcks is an open-source tool focused on API mocking and service simulation.

It can help teams simulate API behaviour using API specifications and recorded interactions.

It is particularly relevant to organisations working with microservices and API-driven architectures.

Its open-source approach makes it worth investigating for teams looking for a more flexible entry point into service virtualisation.

How service virtualisation helps Test Environment Managers

Service virtualisation is not just a development or testing tool. It can also make the management of test environments considerably easier.

One of the biggest challenges for Environment Managers is coordinating the availability of connected systems.

If an application depends on five different services, each with its own environment, support arrangements and availability restrictions, coordinating testing can become difficult.

Virtualising some of those dependencies can reduce the number of systems that need to be available simultaneously.

It can also help when managing multiple projects with different testing requirements.

For example, one project might need to simulate a successful transaction, while another needs to test how the application responds when a connected service fails.

Separate virtual service configurations can allow both teams to carry out their testing without constantly changing a shared system.

However, virtual services still need ownership and management. Their configurations, versions and expected behaviour should be documented and maintained alongside the wider test environment landscape.

Understand the limitations

Although service virtualisation offers significant benefits, it is not a replacement for all integration testing.

A simulated service can only reproduce the behaviour it has been designed to represent. It cannot guarantee that the actual third-party system will behave in exactly the same way.

For this reason, organisations should still carry out testing against real services where appropriate, particularly before important releases.

← All topics