...
Sections include:
Table of Contents |
---|
Overview
Virtualize can automatically create a .pva based on the endpoints found in an OpenAPI/Swagger description. Each .pva will contain Message Responders for all of the defined endpoints. This is especially helpful if the service you want to virtualize is not available for live recording, but you have access to a definition file that describes it.
...
- Creating Message Responders from that definition file.
- Deploying those Message Responders.
Creating Message Responders from a Definition File
To automatically create Message Responders from a OpenAPI/Swagger definition:
...
You can use the available controls to specify the response messages. For more details about reviewing and customizing the options in the tools that are created, see Message Responder Overview.
Deploying the Virtual Assets
If the .pva is created directly in the VirtualAssets project, it will be deployed automatically. Otherwise, the simplest way to deploy the virtual asset is to copy the containing .pva file into the VirtualAssets project.
...
For a more detailed discussion of deployment procedures and options, see Deploying Virtual Assets Virtualize.
Customizing the Virtual Assets
For details on how to customize the Message Responder’s behavior, see Message Responder Overview.