2016-11-14 01:37:07 +08:00
|
|
|

|
|
|
|
|
2019-02-25 04:51:10 +08:00
|
|
|
## Launching Apache JMeter from Eclipse
|
2016-11-14 01:37:07 +08:00
|
|
|
|
2019-02-25 04:51:10 +08:00
|
|
|
You can use the Gradle task `runGui` to run the JMeter GUI, or you can follow the instructions
|
2016-11-14 01:37:07 +08:00
|
|
|
below to add a Java Application launch, which will for example, allow you to use the debugger to
|
|
|
|
run JMeter.
|
|
|
|
|
|
|
|
These instructions assume you have configured Eclipse to use the classpath
|
2019-02-25 04:51:10 +08:00
|
|
|
as suggested in [CONTRIBUTING.md](CONTRIBUTING.md).
|
2016-11-14 01:37:07 +08:00
|
|
|
|
2019-02-25 04:51:10 +08:00
|
|
|
## Launching from Eclipse
|
2016-11-14 01:37:07 +08:00
|
|
|
|
2019-02-25 04:51:10 +08:00
|
|
|
Note: you can use Gradle task `runGui` to start JMeter, however Eclipse does not support
|
|
|
|
debugging of the Gradle tasks.
|
2016-11-15 02:10:44 +08:00
|
|
|
|
2019-02-25 04:51:10 +08:00
|
|
|
Alternative option is to create a `Launch Configuration`:
|
2016-11-15 02:10:44 +08:00
|
|
|
|
2019-02-25 04:51:10 +08:00
|
|
|
1. Create a new `Java Application` launch configuration
|
|
|
|
1. Use `dist` for `Project`
|
|
|
|
1. Use `org.apache.jmeter.NewDriver` for the main class
|
|
|
|
1. On the arguments tab use the following for `Working Directory`: `${workspace_loc:jmeter/bin}`
|