Re: Will JMeter load its plugins/libs repeatedly

Dmitri T <[email protected]> Fri, 2 Feb 2024 06:35:28 +0100
Newsgroups gmane.comp.jakarta.jmeter.user
Message-ID <PH7PR12MB71394514E147439A3DD93774C0422@PH7PR12MB7139.namprd12.prod.outlook.com>
Tong Sun wrote:
> Will JMeter load its plugins/libs only at start up, thus having no impact
> during the test, or plugins/libs might somehow need to be loaded again (and
> again) during the test?
>
> Thanks
>
JMeter normally scans .jars under its classpath 
<https://jmeter.apache.org/usermanual/get-started.html#classpath> during 
startup only.

You can enable JMeter debug logging 
<https://www.blazemeter.com/blog/jmeter-logging> for ClassFinder 
<https://jmeter.apache.org/api/org/apache/jorphan/reflect/ClassFinder.html> 
to see when and how it's called

With regards to individual class loading it's better to monitor it using 
a profiler tool like JVisualVM <https://visualvm.github.io/>