Share this page

# Configure the webMethods Generic agent

Supported for: Windows only

This task describes the virtualization process, and how to configure the Service Virtualization webMethods Generic agent.

The agent enables you to virtualize one or more steps of a flow service hosted in webMethods Integration Server.

The agent consists of two components:

Java instrumentation | Provides an instrumentation of the webMethods Integration Server and captures data exchanged between the service and the remote system it integrates with. You must configure the JVM of the webMethods Integration Server so that it can communicate with the webMethods agent running on the Service Virtualization Server.
webMethods Generic agent | Provides an interface between the Java instrumentation component and the Service Virtualization Server.

In this topic:

## The virtualization process

This section describes the process of virtualizing flow services running on the webMethods Integration Server, as an example.

The scenario we want to virtualize is as follows:

- The webMethods Integration Server hosts flow services.
- The flow services use the webMethods Adapter to connect to a remote system.
- The remote system publishes responses through the webMethods Adapter back to the flow services hosted by the webMethods Integration Server.

When the virtual service is in Learning or Standby mode, the SV Remote Agent on the webMethods Integration Server communicates with Service Virtualization to record or transmit data.

During simulation, the Service Virtualization webMethods Generic agent completely simulates the communication between the webMethods Adapter and the remote system.

Back to top

## Configure the webMethods Generic Agent

1. Prerequisites: webMethods Integration Server 8.2.

2. Configure the agent settings

   From the main menu, select Tools > Options. On the Agents Page, select webMethods Generic and click Add. Define settings for the new configuration. For user interface details, see the webMethods Generic agent settings.

3. Configure Java Instrumentation

   1. Navigate to the WebMethods folder under the Service Virtualization installation directory. By default:

      For Service Virtualization Server: `C:\Program Files\Micro Focus\Service Virtualization Server\Tools\WebMethods`

      For the Designer: `C:\Program Files\Micro Focus\Service Virtualization Designer\Tools\WebMethods`

   2. Copy the following files into the `WM_IS_HOME\lib\jars` folder in the installation directory of the webMethods Integration Server, for example `C:\SoftwareAG\IntegrationServer`.

      - HP.SV.JavaBcAgent.jar
      - javassist.jar
      - HP.SV.WmRemote.jar

   3. Add the following to the `WM_IS_HOME\bin\server.bat` file:

      `set JAVA_AGENT=-javaagent:WM_IS_HOME\lib\jars\HP.SV.JavaBcAgent.jar`

      `set JAVA_OPTS=%JAVA_AGENT% %JAVA_OPTS%`

Back to top

https://admhelp.microfocus.com Service Virtualization 8942
Tips to improve your search results... Service Virtualization Help Center SV Help 5.4-5.4.1 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: