Record a SOAP request

This section describes how to record the interaction between an existing SOAP client and the web services server.

  1. Alter the SOAP client settings so that it uses NeoLoad as a proxy:

    Please refer to the documentation accompanying your web services Framework for instructions on how to change the proxy settings. As a guide:

    For example, place the following lines in your code:

    System.setProperty("http.proxyHost", "localhost");
    System.setProperty("http.proxyPort", "8090");

    or modify the command line as follows:

    java -Dhttp.proxyHost=localhost -Dhttp.proxyPort=8090 ...

    usesystemdefault = "false"

  2. Run NeoLoad.
  3. Start a recording (For more information, see Record a test scenario). Since the recording does not require a browser, it is recommended to clear the Launch browser option.
  4. Launch your SOAP client application. Since the application has been configured to use the NeoLoad recorder as a proxy, NeoLoad records the request.
  5. Stop the recording.