Simulation modeling

This section explains simulation modeling and how to customize your simulation models to modify virtual service behavior.

Overview

Simulation models define the functional and performance behavior that the virtual service supplies during simulation. You can manually customize simulation models, or put the virtual service in Learning mode to record real service behavior and performance. This learned data is then added to the virtual service's models, for use during simulation.

When you create a virtual service, OpenText Service Virtualization creates a data model and a performance model, and links them to the virtual service. These models serve as the default models for learning and simulation sessions. You can associate each virtual service with multiple data and performance models. Prior to a learning or simulation session, you can select which data and performance models to use.

  • Data Model

    The Data Model enables you to record actual requests and responses for a real service and then use this data for simulation using a virtual service. You can create and customize the data model to meet your needs. You can use recorded data as a basis for your data model, and also add new learned data, add service calls, and model stateful behavior to simulate a service where the order of requests is important. You can also add custom data, or add data from an external data source. This enables you to model the interaction between the service under test and the simulated service to meet many integration test cases. For details, see Data modeling.

  • Performance Model

    The Performance Model enables you to record the performance for a real service and then use this as a model for a virtual service. You can customize the performance criteria of the model to meet many performance use cases. For details, see Performance modeling.

Back to top

Customize your simulation models to modify virtual service behavior

The following diagram shows the steps for customizing your simulation models to modify virtual service behavior.

For information on the steps for customizing your simulation models, use the links below.

Step For details
Add/learn data See Add data
Simulate stateful behavior See Simulate a Stateful Service
Define performance criteria See Modify Virtual Service Performance
Define custom rule functions See Define Custom Functions
Configure data rules See Define Rule Functions
Call external services See Call External Services
Add external data sources See Work With External Data Sources
Import messages See Import Request/Response Message Dialog Box

Back to top

See also: