VSE Manager Plugin for Eclipse

VSE Manager is a plugin that works with integrated development environments (IDEs), such as Eclipse.
dts106
VSE Manager is a plugin that works with integrated development environments (IDEs), such as Eclipse. You can use this plugin to create, update, deploy, and manage virtual services.
VSE
Manager is supported on Eclipse release Neon 4.6, Oxygen 4.7, and Photon 4.8. Ensure that you are running Eclipse with a Java 8 or AdoptOpenJDK 8 JVM.
Uninstall older plugins to install this plugin.
This article includes the following information:
  • Configure the plugin:
    • Registry Web Server connection settings
    • Option to add KeyStore which can have certificates for:
      • Registry Web Server connection
      • Virtual Services
    • SSL details for Registry Web Server connection
    • SSL details for Virtual service
    • View Settings
    • Logging Settings
  • Import LISA project
    , using the File, Import, CA LISA, and LISA Project path
  • Mar deploy/redeploy
    , by dragging and dropping or by right-clicking the
    Deploy/Redeploy Mar to
    context menu option.
  • Create or update virtual services from RR pairs:
    • Create virtual service:
      • By dragging and dropping an RR pair containing folder on a virtual service, or before/after a virtual service in VSE Manager view.
      • By right-clicking the
        Create Virtual Service
        context menu option on an RR pair containing folder.
    • Update virtual service, by dragging and dropping an RR pair containing folder on a virtual service in VSE Manager view. You can add more RR pairs, but you cannot edit the data protocol or update/merge/overwrite existing RR pairs as a part of the update. You must perform those kinds of changes in Workstation.
  • Create or update virtual services from Swagger specification:
    • Create virtual service:
      • By dragging and dropping a Swagger specification file on a virtual service, or before/after any VS in VSE Manager view.
      • By right-clicking the
        Create Virtual Service
        context menu option on a Swagger specification file.
  • Create SSL based virtual service
    , by selecting the
    Use SSL
    checkbox in the Create Virtual Service dialog.
  • Create Virtual Service
    , by selecting
    Allow duplicate specific transactions
    on Create Virtual Service dialog.
  • (Optional) Specify the port for deploying virtual service
    , by specifying the custom port in the
    Port
    field in Create Virtual Service dialog.
  • Update or view virtual service properties
    , by right-clicking the
    Properties
    context menu option.
  • You can do the following in the VSE Manager view:
    • Refresh VS services
    • Start
    • Stop
    • Reset Counters
    • Properties
    • Undeploy
For more information about how to use the plugin, see the following sections:
The following video provides a demonstration of how to use this plugin in Eclipse to create, update, deploy, and manage virtual services.

Install the
VSE
Manager Plugin
To install
VSE
Manager, follow the standard Eclipse procedure for adding new software.
Follow these steps:
  1. In Eclipse, select
    Help, Eclipse Marketplace
    .
    The marketplace dialog opens.
  2. Search for
    Virtual Service Plugin
    .
  3. Select
    Virtual Service Plugin for CA Service Virtualization
    and click
    Install
    .
    The Confirm Selected Feature window opens.
  4. Click
    Confirm
    .
    The Review Licenses window opens.
  5. Review and accept the licenses, and then click
    Finish
    .
The VSE Manager plugin is installed.
Configure the
VSE
Manager Plugin
Before using the plugin, configure it.
Follow these steps:
  1. Open the VSE Manager
    Preferences for the VSE Manager view
    dialog. The following graphic shows this dialog:
    Preferences
  2. In the
    Registry Web Server Connection Settings
    section, complete the following information:
    • Enter the URL for the
      VSE
      Web Server.
    • If necessary, enter your user name and password.
      Enter values in the
      User Name
      and
      Password
      fields. Leaving these fields blank can result in the Eclipse Password Required dialog, which is not the correct dialog for the VSE Manager plugin. If this dialog appears, click
      Cancel
      instead of entering a user name and password.
  3. In the
    Keystore details
    section, complete the following options:
    • Keystore file and password
      The Keystore file stores the certificates that are required for the SSL connection. The Registry Web Server and the Virtual Service SSL certificates must be present in the Keystore file.
    • Registry Web Server SSL details
      This section provides the SSL certificate alias present in Keystore with which Registry Web Server SSL is setup.
      Define the web server properties for the SSL-enabled registry connection. For more information, see Local Properties File. After you define these web server properties, provide the
      Registry Web Server URL
      as
      https
      , and then complete the information in the
      Registry Web server SSL details
      section.
    • Virtual Service SSL details
      If you want to create virtual services with https, enter values in this section. This section stores the SSL certificates for https-based virtual services.
      You can provide only a single certificate.
  4. (Optional) In the
    View Settings
    section, complete the following options:
    • To save the order of columns and their associated widths when closing and reopening the view, select the
      Save and restore column positions and widths at application shutdown and startup
      check box.
    • To have the view automatically refresh the content approximately every 10 seconds, select the
      Update the current status of all virtual services periodically
      check box.
  5. (Optional) In the
    Logging Settings
    section, to log Web Server request and response to the console, select the
    Log request and responses to the console
    check box.
  6. To save your changes and close the dialog, select
    Apply
    .
The VSE Manager Plugin is configured.
Import a
LISA
Project
Follow these steps:
  1. From the main menu, open the Eclipse Import wizard.
  2. From the CA
    LISA
    category, select
    LISA
    Project.
  3. Select a
    LISA
    project and enter its name in the
    Project Name
    field.
  4. Select
    Finish
    .
    The project is imported.
Use the
VSE
Manager View
VSE Manager View panel
You can complete the following actions in VSE Manager:
  • Rearrange the columns of the view by draging-and-dropping.
  • Hide or view with the drop-down list by selecting the columns.
  • Create, update, and deploy virtual services to
    VSE
    by starting, stopping, undeploying, or viewing properties for the selected virtual service.
  • Drag-and-drop MAR files, folders containing RR pairs, or Swagger (OpenAPI 2.0 or 3.0 document).
Properties View Integration
When a virtual service is selected in the
VSE
Manager view and the Properties view is open, you can view and update more information about the selected service.
Properties View
With this view, you can complete the following actions:
  • Automatically start the service when the
    VSE
    server is started.
  • Change the capacity of a deployed virtual service.
  • Change the thinkscale for the requests to the virtual service.
You can create, deploy, manage, and redeploy virtual services using the following methods:
You can customize port and SSL configuration (https) when you deploy the virtual service.
  • MAR File:
    You can deploy or redeploy a MAR file to VSE through drag-drop action or by right-clicking the
    Deploy/Redeploy MAR to
    context menu option. The following image shows this method:
    MAR File Actions
  • Directory of RR pairs:
    You can create virtual services by right-clicking the context menu or by dragging and dropping onto the virtual service. You can also update existing virtual services by augmenting with RR pairs only by dragging and dropping onto the virtual service.
    Directory of RR Pairs
  • Swagger File:
    You can create virtual services with Swagger (OpenAPI 2.0 or 3.0 document) by right-clicking the context menu or by dragging and dropping onto the virtual service. The supported Swagger files are YAML, JSON, and .yml.
    You can also update existing virtual services only by dragging and dropping onto the virtual service.
    Swagger.png
Update Virtual Service
You can also update existing virtual services by augmenting with RR pairs only through drag-drop action on virtual services.
Update Virtual Service
, by selecting
Overwrite matching transactions
on Update Virtual Service dialog.