Today's applications depend heavily on APIs, which means testing those applications also depends heavily on those same APIs. With ServiceV Pro, you can keep your project moving on time and on budget by using virtual services as stand-ins for those APIs.
- Add throttling and server settings to test the application's response to an overwhelmed API.
- Set error conditions to validate your application's ability to handle unavailable APIs.
- Provide virtual services for your partners and external developers to build and test against.
Provide a Powerful API Sandbox for SOAP and REST APIs
One of the most powerful aspects of web service virtualization is being able to provide a virtual service to third party developers and other teams within your organization. Combine ServiceV Pro with VirtServer to unleash the power of creating and sharing virts with everyone who uses your API.
Virt (noun): a lightweight, shareable API sandbox that enables powerful SOAP and REST API Testing.
- By sharing virts with other teams, you can enable the test teams to build powerful and flexible tests that exercise any APIs their apps depend on and simulate a variety of conditions against those APIs.
- You can also speed partner developers by providing them with virtual assets to code and test against, without incurring any costs on their side or disruption on yours.
- Allowing your performance testers to use virtual services frees them from having to schedule time on the servers or build extensive environments for load simulations against the APIs their application relies on.
- Download virts from a remote VirtServer to your own local virts so you can work independently with them.
Easily Create API Virtual Servers for Simple Service Virtualization
Get started with service virtualization using ServiceV Pro’s easy-to-use interface for creating and defining your virtual assets. ServiceV Pro provides basic functionality for creating and working with virts, so you can get started today by using any of these simple methods for creating virtual services in ServiceV Pro, including:
- Reading your service definition: Browse your existing API definitions to instruct ServiceV Pro to generate the skeleton of your virt for you. From there, all you have to do is configure the specifics of how you want your virt to behave.
- From scratch: For ultimate control, you can choose to start with an empty SOAP or REST virt that you enter and configure manually. ServiceV Pro will prompt you for all of the information needed to define and run your virt.
Use API Discovery to Create Virts
With ServiceV Pro, you can record HTTP traffic to discover APIs and record virts. Get started with service virtualization using ServiceV Pro’s easy-to-use interface for creating and defining your virtual assets. There are a number of ways to create virtual services in ServiceV Pro, including:
Reading your service definition: Browse your existing API definitions to instruct ServiceV Pro to generate the skeleton of your virt for you. From there, all you have to do is configure the specifics of how you want your virt to behave. This is also included in ServiceV base functionality.
From scratch: For ultimate control, you can choose to start with an empty SOAP or REST virt that you enter and configure manually.ServiceV Pro will prompt you for all of the information needed to define and run your virt. This is also included in ServiceV Pro's base functionality.
Record: Using the same powerful API Discovery functionality found in SoapUI NG Pro, you can record HTTP/S traffic using our internal browser and have ServiceV Pro identify all of the API transactions that occur as you interact with the application. Recording allows you to build a virt of a third-party API that simulates specific types of events you want to include in your testing.
- Enter a URL in the internal browser and record your actions.
- Create specific simulations by filtering content types and response codes you want to capture as you record the actions.
Remove Dependencies on Your API Development Team by Creating Virtual Web Services
Running virtual services removes dependencies on external APIs during your application development lifecycle and allows you to validate your API model by virtualizing its actions before and during coding.
ServiceV Pro lets you run as many virts as you want to locally, enabling your API development team to continue without barriers.
- You don't need to directly access any external APIs you depend on. Instead, you can create virts for those APIs and customize the responses they provide.
- You can also simulate various conditions and responses from your own API for use in your application testing.
Highly Customizeable Virt Actions - Define API Requests and Responses
ServiceV Pro's flexibility lets you quickly and easily update your virt to modify existing actions or include additional virt actions as the need arises even after the virt has been activated.
- Meet the needs of all of the teams using your virts by reacting to additional requirements.
- Update your virt with new actions as your SOAP or REST API evolves.
- Increase the capabilities of your virts without having to recreate or reactivate them.
Simulate Server-Side Behavior
One of the challenges for testing any application that relies on APIs is being able to simulate various conditions that might impact your application's performance. With ServiceV Pro, you can configure any number of server conditions so you can validate the strength of your application to react to suboptimal API responses.
- Server capacity: Select from pre-set server sizes or set your own parameters for thread capacity and response times to simulate server configurations.
- Network: Identify connection speed, latency time, and congestion percent to simulate various network capacities.
- Errors: Configure error responses to simulate API failures.
Data-Driven Virtualization for SOAP and REST APIs
With ServiceV Pro, you can leverage external data sources to generate context-sensitive API responses. Get the same power from testing against virts that you get from functional testing directly against your SOAP and REST APIs. With ServiceV Pro, you can identify external data sources for your virt to use in responses so your application testing can more accurately reflect real-world examples.
You can use any of these formats as data sources:
- Excel spreadsheet
- XML file
Once you've identified the data source, use our simple interface to specify the properties those data sources include. When API requests are passed to your virt, it can use this data source to generate appropriate context-specific responses based on the request parameters. As you modify those data sets, the virt responses will update automatically.
Real-Time API Recording and Fast Switching
Take your API testing strategy beyond simple mocking. ServiceV Pro is much more than just advanced API mocking; it includes the ability to act as a high-performance proxy. This enables two very important activities:
Record-to-Virt: Setting your Virt into routing mode turns ServiceV into an API recorder, building up the actions and endpoints in your Virt automatically based on real-world traffic. This allows you to avoid creating Virts manually, even without a descriptor! The faster you build your Virts, the faster you can build great functional and API performance tests and ship awesome SOAP and REST APIs.
Fast Switching: Toggling the routing feature allows you to quickly test and diagnose issues in real time. Especially useful in agile and DevOps API development shops, being able to model, code, and integrate becomes a whole lot easier when you have ServiceV in the mix. Also very useful on an API sandbox (Virt deployed to VirtServer for use by others) when you need to visualize and diagnose problematic API calls from a partner, 3rd party developer, or even simply another member of your team.
Instantly Generate Dynamic Mock API Data
When it comes to API testing, certainty is always better than intuition. In order to appropriately simulate all possible response behavior when testing your SOAP and REST APIs, you need data – and the more the better. Use a data model to generate virt responses on-the-fly to support tests where you either don't have access to a database or you require more data than your database contains.
ServiceV Pro provides the following most commonly used data types:
Identification Data Types
- Phone Number
- Social Security Number
- Date and Time
Location Data Types
- Street Address
- United Kingdom Postcode
- United States ZIP Code
- IP Address
Value Data Types
Custom Data Types
Create Dynamic Mock APIs Based on Simple Routing Rules
ServiceV Pro is the industry leader in easy-to-understand and implement mocking capabilities for SOAP and REST API testing. You can define rules that help your virtual API to route incoming requests to the correct response action, and do so without coding up new stub code.