Commit Graph

18294 Commits

Author SHA1 Message Date
Mend Renovate 6d39ac6e69 fix(deps): update dependency com.github.tomakehurst:wiremock-jre8 to v2.35.2 2025-02-13 10:22:01 +03:00
junyejiang 30b3b7ef36 update according to CR 2025-02-10 13:36:50 +03:00
junyejiang 10491a6550 Correct mirror server class path 2025-02-10 13:36:50 +03:00
Mend Renovate d7f7bcc164 chore(deps): update plugin org.gradlex.build-parameters to v1.4.4 2025-01-28 10:36:29 +03:00
Clay Johnson ab65ec1810 Update Develocity plugin versions 2025-01-15 04:49:27 +03:00
Clay Johnson 9747669c2d Use `DEVELOCITY_ACCESS_KEY` to authenticate to `develocity.apache.org` 2025-01-15 04:49:27 +03:00
Clay Johnson ecac72df6c Publish build scans to develocity.apache.org 2025-01-15 04:49:27 +03:00
Gabriele Coletta 5d9778129a Removed duplicated call to applyHiDPIOnFonts 2024-12-08 13:53:45 +03:00
Gabriele Coletta 083d6fe15c Apply HiDPI mode on GUI setup 2024-12-08 13:53:45 +03:00
František Bílek be0cf3a661 Updated the `createMenuItem` method to use a more descriptive variable name `menuItem` for clarity and consistency. 2024-11-30 08:40:30 +03:00
linvaux 423c00b22e style(StandardJmeterEngine): remove unnecessary code
delete "return" in a private void method
2024-11-30 08:39:32 +03:00
Patrick Uiterwijk c846e66e92 Add explanation to UnrecoverableKeyException
Unrecoverable keys after opening the keystore could be a consequence of
the key having a different password than the keystore itself.
This could cause some people to spend a lot of time figuring out what's
going on, so let's just give them a quick heads up of a potential
(common?) reason for this error.

This could be fixed by running "keytool -keypasswd".
2024-11-26 10:25:27 +03:00
Patrick Uiterwijk f9fe8e4feb Fix KeyManage log when using CLI mode
Without this patch, whenever a KeyStore is used (for example for client
certificates) in CLI mode, there is a message that no password was
provided.
This was caused by the else of the condition being on the wrong if
statement, and can cause people to spend a lot of time trying to debug
why the key store won't work.
2024-11-26 10:24:57 +03:00
Felix Schumacher 872112bf5d Add test to check report generation from read-only directory
Closes #6357 and #6358
2024-10-25 13:11:19 +02:00
Felix Schumacher 939ae3c046 Ensure directories are writable when generating reports from read-only sources 2024-10-25 13:09:49 +02:00
Felix Schumacher 8268c1c499 Add since annotation to javadoc for new feature
Closes #6352 and #6353
2024-10-25 12:41:52 +02:00
Felix Schumacher 66c2df72ad Use simple long, as we are initialized before the reading threads are started 2024-10-06 17:46:59 +02:00
Felix Schumacher 9e2e2bcbd1 Add startTime to AbstractThreadGroup and use it in OMTG and PreciseThroughputTimer
A thread group might start later than the test. When we calculate delays on the start time of
the test, we might get a stampede of samples run at the start of the thread group.
2024-10-06 17:46:59 +02:00
Felix Schumacher 45996dbd69 Use current time as start time for OMTG
When we use the test start time via JMeterContextService#getTestStartTime,
we might create a storm of test samples at the beginning, when a setup thread group
made us wait.
2024-10-06 17:46:59 +02:00
Felix Schumacher 6abfb4d5cd Fix markup 2024-09-27 19:26:28 +02:00
Felix Schumacher 954d229fdd Add changes to changes.xml 2024-09-27 18:56:48 +02:00
Felix Schumacher 356775da35 More occurrences of com.mysql.jdbc.Driver / replace them all 2024-09-27 18:56:48 +02:00
David Getzlaff 9643596b15 Update component_reference.xml for com.mysql.cj.jdbc.Driver 2024-09-27 18:54:31 +02:00
David Getzlaff 3a38f0462a Add new jdbc.driver.class "com.mysql.cj.jdbc.Driver" to jmeter.properties
By providing this new class, this message can be prevented:
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
2024-09-27 18:54:31 +02:00
Felix Schumacher d1de0b8e1a Exclude Oracle Java on MacOS. It is not working currently
It seems, that the env variable JAVA_HOME__x64 is not set
2024-09-27 18:09:40 +02:00
Felix Schumacher 90f6998fa7 Fix flaky brotli decompression batch test
Sometimes in CI the brotli request will be redirected first, so try to not show
those redirects in the sampler output. Maybe we can get that test to working again.
2024-09-27 12:30:31 +02:00
wick 755011176b fix(Jmeter): fix a wrong method name
update org.apache.jmeter.JMeter#startUdpDdaemon to org.apache.jmeter.JMeter#startUdpDaemon

Closes 6325
2024-09-19 08:06:29 +03:00
Jitesh Kumar Raghav 8b25820e67 Fixed Typo in error message #6335 Issue 2024-09-19 08:05:08 +03:00
Vladimir Sitnikov 3e9af5de35 chore: bump Gradle to 8.9 2024-08-06 13:00:43 +03:00
Vladimir Sitnikov 871aa60522 style: remove unused imports 2024-08-06 12:29:38 +03:00
Dmitry Kryukov ca708c8ece Removed several collections which are updated, but seem to be never accessed. 2024-08-06 12:11:48 +03:00
Vladimir Sitnikov 6b650080c4 chore: use xercesImpl:2.12.1 for the buildscript classpath to avoid old xerces during the build
This is a build-time only change, and it does not change test/runtime classpath.
2024-08-06 10:37:53 +03:00
Piotr P. Karwasz cbdfd1ba43 Fix log4j package warning on JMeter startup: WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated ...
The Log4j Core `packages` configuration attribute is deprecated because:

* It triggers the scanning of the mentioned packages and slows down the
  startup process.
* It was replaced in version 2.0 by a faster mechanism that relies on a
  `Log4jPlugins.dat` metadata file. See [Log4j Plugins](https://logging.apache.org/log4j/2.x/manual/plugins.html) for more details.

This PR removes the `packages` attribute from the standard configuration
file and configures the build script of `jmeter-core` to use the
`PluginProcessor` contained in `log4j-core`.

See #5937.
2024-08-06 09:58:55 +03:00
David Coomber 174ba3178f Fixed grammar 2024-06-23 14:01:12 +02:00
David Coomber 339c793250 Fixed typo 2024-06-21 19:49:42 +03:00
Vladimir Sitnikov 289b3d189c fix: trim whitespace when parsing numeric properties
Motivation: if the value parses after trimming, then it would likely be the one
the user wants.

Currently, a trailing whitespace in UI is hard to notice, and it breaks test
execution. For instance ThreadGroup.threadNum becomes 0 without any warning,
and it invalidates test results.
2024-05-30 21:37:57 +03:00
Milamber bacaa8baff
Add a space between key and value after : in View Results Tree > Sampler result tab #6267 (#6268) 2024-04-12 12:01:50 +00:00
Vladimir Sitnikov 09c3f810dd change: use Java 17 as the build target, require Java 17+ for execution 2024-01-09 11:44:25 +03:00
Vladimir Sitnikov d3cba66416 chore: set next version to 6.0.0 2024-01-09 11:00:48 +03:00
Milamber 79bc2c831f
Add the 5.6.3 release 2024-01-07 18:12:57 +01:00
Vladimir Sitnikov 34a2785748 test: reduce JMeterTest > runSerialTest test noise
PropertyDescriptor requires arguments for instantiation, so it can't easily
be tested for serializability.
2024-01-01 17:41:17 +03:00
Vladimir Sitnikov ff63439527 fix: store ThreadGroup.scheduler fields
This fixes a regression in 278247608b
2024-01-01 17:41:17 +03:00
Milamber 6c2a009159
prepare new version 5.6.3 2023-12-31 10:34:31 +01:00
Vladimir Sitnikov 945281cfaa feat: pass JDBCSampler.maxRows to Statement.setMaxRows so the driver does not fetch extra rows from the database 2023-12-30 13:02:36 +03:00
Vladimir Sitnikov aa22e93526 chore: apply kapt incremental execution failure workaround for all kapt tasks 2023-12-30 13:02:14 +03:00
Vladimir Sitnikov 05c8659f3b chore: add workaround for kapt failure "Number of loaded files in snapshots differs"
See https://youtrack.jetbrains.com/issue/KT-45329/IDE-KAPT-Number-of-loaded-files-in-snapshots-differs-when-using-Run-with-Coverage-and-project-has-Java-and-Kotlin-targets-with
2023-12-30 12:26:31 +03:00
Vladimir Sitnikov b36a9c41dc Reapply "refactor: JMeterSerialTest to Kotlin so we have one less compileJava task"
This reverts commit 8a5f5d8e98.
2023-12-30 12:19:55 +03:00
Vladimir Sitnikov c204d5c72d Reapply "refactor: @JMeterSerialTest.java -> JMeterSerialTest.kt"
This reverts commit 241078e518.
2023-12-30 12:19:50 +03:00
Vladimir Sitnikov 241078e518 Revert "refactor: @JMeterSerialTest.java -> JMeterSerialTest.kt"
This reverts commit 4199228f12.
2023-12-30 11:58:55 +03:00
Vladimir Sitnikov 8a5f5d8e98 Revert "refactor: JMeterSerialTest to Kotlin so we have one less compileJava task"
This reverts commit 1c64012830.
2023-12-30 11:58:48 +03:00