Virtual Service Editor

The Virtual Service Editor enables you to control the mode of the virtual service and the models currently in use, configure the endpoints, and configure security settings.

Note: Some changes you make to the service may require that you restart the service.

Open the Virtual Service Editor

In the Virtualization Explorer, double-click the virtual service you want to view or edit.

General elements

UI Element Description
<virtual service name and description> The name and description of the Virtual Service. Click to edit.
<status area>

Located in the upper-left part of the window, indicates the following:

  • The current mode of the service: Learning, Simulation, Standby or Offline.
  • The data and performance models currently in use.

Puts the selected service into Learning Mode. Any communication through the Virtual Service is added to the Simulation Model in this mode.

Use the drop down arrow to select which models to update:

  • Data & Performance (default)

  • Data Model

  • Performance Model

Starts the simulation according to the simulation models selected in the Virtual Service Editor.

If the service was in Learning mode, Service Virtualization first finishes the learning session and adds any data learned in the session to the Simulation Model.

Puts the service into Standby Mode with the option of maintaining or disposing of learned data.
Opens the Runtime Report to display current information about the service.

Back to top

Simulation Models area

Manage the models associated with the virtual service.

UI Element Description
Data Model

Select a data model to use with the service.

None. Enables you to pass messages to the real service and receive responses, while still simulating performance according to the selected Performance Model.

Performance Model

Select a performance model to use with the service.

None. Causes the virtual service to respond as quickly as possible.

Offline. Simulates the unavailability of the service.

Network Model

The network model selected for the virtual service.

To select a different model, or to define a new model, click Manage Network Models.

For details on network models, see Network Virtualization Integration.

Note: This field is displayed only if early access features are enabled. For details, see Early Access Features.

Add Opens the Add New Simulation Model dialog box, enabling you to add a new data or performance model.
Edit Opens the selected data or performance model in the relevant editor. For more details, see Data Model Editor or Performance Model Editor.
Delete Deletes the selected model.
Duplicate Opens the Add New Simulation Model dialog box, enabling you to create a copy of the selected data or performance model.
Hot Swap

Enables you to select a different performance model when the virtual service is in Simulating mode, without redeploying virtual service data and restarting simulation.

Select the model you want to switch to, and click Hot Swap.

Any unsent messages waiting to be processed according to the response time of the current performance model are sent immediately. The new model is used for any subsequent requests.

When switching the performance model during simulation:

  • neither the current model or the model you are selecting can be the Offline performance model.
  • you cannot switch to the Maximal Performance model if you want to also use the Real Service data model.

Back to top

Service Configuration area

View or edit details of the real and virtual services, protocol, and agent currently in use.

UI Element Description
<service/agent details>
Edit

Opens the Edit Endpoints dialog box, enabling you to edit real and virtual service information. For details, see Edit Endpoints Dialog Box.

Configure Opens the Agents page in the Options dialog box, enabling you to configure the agent used by the virtual service. For details, see Agents Page.
Enable Schema Learning

Clear this option to disable schema learning. When disabled, no changes are made to the service description during learning or message import.

This is useful when the service was created from an existing WSDL or schema, and you want to ensure that messages with a different structure do not modify it.

Enable Track Learning

Clear this option to disable track creation. When disabled, new tracks are not created when the virtual service is in Learning mode.

Back to top

Service Debugging area

View the logs and simulation reports and determine how much storage is being used.

UI Element Description
Storage Used

The space in MB used to store the reports and logs. Click Clear to empty the storage buffer.

Message Logging

Enables logging.

  • To view logged messages in the Designer message viewer, use the Show Service Logs link.
  • To open the Designer log folder, from the Windows Start menu, select Service Virtualization > Designer > Designer Log Folder.
  • To open the Server log folder, from the Windows Start menu, select Service Virtualization > Server > Server Log Folder.

For more details, see Message Logging.

Simulation Report

Enables the generation of a Simulation Report.

Show Service Logs

Shows the logged messages and simulation reports in the Designer window.

Service Description area

Displays the service protocol and its operations.

UI Element Description
Edit

Opens the Service Description Editor, enabling you to add new operations to the service, or update metadata. For details, see Service Description Editor.

Note: Editing the service description is not supported for some protocols.

Update From File

Opens the Update Service Description dialog box, enabling you to replace the service description file.

Note: Available only for SOAP services.

Back to top

Security Settings area

This area enables you to view and edit security settings.

UI Element Description
Edit Credential Store Opens the Edit Credential Store dialog box, enabling you to create and edit user identities. For details, see Edit Credential Store Dialog Box.
Enabled Turns message security on or off.
Mode Default supported message security modes. For details, see Set Message Security.
Real Service Identity

The identity of the real service, its certificate, is stored in the Credential Store. This setting is used if a service uses a certificate for message security. The public key of the certificate is used to encrypt messages sent to the real service.

Virtual Service Identity

The identity of the virtual service, its certificate, is stored in the Credential Store.

  • If the Real Service Identity contains the certificate with a private key, this setting does not need to be configured. In this scenario, the Real Service Identity is also used as the identity of the virtual service.
  • If the Real Service Identity contains only a certificate without a private key, this setting must be configured to provide the identity of the virtual service. The configured identity must contain a certificate with a private key, as the service requires the private key to decrypt the messages coming from the client.
  • Clients must trust the certificate used as the identity of the virtual service.
Security Applied To

Indicates on which message parts security is applied - request elements, response elements, or both.

Default: Request and response.

Advanced Settings Opens the Advanced Message Security Settings dialog box. For details, see Advanced Message Security Settings Dialog Box.

Back to top

See also: