0

I have a custom plugin for jmeter 2.13 earlier when I was creating a jar of the core package from the version 2.13 and using that jar in version 3.3 it was running fine Jmeter 3.3 was getting launched and all the functionalities were working fine but now when I am doing the same and starting the Jmeter.bat after updating the core.jar jmeter in jmeter 3.3, jmeter 2.13 is being launched.

How is the version being determined from the core jar?

One more thing I was trying to build the Jmeter 5.4.3 and 3.3 source code but there were lot of error due to jar dependencies I am feed up with removing the jar dependencies as due to different jar versions not supporting a set of methods.

What is the best way to build Jmeter 5.4.3 source code?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
swx
  • 138
  • 12

1 Answers1

1

How is the version being determined from the core jar?

As of JMeter 5.4.3 the version is being returned by JMeterVersion.getVERSION() function

The same for JMeter 3.3

What is the best way to build Jmeter 5.4.3 source code

it's sufficient to invoke ./gradlew build command from the unpacked JMeter source bundle

With regards to your version mismatch problem take a look at compile time and run time dependencies concept, most probably you created some form of a Jar Hell due to your plugin "fat" jar includes JMeter core and it shouldn't be the case.

More information:

halfer
  • 19,824
  • 17
  • 99
  • 186
Dmitri T
  • 159,985
  • 5
  • 83
  • 133