close

Filter

loading table of contents...

Release Notes / Version 12.2506.0

Table Of Contents

Removed version management for jmeter-maven-plugin

Version management for jmeter-maven-plugin was removed.

Upgrade Information In case you run jmeter performance test in your project using the jmeter-maven-plugin, you have manage the jmeter maven plugin version on your own. With Java 17 or newer you may run into errors like

Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @63440df3

This can be prevented by allowing reflective access by using adding --add-opens JVM arguments to the plugin configuration as follows:

<plugin>
  <groupId>com.lazerycode.jmeter</groupId>
  <artifactId>jmeter-maven-plugin</artifactId>
  <configuration>
    <jMeterProcessJVMSettings>
      <arguments>
        <argument>--add-opens</argument>
        <argument>java.base/java.lang.reflect=ALL-UNNAMED</argument>
        <argument>--add-opens</argument>
        <argument>java.base/java.util=ALL-UNNAMED</argument>
        <argument>--add-opens</argument>
        <argument>java.base/java.text=ALL-UNNAMED</argument>
        <argument>--add-opens</argument>
        <argument>java.desktop/java.awt.font=ALL-UNNAMED</argument>
      </arguments>
    </jMeterProcessJVMSettings>
  </configuration>
</plugin>

The list of arguments can vary depending on your jmeter tests.

(CMS-26982)

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.