To complete installing IBM® DevOps Test Integrations and APIs (Test Integrations and APIs) on
Unix-like systems, you must configure HTTP watch mode with Java™ Packet Capture (JPCAP).
JPCAP is an open source Java library for capturing and sending network
packets and can be configured with Test Integrations and APIs to enable watch
mode for HTTP transports.
Note: HTTP Watch Mode
is not currently supported on macOS systems.
To
enable JPCAP support on Unix-like systems:
- Ensure that both LibPCAP and JPCAP are installed.
If they are not installed, install LibPCAP
and then JPCAP (the order of installation is important) before you
continue.
- Ensure that the current user ID has write
permissions to the installation directories.
- Find the
libpcap.so
file
on the Test Integrations and APIs server (for example, in /usr/local/lib
).
- Set the
LD_LIBRARY_PATH
variable
to the location of libpcap.so
. For example (by using bash):
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
- Logged in as user
root
,
run <Install_Directory>/LibConfig
.
Library Manager must be displayed and the
registered network devices on the server must be listed under Default
Network Device.
- Select the device that carries the packets
that are transmitted to and from Test Integrations and APIs.
- When finished, click OK to
save the changes and quit Library Manager.