Inside jmeter startup script, add:
In eclipse, add a new remote java application debug configuration. Add jmeter source code to it. Connect. Jmeter will start now.
Attach jmeter source code. Lookup class:
set DEBUGJDWP=-agentlib:jdwp=transport=dt_socket,address=localhost:9009,server=y,suspend=y set ARGS=%DUMP% %HEAP% %NEW% %SURVIVOR% %TENURING% %EVACUATION% %RMIGC% %PERM% %DDRAW% %DEBUGJDWP%Now start jmeter. It will hang and wait for debugger.
In eclipse, add a new remote java application debug configuration. Add jmeter source code to it. Connect. Jmeter will start now.
Attach jmeter source code. Lookup class:
org.apache.jmeter.engine.StandardJMeterEngineSet debug point in runTest() method and start your script.
Comments