This section describes how to record the interaction between an existing Java client and the server.
8090
. This setting may be changed in Preferences.Open the Java settings in the Windows control panel.
Select the General tab, and click on the Network settings button.
Select Use proxy server and set the machine name as localhost and the NeoLoad proxy port (default is 8090
)
Validate these settings and re-start your Java application before making a new recording.
http.proxyHost
and http.proxyPort
system properties.For example, place the following code in your code:
System.setProperty("http.proxyHost", "localhost");
System.setProperty("http.proxyPort", "8090");
or modify the command line:
java -Dhttp.proxyHost=localhost -Dhttp.proxyPort=8090 ...