You can insert custom code into your test to retrieve the
runtime IP addresses of each virtual user. For information, see
.
Note: To
add multiple IP aliases, use the netsh command, as shown in the following
example:
netsh -c Interface ip add address name="Gig Ethernet" addr=10.10.0.21 mask=255.255.0.0
The
ntcmds.chm file, typically located in
C:\WINDOWS\Help,
contains more details about the netsh command. When you are finished
with the IP aliases, use the following command to remove them:
netsh -c Interface ip delete address name="Gig Ethernet" addr=10.10.0.21
You
can also use a batch file to add and delete the aliases.