0

I have a custume 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 can anyone please help me in this regard.

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.

Can anyone tell me what is the best way to build Jmeter 5.4.3 source code?

swx
  • 142
  • 8

1 Answers1

1

How is the version being determined from the core jar can anyone please help me in this regard.

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

The same for JMeter 3.3

Can anyone tell me 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:

Dmitri T
  • 140,090
  • 4
  • 71
  • 123