Commit Graph

18321 Commits

Author SHA1 Message Date
Vladimir Sitnikov 23f922817f refactor: replace Groovy tests in :src:jorphan with Kotlin 2023-12-29 17:30:03 +03:00
Vladimir Sitnikov a671815c95 refactor: rename .groovy -> .kt in :src:jorphan so Git tracks history better 2023-12-29 17:30:03 +03:00
Mend Renovate c7a41e09b1 fix(deps): update org.apache.logging.log4j to v2.22.1 2023-12-27 18:12:22 +03:00
Milamber 73719bdf80
Next major release will be for Java 17+ 2023-12-27 15:22:34 +01:00
Vladimir Sitnikov c3457ffc3c test: verify that GuiComponent.configure+modifyTestElement does not modify element after creation
It helps to verify both createTestElement, configure, and modifyTestElement implementations,
so JMeter does not accidentally show treat test plan as dirty when the user
merely switches across elements

At the same time, it ensures test elements do not accidentally lose properties
when processing modifyTestElement
2023-12-27 14:45:41 +03:00
Vladimir Sitnikov 0d9c3517ef refactor: use property bindings in TestPlanGui 2023-12-27 14:45:41 +03:00
Vladimir Sitnikov 278247608b refactor: use property bindings in ThreadGroupGui, OpenModelThreadGroupGui 2023-12-27 14:45:41 +03:00
Vladimir Sitnikov 1651026f19 refactor: use property bindings in BeanShellSamplerGui 2023-12-27 14:45:41 +03:00
Vladimir Sitnikov 9b258623b0 fix: add property bindings to reduce code duplication in UI classes and make "configure and modifyTestElement" simple in most cases 2023-12-27 14:45:41 +03:00
Vladimir Sitnikov ef82a00cad fix: allow setting empty strings with TestElement.set(...) API, and remove properties only in case the value is null 2023-12-27 14:45:41 +03:00
Vladimir Sitnikov 73b255962e test: remove AssertionGuiSpec as it duplicates existing org.apache.jmeter.junit.JMeterTest
junit.JMeterTest instantiates all detected Gui classes, create components,
and verify basic properties, so AssertionGuiSpec was not adding much
2023-12-27 12:19:21 +03:00
Vladimir Sitnikov 13b824a5a9 test: ensure all Gui elements initialize non-empty TestElement names 2023-12-27 12:19:21 +03:00
Vladimir Sitnikov 7ec460defe test: add DisabledIfHeadless annotation to selectively disabling tests in headless mode 2023-12-27 12:19:15 +03:00
Vladimir Sitnikov 221c14d6fc test: remove stale AllTests.java test launcher 2023-12-26 15:09:31 +03:00
Vladimir Sitnikov 5c95bcc43d refactor: replace use of deprecated DefaultPlotPanelBatik 2023-12-25 19:42:17 +03:00
Mend Renovate d863aa7ef8 fix(deps): update dependency org.codehaus.groovy:groovy-bom to v3.0.20
Fixes https://github.com/apache/jmeter/pull/6205
2023-12-25 11:51:13 +03:00
Mend Renovate 55f15377a9 fix(deps): update org.checkerframework
Fixes https://github.com/apache/jmeter/pull/6209
2023-12-25 11:34:40 +03:00
Mend Renovate 99460c992f fix(deps): update com.google.errorprone to v2.24.0
Fixes https://github.com/apache/jmeter/pull/6208
2023-12-25 11:31:55 +03:00
Mend Renovate 9532a8aa18 fix(deps): update dependency nl.jqno.equalsverifier:equalsverifier to v3.15.5 2023-12-25 06:41:16 +03:00
Mend Renovate 56a02b3b17 fix(deps): update kotlin monorepo to v1.9.22 2023-12-25 06:13:06 +03:00
Mend Renovate bd411da1a8 fix(deps): update dependency net.bytebuddy:byte-buddy to v1.14.11 2023-12-25 06:07:31 +03:00
Mend Renovate 851879f2cf fix(deps): update dependency org.neo4j.driver:neo4j-java-driver to v4.4.13 2023-12-25 06:06:51 +03:00
Mend Renovate 2ae93c8dfc fix(deps): update dependency com.github.spotbugs:com.github.spotbugs.gradle.plugin to v6.0.4 2023-12-25 05:35:27 +03:00
Mend Renovate f781395514 fix(deps): update com.fasterxml.jackson.core to v2.16.1 2023-12-25 05:35:11 +03:00
Mend Renovate 167038054f fix(deps): update dependency org.jetbrains.lets-plot:lets-plot-batik to v4 2023-12-23 21:31:30 +03:00
Vladimir Sitnikov 2395d49d98 test: remove timer.iterationStart calls from ConstantThroughputTimerTest 2023-12-19 14:20:55 +03:00
Vladimir Sitnikov 9c3c4bd5a0 fix: remove empty implementation of TestStateListener from AbstractJDBCTestElement
TestStateListener + TestBean cause issues like in https://github.com/apache/jmeter/issues/6174,
so we should remove empty implementations
2023-12-19 14:20:55 +03:00
Vladimir Sitnikov e9c2ef9cc0 fix: log errors happening while JMeter starts the test
Previously, the exceptions from TestStateListener.testStarted might
be unnoticed since the UI did not display them.

This change is a workaround to surface errors in common cases.

See https://github.com/apache/jmeter/issues/6174
2023-12-19 12:47:36 +03:00
Vladimir Sitnikov 1329c481fc fix: avoid NPE when ConstantTimer.delay accesses a variable
The variable might not yet be initialized at the first iteration

Fixes https://github.com/apache/jmeter/issues/6162
2023-12-18 18:06:26 +03:00
Vladimir Sitnikov 9b250b64c0 fix: allow usage of variables in ConstantThroughputTimer.throughput and PreciseThroughputTimer
Previously, the timers might fail initialization in case variable was not present
when test started.

The current workaround is to avoid implementing TestStateListener in the timers
so JMeter does not attempt evaluating all the properties before test starts.

fixes https://github.com/apache/jmeter/issues/6165
2023-12-18 16:26:33 +03:00
Mend Renovate a45bcc9172 fix(deps): update dependency net.sf.saxon:saxon-he to v11.6 2023-12-14 20:26:41 +03:00
Mend Renovate b3209293e3 fix(deps): update dependency spotbugs to v4.8.3 2023-12-14 20:26:29 +03:00
Mend Renovate 3e20b6fdca fix(deps): update dependency org.jsoup:jsoup to v1.17.1 2023-12-14 20:03:48 +03:00
Mend Renovate 95da3fd5de fix(deps): update dependency org.apache.httpcomponents.client5:httpclient5 to v5.3 2023-12-14 20:03:38 +03:00
Mend Renovate 7942db8187 fix(deps): update dependency com.github.spotbugs:com.github.spotbugs.gradle.plugin to v6 2023-12-14 20:03:25 +03:00
Mend Renovate 58a9b2b333 fix(deps): update dependency commons-logging:commons-logging to v1.3.0
Fixes https://github.com/apache/jmeter/pull/6179
2023-12-14 19:50:28 +03:00
Vladimir Sitnikov 9e4485ac8f chore: prevent Renovate from upgrading Guava "0" 2023-12-14 19:46:13 +03:00
Mend Renovate 928c4fa043 chore(deps): update actions/setup-java action to v4 2023-12-14 19:43:52 +03:00
Mend Renovate eeb45b8052 fix(deps): update org.checkerframework
Fixes https://github.com/apache/jmeter/pull/6183
2023-12-14 19:43:13 +03:00
Mend Renovate 311342a7bc fix(deps): update com.fasterxml.jackson.core to v2.16.0
Fixes https://github.com/apache/jmeter/pull/6124
2023-12-14 19:32:23 +03:00
Mend Renovate 31c29af392 fix(deps): update dependency nl.jqno.equalsverifier:equalsverifier to v3.15.4 2023-12-14 19:16:02 +03:00
Mend Renovate a6bc6574f2 fix(deps): update dependency checkstyle to v10.12.6
Fixes https://github.com/apache/jmeter/pull/6177
2023-12-14 19:15:13 +03:00
Mend Renovate 2c8495368e chore(deps): update plugin com.gradle.common-custom-user-data-gradle-plugin to v1.12.1
Fixes https://github.com/apache/jmeter/pull/6176
2023-12-14 19:08:34 +03:00
Vladimir Sitnikov 8ce5097d27 chore: use Java 17 for Errorprone analysis 2023-12-14 18:51:30 +03:00
Vladimir Sitnikov 76bf21fb9e chore: make sure the build fails with a reasonable message if the build Java version is less than 17 2023-12-13 20:09:14 +03:00
Mend Renovate 91fa7041f4 fix(deps): update dependency com.fifesoft:rsyntaxtextarea to v3.3.4 2023-12-08 07:48:07 +03:00
Mend Renovate 43dac8805d fix(deps): update dependency commons-io:commons-io to v2.15.1 2023-12-07 17:50:29 +03:00
Vladimir Sitnikov 9d0961f093 fix: restore backward compatibility with JMeter < 5.6.2
We should not have changed public methods to static, and we should
probably restore the API.

Unfortuantely, it would break those who already recompiled with 5.6.2,
however, I hope it it would be less harm to restore the API to the original state.

This reverts some of the changes made in 12aefb0c70
2023-12-07 13:58:28 +03:00
Vladimir Sitnikov 2948281a3c test: exclude Semeru JDK from the builds as there are issues running with Gradle 8.5
See https://github.com/gradle/gradle/issues/27273
2023-12-04 14:52:12 +03:00
Mend Renovate 646a4060d3
fix(deps): update dependency com.github.spotbugs:com.github.spotbugs.gradle.plugin to v5.2.5 (#6167) 2023-12-04 08:03:03 +03:00