What is Virtualization?
Virtualization is a technology that allows the creation and operation of virtual, rather than physical, versions of computer hardware, operating systems, storage devices, and network resources. This means that multiple virtual instances of these resources can run on a single physical machine, known as a host, simultaneously.
This blog discusses the process of virtualizing web services using the Phonebook REST API example provided with the IBM DevOps Test Virtualization Control Panel. If the Control Panel is installed on your machine, you can utilize this API.
To virtualize your web service, follow these steps:
- Create a new stub Test Factory >> Right Click on Service Component >> New >> Stubs >> Stub
- Deploy it in your IBM DevOps Test Control Panel.

- Start the stub in Test Control Panel.
- To implement service virtualization, incorporate the network recipient's hostname and port into your HTTP transport to effectively direct the traffic.

- Run the test and verify in the Test Virtualization Control Panel Dashboard for the received and virtualized calls.

This example provides a fundamental overview of how to virtualize a service using IBM DevOps Test Integrations and APIs, as well as how to test the API functionality. If you encounter any challenges while creating the web URL schema or virtualizing the web service, feel free to open a support case with the DevOps Test team for assistance.