+

Search Tips   |   Advanced Search

Debug the API implementation in Eclipse

To debug the API implementation in Eclipse, it is necessary to have:

  1. Under Windows, insert a new line with
    -Xdebug
    -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=y
    at the end of the file:

    • NeoLoad 5.5/bin/NeoLoadGUI.vmoptions when NeoLoad is started with NeoLoadGUI.exe, or
    • NeoLoad 5.5/bin/NeoLoadGUI_NoPrivilege.vmoptions when NeoLoad is started with NeoLoadGUI_NoPrivilege.exe.
  2. In Eclipse, click on the Debug icon, then Debug configuration.
  3. Select Remote Application, and click + (plus).
  4. Select the project.
  5. Start the NeoLoad Controller.
  6. In Eclipse, click Debug.
  7. In the Java project code, locate the breakpoints.
  8. Start the NeoLoad recording.

  1. In the file NeoLoad 5.5/conf/agent.properties, go to the line lg.launch.vm.parameters=…
  2. At the end of the line, insert a space and -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8001,suspend=y
  3. Start the NeoLoad Controller.
  4. In Eclipse, click on the Debug icon, then Debug configuration.
  5. Select Remote Application, and click + (plus).
  6. Update the Port field from 8000 to 8001.
  7. Select the project.
  8. In the Java project code, locate the breakpoints.
  9. Start the NeoLoad load generation. You are advised to use one Virtual User only in this mode.
  10. In Eclipse, click Debug, then select the starter already created.


Home