Commit Graph

5495 Commits

Author SHA1 Message Date
Mend Renovate 420d134d02 fix(deps): update dependency @fortawesome/fontawesome-free to v7 2025-11-08 21:46:07 +03:00
Vladimir Sitnikov f5518e3481 chore: remove the use of commons-io and commons-text
We keep the jars in the distribution, however, we no longer depend
on commons-io and commons-text
2025-11-07 23:46:21 +03:00
Vladimir Sitnikov df944af1e6 chore: deliver fonts from Apache website rather than 3rd party CDN
Fixes https://github.com/apache/jmeter/issues/6552
2025-11-03 21:58:20 +03:00
Vladimir Sitnikov da4bf49675 chore: drop xerces:xercesImpl dependency, avoid renovate bumping xml-apis to v2
xml-apis 2.0.2 is a mere relocation to 1.0.b2, so it makes no sense using v2
2025-10-31 20:47:59 +03:00
Vladimir Sitnikov b86754e536 chore: remove mongodb plugin 2025-10-31 20:19:43 +03:00
Vladimir Sitnikov 47bd32e0aa style: resolve issues identified by errorprone 2025-10-31 12:04:16 +03:00
Vladimir Sitnikov b68f8e1462 fix: bump Kotlin compiler to 2.2.20, use Kotlin 2.0.0 API
Dependency Submission / Submit dependencies (push) Has been cancelled Details
Validate Gradle Wrapper / Validation (push) Has been cancelled Details
CI / Matrix Preparation (push) Has been cancelled Details
CI / Error Prone (JDK 17) (push) Has been cancelled Details
Release Drafter / Update Release Draft (push) Has been cancelled Details
CI / ${{ matrix.name }} (push) Has been cancelled Details
We target Kotlin 1.9 (released July 2023), so the projects using Kotlin 1.9+
should be able to use JMeter.
2025-10-16 23:40:20 +03:00
Vladimir Sitnikov 6fc29c9494 fix(deps): update org.jodd, skip Internet Explorer 6-9
Previously, JMeter analyzed conditional commens and it could parse
HTML pages as if it was Internet Explorer of a specific version.
However, Internet Explorer 10 no longer supports conditional comments,
and IE 9 has been unsupported for quite some time already.

See https://github.com/oblac/jodd-lagarto/issues/25
2025-10-16 21:49:35 +03:00
Anjanan a7bd8fabdc Update index.xml
Removed unnecessary space in  a link
2025-03-04 17:59:20 +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 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 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 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 09c3f810dd change: use Java 17 as the build target, require Java 17+ for execution 2024-01-09 11:44:25 +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 be645a23c5 docs: update changelog for 5.6.3 2023-12-29 18:27:34 +03:00
Milamber 73719bdf80
Next major release will be for Java 17+ 2023-12-27 15:22:34 +01: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 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 ce1f32af87 Fix computation of min in Summary report
Fixes https://github.com/apache/jmeter/issues/6043
2023-07-12 16:20:25 +03:00
Milamber e663d1d585
prepare new version 5.6.2 2023-07-11 13:19:58 +01:00
Milamber f99eb5ea93
Add PR number and mention regression since JMeter 5.6. See #6041 2023-07-11 13:18:03 +01:00
Vladimir Sitnikov e424b5fa99 chore: Fix compatibility with Maven's pom.xml parser by adding explicit versions for com.google.auto.service:auto-service-annotations
Fixes https://github.com/apache/jmeter/issues/6041

See https://github.com/gradle/gradle/issues/25712
2023-07-11 13:48:53 +03:00
Milamber 9f803e313a
Adding note for next Java supported version for next major release of JMeter 2023-07-04 10:45:03 +01:00
Vladimir Sitnikov 4340b2a048 doc: update documentation for sampleresult.default.encoding default value
sampleresult.default.encoding defaults to DEFAULT_HTTP_ENCODING which moved
to UTF-8, so updating the documentation accordingly.

See https://github.com/apache/jmeter/issues/6005#issuecomment-1617473097
2023-07-03 10:16:57 +03:00
Milamber 2fcc6fd625
prepare new version 5.6.1 2023-06-29 16:33:10 +01:00
Vladimir Sitnikov 45db4c561b doc: update changelog for 5.6.1 2023-06-29 15:50:51 +03:00
Vladimir Sitnikov 7450e4b049 fix: use UTF-8 as a default encoding in HTTP sampler
In PR 5987 HTTP sampler encoded filenames with percent encoding,
however, it should not encode all the characters.

Fixes https://github.com/apache/jmeter/issues/6005
This is a fixup to https://github.com/apache/jmeter/pull/5987
2023-06-29 11:18:55 +03:00
Vladimir Sitnikov 6cc553f468 fix: default value for LoopController.continue_forever rather than initializing in the constructor
Previously LoopController initialized continue_forever=true in the constructor,
however, and ThreadGroup.setMainController flipped the value to false.

It caused inconsistency since non-GUI launch does not call ThreadGroup.setMainController.

Using default=true enables to treat "false" as non-standard, so =false is saved
t the jmx, and it gets loaded in non-GUI as well.

Fixes https://github.com/apache/jmeter/issues/6008
2023-06-28 12:02:53 +03:00
Vladimir Sitnikov f96c40da9e doc: mention contributors in changelog 2023-06-27 16:03:13 +03:00
Vladimir Sitnikov 9a86b6c2a4 doc: add changelog entry for "Java Sampler can't be enabled" 2023-06-27 15:37:55 +03:00
Vladimir Sitnikov 1ee08f4e28 chore: use Gradle toolchains for JDK provisioning
It enables automatic JDK provisioning (e.g. download), and it enables
using different JDKs for executing Gradle and for building JMeter

Java version can be specified when building with -PjdkVersion=11

You could use ./gradlew -q javaToolchains to list the detected toolchains.

See https://docs.gradle.org/8.0/userguide/toolchains.html#sec:consuming

Fixes https://github.com/apache/jmeter/issues/5986
2023-06-24 18:49:05 +03:00
Vladimir Sitnikov ddb75f6749 docs: add release-drafter for populating GitHub releases info based on the PRs 2023-06-24 16:58:20 +03:00
Vladimir Sitnikov d4c8c33fab doc: update changelog for 5.6.1 2023-06-24 16:55:49 +03:00
Milamber e024bf3703
prepare new version 5.6 2023-06-17 09:03:55 +01:00
Vladimir Sitnikov 13793b74d9 fix: encode unicode characters in filenames when sending files in HTTP Sampler
Fixes https://github.com/apache/jmeter/issues/4546
Fixes https://github.com/apache/jmeter/issues/5701
Fixes https://github.com/apache/jmeter/issues/5982
Fixes https://github.com/apache/jmeter/issues/5758
2023-06-16 09:12:34 +03:00
Vladimir Sitnikov 7a7e946ea8 feat: add Copy Code action to copy test element as code
It produces a draft code, so it is easier to start using DSL
by generating code from the UI.
2023-06-15 08:15:38 +03:00
Vladimir Sitnikov 14986056c8 Open Model Thread Group: interrupt pending HTTP requests and other Interruptible test elements on test stop
Previously, OMTG was just issuing java.lang.Thread.interrupt(),
however certain samplers require special treatment.

So now OMTG calls JMeterThread.interrupt() as well, so Interruptible
elements are interrupted as well.
2023-06-15 08:15:15 +03:00
Vladimir Sitnikov ef61d4eb0e feat: add DSL for programmatic test plan creation 2023-06-15 08:15:15 +03:00
Vladimir Sitnikov 88423edfb1 fix: AbstractTestElement#clone might produce non-identical clones if element constructor adds a non-default property value
Historically AbstractTestElement calls default constructor in order to create a clone.
It might be that a constructor would add properties (e.g. LoopController,
HeaderManager), so we might get invalid clones if the clone source
_removes_ a property which was added in the constructor.
2023-06-14 14:04:32 +03:00
Vladimir Sitnikov cabc3fbe15 chore: use testFixtures sourceset instead of depending on all the test classes
This change enables cleaner separation between "actual tests" and "support classes for the tests".

For instance, `:src:core` might provide dummy samplers like `ThreadSleep` for testing purposes.
`ThreadSleep` would depend on `src/test/main` (since it would `extend AbstractSampler`),
 and other modules (e.g. tests in `:src:protocols:http`) might need that `ThreadSleep` sampler.

It won't be practical to create `core-testkit` modules for every module,
so we move those reusable test classes to `testFixtures/...` source set.

See https://docs.gradle.org/current/userguide/java_testing.html#sec:java_test_fixtures
2023-06-08 13:37:07 +03:00
Vladimir Sitnikov 8fe60243b3 doc: use PR#<num> references instead of Pull request #<num> in the docs to make changelog cleaner 2023-06-07 19:07:24 +03:00
Vladimir Sitnikov 0ab4bb0072 feat: Enable usage of ${...} expressions for checkbox controls
The checkbox can be converted to an editable field by calling a context menu:
* right-click on the checkbox
* or press shift+F10

The editable box converts back to a checkbox if you select "true" or "false"

Fixes https://github.com/apache/jmeter/issues/1252
See https://github.com/apache/jmeter/pull/5761
2023-06-05 21:27:19 +03:00
Vladimir Sitnikov cc7d677da9 feat: Add API to declare TestElement schemas
See https://github.com/apache/jmeter/issues/5946
2023-06-05 21:27:19 +03:00