A Parasoft Virtual Asset (PVA or .pva file) listens for incoming traffic and sends one of the responses it is configured to send based on the incoming message. PVAs are deployed to specific endpoint, where it listens for incoming traffic and responds in the defined manner (e.g., with expected/desired responses).
The first step is to create a .pva file that represents the behavior you want to virtualize. Each .pva file references one or more "Responder suites." Each responder suite should contain one or more of the following tools:
There are several ways to create Message Responders:
See the following chapters describe how to create message responders from recorded traffic over HTTP, JS, and MQ:
See the following chapters if you want to simulate traffic captured in logs (e.g., Wireshark):
If you want to virtualize application behavior that is not yet available for capture, you can model that behavior by creating a Message Responder from scratch or based on a definition (e.g., OpenAPI/Swagger, RAML, WSDL or schema).
See the following chapters to manually create a responder for each request response and set up the responder correlations:
See the following chapters to manually create a responder in multiple responses mode:
See the following chapters to aggregate the requests/responses into a single traffic file and then use the parameterized wizard to create a virtual asset from that file:
Once you have a .pva with an appropriate Responder suite and tools, it can be deployed as described in Deploying Virtual Assets and serve as a working Virtual Asset.