Virtualize Network Conditions

This task describes how to define a virtual network environment for your virtual services to use.

Note: To learn more about virtualizing network conditions, see Network Virtualization Integration.

  1. Prerequisites

    1. Enable the Network Virtualization early access feature.

      For details on Service Virtualization early access features, see Early Access Features.

    2. The NV Agent and the NV Location Editor must be installed on the Service Virtualization Server machine.

      For information on supported versions, refer to the support matrix on the Software Support site at: https://softwaresupport.softwaregrp.com/group/softwaresupport/support-matrices.

    3. Configure the Service Virtualization Server to connect to Network Virtualization.

      Navigate to the HP.SV.StandaloneServer.exe.config file, located on the Service Virtualization Server machine in the server installation folder. By default, C:\Program Files\Micro Focus\Service Virtualization Server\Server\bin.

      Configure the properties in the following sections according to your Network Virtualization system definitions:

      • Shunra Network Virtualization - NV Agent (Engine).

        Edit the Host, Port, Protocol, UserName, and Password properties. The parameters enable the Service Virtualization Server to access the Network Virtualization engine.

      • Shunra Network Virtualization - Location Editor

        Edit the Host, Port, Protocol, UserName, and Password properties. These connection properties enable the Service Virtualization Designer to browse the Network Virtualization Location Editor Web Site.

  2. Configure network models

    Define a set of network characteristics to use with your virtual services.

    1. From the main menu, select Tools > Options and click the Network Virtualization page.
    2. Click Add. The Network Virtualization interface for setting virtualization options opens.

      Select one of the following:

      • Import from library. Import an existing location.
      • Custom. Define network settings manually.
      • Advanced. Select a predefined .ntxx emulation file that was created in the Network Virtualization Network Editor and saved in the file system.
      • Copy an existing model. Select an existing network model and click Duplicate. A copy is made of the model you selected. You can edit the settings and save it as a new network model.
  3. Assign a network model to an agent configuration

    Select a network model for an HTTP agent configuration. The network model is then used by all virtual services that use the agent configuration.

    1. From the main menu, select Tools > Options and click the Agents page.
    2. Select an existing HTTP agent configuration, or define a new one.
    3. In the right pane, click the Network Virtualization tab.

    4. Select a network model for the agent to use.
    5. To configure network models, click Manage Network Models.
  4. Edit network models

    To modify existing network models:

    From the main menu, select Tools > Options and click the Network Virtualization page.

    For each network model, the right pane displays the Service Virtualization agents that are using the model. You can attach or detach an agent from the selected network model.

    Click an agent name link to view details on the agent.