background image
<< Translation Table | VuGen logs the actions of the socket >>
<< Translation Table | VuGen logs the actions of the socket >>

Excluding Sockets

Configuring VuGen
Creating Vuser Scripts
461
Excluding Sockets
For WinSock Vusers, VuGen supports the Exclude Socket feature, allowing you to
exclude a specific socket from your recording session. To exclude all actions on a
socket from your script, you specify the socket address in the ExcludeSock
section. The available formats are:
You can exclude multiple hosts and ports. For each subsequent excluded socket,
increment the index number of the
SocketAddress
parameter.
To exclude the specifeid socket actions from the recording log file, ws.log, set the
LogExcludeMsgFlag
to
no
.
Value
Meaning
host:port
Exclude only the specified port on the specified host.
host
Exclude all ports for the specifed host
:port
Exclude the specified port number on the local host.
*:port
Exclude the specified port number on all hosts.
[ExcludeSock]
SocketAddress1=frodo:23
SocketAddress2=:80
SocketAddress3=tears
LogExcludeMsgFlag=no