Use the following procedure to create a virtual service from a set of webMethods Integration Server transactions in the CAI database.
webMethods Integration Server includes the concepts of a flow service and a pipeline. A flow service lets you encapsulate a group of services and manage the flow of data among them. The pipeline is a data structure that contains the input and output values for a flow service. You can add steps to a flow service to perform such actions as invoking services and changing data in the pipeline.
The flow service is the unit that is virtualized.A virtual service includes the responses that are sent for unknown conversational requests and unknown stateless requests. When you create a virtual service, you can configure the body of these responses. The following list describes the options:
Follow these steps:
Example: Update User
The following graphic shows a path graph that includes webMethods Integration Server frames. The flow service in this example is named updateUser. The purpose is to send updated information for a user to a database.
When a path graph has multiple webMethods Integration Server frame, you must select one frame for virtualization. The decision of which frame to select depends on the system under test. This example could result in the following decisions: