Manage Service Virtualization servers

This task describes how to use Service Virtualization Servers for your virtual services.

Note: For details on starting a Service Virtualization Server, see Starting and stopping Service Virtualization.

View, add, or delete Servers

The Servers page displays all Service Virtualization Servers that are configured for your Designer.

From the main menu, select Tools > Options. Click the Servers tab.

When you add a Server, it is added to the list of available Servers, enabling you to select this Server when you create a new Service Virtualization project.

Back to top

View Server status

The Servers page displays status information for each Service Virtualization Server configured for your Designer.

From the main menu, select Tools > Options. Click the Servers tab.

Status indicators:

  • Green - online.
  • Red - not running.
  • Yellow - indicates some connection problem, such as invalid credentials or a missing trusted certificate.

Back to top

Change Servers

Move the virtual services in the open project to a different server.

From the main menu, select Project > Change Server.

Back to top

Connect to a Server with a different user

If you are working with a secured Service Virtualization Server, your access may be limited based on permissions assigned to your user. For details, see Access a Secured Service Virtualization Server.

To connect to a server with a different user, from the main menu, select Tools > Options, and click the Servers tab. Right-click a server and select Connect using different credentials.

For details on server authentication and user access permissions, see Authenticate the SV Server and Manage permissions.

Back to top

Configure Service Virtualization agents

Service Virtualization agents handle communication between a client and a real or virtual service. Agents are protocol specific. You must configure agents for each protocol your services are using, on each Service Virtualization Server or the Designer's embedded server on which the services are deployed.

You can manage agents using both the Designer, and Service Virtualization Management.

In the Designer: Manage agents in the Agents page. For user-interface details, see Agent user interfaces.

Note: For details on managing agents in Service Virtualization Management, see the Service Virtualization Management help within the application.

Back to top

Secure the Designer's Embedded Server

Micro Focus test automation tools that integrate with Service Virtualization can access services running on a Service Virtualization Server, or a Designer's embedded server. For more details on the testing tool integrations, see Test automation tool integration.

To limit access to an embedded server, you can configure the Designer's embedded server to require a user login. During installation of the Designer, you have the option to enable authentication to secure the Designer. The secured server option is selected by default.

If authentication is not enabled during installation, you can enable it later, using the Designer's configuration file.

To secure the embedded server:

  1. Open the Designer's configuration file, located in:

    %[INSTALLLOCATION]%\Designer\bin\VirtualServiceDesigner.exe.config

    By default, C:\Program Files\Micro Focus\Micro Focus Service Virtualization Designer\Designer\bin\VirtualServiceDesigner.exe.config.

  2. In the services section, set bindingConfiguration to secured.

To use a custom certificate:

By default, the certificate configured for the embedded server is the same certificate that is used for the Service Virtualization HTTPS Gateway and HTTPS Proxy agents. You can define a different certificate, as follows:

  1. Open the Designer's configuration file, located in:

    %[INSTALLLOCATION]%\Designer\bin\VirtualServiceDesigner.exe.config

    By default, C:\Program Files\Micro Focus\Micro Focus Service Virtualization Designer\Designer\bin\VirtualServiceDesigner.exe.config.

  2. In the following section, edit the path and password:

    <restManagementServiceConfiguration certificatePath="..\..\ConfigurationTools\certificates\server-cert.p12" certificatePassword="changeit" />

Back to top

Access a Secured Service Virtualization Server

When the Service Virtualization Designer contacts a secured Service Virtualization Server for the first time, it requests user input in order to establish a secured communication channel.

You can determine whether the Service Virtualization Server is secured based on its URL. The URL of an unsecured server begins with http, whereas the URL of the secured server begins with https. For example, the URL of a secured server might be https://mymachine.com:6085/management. In addition, the port of the secured server is different from that of the unsecured server.

Note:  

  • When you are working with a secured Service Virtualization Server, the actions available to you and the information displayed in the Service Virtualization Designer vary, based on your user access permissions. For example, a user who is not assigned to any of the Service Virtualization user groups cannot view any agent data or any services deployed on the server.

    For details on the Service Virtualization user groups, see Service Virtualization user groups.

  • You can reconnect to a server with a different user. From the main menu, select Tools > Options, and click the Servers tab. Right-click a server and select Connect using different credentials.

To access a secured Service Virtualization Server:

  1. When the Service Virtualization Designer contacts a secured Service Virtualization server for the first time, a dialog box opens. You can review the certificate details, and select Trust the certificate permanently to prevent the Designer from prompting you again. Click Yes to accept the certificate.

  2. Enter credentials to connect to the Service Virtualization Server. For details on credential validation and user authentication, see Authenticate the SV Server.

Back to top