4

is there a way too run/debug/wrote code for Jmeter using IntelliJ. I just found that it is possible for java 6 https://plugins.jetbrains.com/plugin/7013-jmeter-plugin

but I am using Jmeter 3.3. Is their a way to do it? is there any special instructions? regards

Bastian
  • 1,089
  • 7
  • 25
  • 74

1 Answers1

3

You should be able to use the same plugin for configuring and running JMeter tests directly from IntelliJ Idea, normally Java is backward-compatible so it should not be a problem to use Java 8 with this JMeter Idea Plugin.

Just install the plugin, provide path to your JMeter in its settings and you should be good to go

JMeter Idea Plugin

If you need to debug your own custom samplers or existing JMeter code - you can do it without any plugins, just treat JMeter as "normal" Java application (which is the case), so if you launch JMeter as:

java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar ApacheJMeter.jar

You will be able to connect Idea by creating a new "Remote" configuration

JMeter Remote Debugging

See How to Debug your Apache JMeter Script guide for more information

Dmitri T
  • 159,985
  • 5
  • 83
  • 133