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.|
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.
Prerequisites: webMethods Integration Server 8.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.
Configure Java Instrumentation
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
Copy the following files into the
WM_IS_HOME\lib\jarsfolder in the installation directory of the webMethods Integration Server, for example
Add the following to the
set JAVA_OPTS=%JAVA_AGENT% %JAVA_OPTS%