Java agent settings

This dialog box enables you to configure the Service Virtualization Java agent for virtualizing Java applications.

To access
  1. From the main menu, select Tools > Options.
  2. Click Agents.
  3. Under Java, select a configuration or create a new one.
Relevant tasks
See also Service Virtualization agents

User interface elements are described below (unlabeled elements are shown in angle brackets):

UI Element Description
<left pane>

Displays the server configured for your project.

Expand the server to display the available agents and configurations.

Add

Enables you to define additional configurations of the agent.

Delete Deletes the selected configuration.
Duplicate

Creates an additional configuration of the agent by copying the selected configuration. You can then modify the configuration settings.

Note: By default, the configuration is created with a sequential unoccupied port number.

Export

Saves the selected agent configuration as a file. The file is saved in the .agce file format, and can be imported to any Service Virtualization Server.

Export All Exports all agent configurations on the selected server. The file is saved in the .agce file format, and can be imported to any Service Virtualization Server.
Import

Enables you to select an exported agent configuration file stored on the file system. The file is saved in the .agce file format, and can be imported to any Service Virtualization Server.

If the configuration file you are importing contains multiple configurations, you can select which configurations you want to import.

If you choose to import an agent configuration that is identical to a configuration that already exists on your server, you can choose to overwrite your existing configuration, or create a new, additional configuration.

Agent State The current status of the agent. Values include Running, Not Running.
Test Configuration link

Tests the configuration based on the settings you select. If Service Virtualization identifies any problems in your configuration, the details are displayed.

Enabled Turns the selected configuration of the agent on and off.
Name Enter a name for the configuration or accept the default name.
Port The port on which the agent listens for requests from the instrumented Java application.
Download Java Application Instrumentator

A built-in java-instrumentator project that internally uses the virtual Java framework. After you download the instrumentator, use the enclosed XML configuration file to define the classes and methods that you want to virtualize. To run your Java application with Service Virtualization instrumentation, you include the path to the configuration file.

Back to top