This is an automated email from the ASF dual-hosted git repository.
vladimirsitnikov pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
from 88423edfb1 fix: AbstractTestElement#clone might produce non-identical
clones if element constructor adds a non-default property value
add ff8d401b2a feat: add TestElement.remove(PropertyDescriptor),
TestElement.getOrNull(..)
add ef61d4eb0e feat: add DSL for programmatic test plan creation
add 34e3848a1b test: add test that verifies if thread groups interrupt the
running threads
add 14986056c8 Open Model Thread Group: interrupt pending HTTP requests
and other Interruptible test elements on test stop
add c0e942fbe4 test: add test for replacing variables in Include Controller
add 7fa39e87ad Add short names to the properties
add 1398670f2e chore: use abstract classes for schemas
add 7a7e946ea8 feat: add Copy Code action to copy test element as code
add 61cb8ff051 feat: add ability to factor properties into subgroups
add 95c41874e5 chore: use schema in AbstractTestElement for properties
add bb9dd3f0a6 chore: use TestElement.setEnabled instead of using the
property name
add 76b7f3500b feat: add GenericControllerSchema, and LoopControllerSchema
add 5b36de1b0a feat: add ArgumentSchema, ArgumentsSchema
add d57e4e535a feat: add HTTPArgumentSchema
add 86083488c1 feat: add HttpSamplerBaseSchema
add be9b3e5972 feat: Add AbstractThreadGroupSchema.onSampleError
add 5052358644 feat: add http.HeaderSchema
add 2c26623a58 feat: add RegexExtractorSchema
add 10556346ea feat: add DebugSamplerSchema
add 9c56e2c944 feat: add HeaderManagerSchema
add f2332f72cc feat: add WhileControllerSchema
add c2df644093 feat: add TransactionControllerSchema
add bad9cb1285 feat: add IfControllerSchema
add 31d598f07e doc: explain the reason for using
org.apache.jmeter.treebuilder.Action interface
No new revisions were added by this update.
Summary of changes:
.../apache/jmeter/extractor/RegexExtractor.java | 74 ++---
.../org/apache/jmeter/sampler/DebugSampler.java | 11 +
.../jmeter/extractor/RegexExtractorSchema.kt | 55 ++++
.../apache/jmeter/sampler/DebugSamplerSchema.kt} | 24 +-
.../apache/jmeter/control/TestLoopController.java | 3 +-
.../OpenModelThreadGroupConfigElementJavaTest.java | 91 ++++++
.../apache/jmeter/control/IncludeControllerTest.kt | 72 +++++
.../OpenModelThreadGroupConfigElementTest.kt | 47 ++-
.../java/org/apache/jmeter/config/Argument.java | 54 ++--
.../java/org/apache/jmeter/config/Arguments.java | 21 +-
.../apache/jmeter/config/ConfigTestElement.java | 11 +
.../apache/jmeter/control/GenericController.java | 11 +
.../org/apache/jmeter/control/IfController.java | 30 +-
.../org/apache/jmeter/control/LoopController.java | 49 ++-
.../jmeter/control/TransactionController.java | 26 +-
.../org/apache/jmeter/control/WhileController.java | 18 +-
.../org/apache/jmeter/gui/action/ActionNames.java | 1 +
.../apache/jmeter/gui/tree/JMeterTreeModel.java | 6 +-
.../org/apache/jmeter/gui/util/MenuFactory.java | 3 +
.../testelement/AbstractScopedTestElement.java | 10 +
.../jmeter/testelement/AbstractTestElement.java | 12 +-
.../apache/jmeter/threads/AbstractThreadGroup.java | 14 +-
.../jmeter/threads/gui/AbstractThreadGroupGui.java | 4 +-
.../ArgumentSchema.kt} | 26 +-
.../ArgumentsSchema.kt} | 14 +-
.../jmeter/config/ConfigTestElementSchema.kt} | 12 +-
.../GenericControllerSchema.kt} | 11 +-
.../IfControllerSchema.kt} | 23 +-
.../apache/jmeter/control/LoopControllerSchema.kt | 49 +++
.../TransactionControllerSchema.kt} | 17 +-
.../WhileControllerSchema.kt} | 14 +-
.../org/apache/jmeter/dsl/DslPrinterTraverser.kt | 242 ++++++++++++++
.../org/apache/jmeter/gui/action/CopyCodeAction.kt | 51 +++
.../AbstractScopedTestElementSchema.kt} | 15 +-
.../org/apache/jmeter/testelement/TestElement.kt | 82 +++--
.../apache/jmeter/testelement/TestElementSchema.kt | 24 +-
.../apache/jmeter/testelement/TestPlanSchema.kt | 22 +-
.../testelement/schema/BasePropertyGroupSchema.kt | 191 +++++++++++
.../testelement/schema/BaseTestElementSchema.kt | 348 +++++++++++++++++++++
.../schema/BooleanPropertyDescriptor.kt | 13 +-
.../testelement/schema/ClassPropertyDescriptor.kt | 25 +-
.../schema/CollectionPropertyDescriptor.kt | 18 +-
.../testelement/schema/DoublePropertyDescriptor.kt | 13 +-
.../testelement/schema/EmptyTestElementSchema.kt | 130 --------
.../testelement/schema/FloatPropertyDescriptor.kt | 13 +-
.../schema/IntegerPropertyDescriptor.kt | 13 +-
.../testelement/schema/LongPropertyDescriptor.kt | 13 +-
.../schema/ParentSchemaReference.kt} | 13 +-
.../testelement/schema/PropertiesAccessor.kt | 5 +-
.../testelement/schema/PropertyDescriptor.kt | 13 +-
.../testelement/schema/StringPropertyDescriptor.kt | 15 +-
.../schema/TestElementPropertyDescriptor.kt | 23 +-
.../jmeter/threads/AbstractThreadGroupSchema.kt | 20 +-
.../org/apache/jmeter/threads/ThreadGroupSchema.kt | 22 +-
.../threads/openmodel/OpenModelThreadGroup.kt | 7 +
.../openmodel/OpenModelThreadGroupSchema.kt | 10 +-
.../org/apache/jmeter/treebuilder/Action.kt} | 27 +-
.../org/apache/jmeter/treebuilder/TreeBuilder.kt | 199 ++++++++++++
.../dsl/TreeBuilders.kt} | 16 +-
.../apache/jmeter/resources/messages.properties | 1 +
.../apache/jmeter/resources/messages_fr.properties | 1 +
.../jmeter/dsl/action/DslPrinterTraverserTest.kt | 93 ++++++
.../apache/jmeter/engine/util/UseFunctionsTest.kt | 3 +-
.../property/JMeterElementSchemaTest.kt | 17 +-
.../property/PropertyGroupSchemaTest.kt | 161 ++++++++++
.../openmodel/ThreadsInterruptAtFinishTest.kt | 80 +++++
.../apache/jmeter/treebuilder/TreeBuilderTest.kt | 135 ++++++++
.../assertions/executePlanAndCollectEvents.kt} | 42 +--
.../test/samplers/CollectSamplesListener.kt} | 35 +--
.../org/apache/jmeter/test/samplers/ThreadSleep.kt | 62 ++++
src/dist/build.gradle.kts | 3 +
.../apache/jorphan/collections/ListedHashTree.java | 15 +-
.../http/config/gui/GraphQLUrlConfigGui.java | 4 +-
.../protocol/http/config/gui/HttpDefaultsGui.java | 110 +++----
.../protocol/http/config/gui/UrlConfigGui.java | 44 +--
.../jmeter/protocol/http/control/Header.java | 24 +-
.../protocol/http/control/HeaderManager.java | 19 +-
.../http/control/gui/HttpTestSampleGui.java | 37 ++-
.../http/gui/action/ParseCurlCommandAction.java | 2 +-
.../protocol/http/sampler/AccessLogSampler.java | 13 +-
.../protocol/http/sampler/HTTPSamplerBase.java | 225 ++++++-------
.../jmeter/protocol/http/util/HTTPArgument.java | 32 +-
.../protocol/http/util/accesslog/TCLogParser.java | 7 +-
.../protocol/http/control/HeaderManagerSchema.kt} | 15 +-
.../jmeter/protocol/http/control/HeaderSchema.kt} | 18 +-
.../protocol/http/sampler/HTTPSamplerBaseSchema.kt | 109 ++++++-
...seSchema.kt => HTTPSamplerProxyParamsSchema.kt} | 27 +-
.../protocol/http/util/HTTPArgumentSchema.kt} | 24 +-
.../jmeter/protocol/http/config/UrlConfigTest.java | 3 +-
.../jmeter/protocol/http/sampler/PackageTest.java | 3 +-
.../http/sampler/ParallelResourcesAndIpSource.java | 5 +-
.../protocol/http/HttpRequestInterruptTest.kt | 69 ++++
.../http/sampler/HttpSamplerPrintDslTest.kt | 164 ++++++++++
.../java/sampler/BeanShellSamplerSchema.kt | 22 +-
.../jmeter/protocol/system/SystemSampler.java | 4 +-
xdocs/changes.xml | 2 +
.../copy_code/http_sampler_copy_code.png | Bin 0 -> 31868 bytes
xdocs/usermanual/build-jms-topic-test-plan.xml | 2 +-
xdocs/usermanual/build-programmatic-test-plan.xml | 259 +++++++++++++++
xdocs/usermanual/get-started.xml | 1 +
xdocs/usermanual/index.xml | 2 +
xdocs/usermanual/listeners.xml | 2 +-
102 files changed, 3372 insertions(+), 920 deletions(-)
create mode 100644
src/components/src/main/kotlin/org/apache/jmeter/extractor/RegexExtractorSchema.kt
copy
src/{protocol/http/src/main/kotlin/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBaseSchema.kt
=> components/src/main/kotlin/org/apache/jmeter/sampler/DebugSamplerSchema.kt}
(56%)
create mode 100644
src/components/src/test/java/org/apache/jmeter/threads/openmodel/OpenModelThreadGroupConfigElementJavaTest.java
create mode 100644
src/components/src/test/kotlin/org/apache/jmeter/control/IncludeControllerTest.kt
copy
src/core/src/main/kotlin/org/apache/jmeter/{threads/openmodel/OpenModelThreadGroupSchema.kt
=> config/ArgumentSchema.kt} (59%)
copy
src/core/src/main/kotlin/org/apache/jmeter/{engine/util/PropertyTransformer.kt
=> config/ArgumentsSchema.kt} (70%)
copy
src/{components/src/main/java/org/apache/jmeter/timers/BSFTimerBeanInfo.java =>
core/src/main/kotlin/org/apache/jmeter/config/ConfigTestElementSchema.kt} (78%)
copy
src/core/src/main/kotlin/org/apache/jmeter/{engine/util/PropertyTransformer.kt
=> control/GenericControllerSchema.kt} (73%)
copy
src/core/src/main/kotlin/org/apache/jmeter/{threads/openmodel/OpenModelThreadGroupSchema.kt
=> control/IfControllerSchema.kt} (59%)
create mode 100644
src/core/src/main/kotlin/org/apache/jmeter/control/LoopControllerSchema.kt
copy
src/core/src/main/kotlin/org/apache/jmeter/{engine/util/PropertyTransformer.kt
=> control/TransactionControllerSchema.kt} (60%)
copy
src/core/src/main/kotlin/org/apache/jmeter/{engine/util/PropertyTransformer.kt
=> control/WhileControllerSchema.kt} (69%)
create mode 100644
src/core/src/main/kotlin/org/apache/jmeter/dsl/DslPrinterTraverser.kt
create mode 100644
src/core/src/main/kotlin/org/apache/jmeter/gui/action/CopyCodeAction.kt
copy
src/core/src/main/kotlin/org/apache/jmeter/{engine/util/PropertyTransformer.kt
=> testelement/AbstractScopedTestElementSchema.kt} (65%)
create mode 100644
src/core/src/main/kotlin/org/apache/jmeter/testelement/schema/BasePropertyGroupSchema.kt
create mode 100644
src/core/src/main/kotlin/org/apache/jmeter/testelement/schema/BaseTestElementSchema.kt
delete mode 100644
src/core/src/main/kotlin/org/apache/jmeter/testelement/schema/EmptyTestElementSchema.kt
copy
src/core/src/main/kotlin/org/apache/jmeter/{engine/util/PropertyTransformer.kt
=> testelement/schema/ParentSchemaReference.kt} (73%)
copy
src/core/src/main/{java/org/apache/jmeter/report/processor/MaxAggregatorFactory.java
=> kotlin/org/apache/jmeter/treebuilder/Action.kt} (59%)
create mode 100644
src/core/src/main/kotlin/org/apache/jmeter/treebuilder/TreeBuilder.kt
copy
src/core/src/main/kotlin/org/apache/jmeter/{engine/util/PropertyTransformer.kt
=> treebuilder/dsl/TreeBuilders.kt} (72%)
create mode 100644
src/core/src/test/kotlin/org/apache/jmeter/dsl/action/DslPrinterTraverserTest.kt
create mode 100644
src/core/src/test/kotlin/org/apache/jmeter/testelement/property/PropertyGroupSchemaTest.kt
create mode 100644
src/core/src/test/kotlin/org/apache/jmeter/threads/openmodel/ThreadsInterruptAtFinishTest.kt
create mode 100644
src/core/src/test/kotlin/org/apache/jmeter/treebuilder/TreeBuilderTest.kt
copy
src/core/src/{main/java/org/apache/jmeter/testbeans/gui/LongPropertyEditor.java
=>
testFixtures/kotlin/org/apache/jmeter/test/assertions/executePlanAndCollectEvents.kt}
(50%)
copy
src/core/src/{main/java/org/apache/jmeter/report/processor/ApdexThresholdsInfo.java
=>
testFixtures/kotlin/org/apache/jmeter/test/samplers/CollectSamplesListener.kt}
(54%)
create mode 100644
src/core/src/testFixtures/kotlin/org/apache/jmeter/test/samplers/ThreadSleep.kt
copy
src/{core/src/main/kotlin/org/apache/jmeter/engine/util/PropertyTransformer.kt
=>
protocol/http/src/main/kotlin/org/apache/jmeter/protocol/http/control/HeaderManagerSchema.kt}
(65%)
copy
src/{core/src/main/kotlin/org/apache/jmeter/engine/util/PropertyTransformer.kt
=>
protocol/http/src/main/kotlin/org/apache/jmeter/protocol/http/control/HeaderSchema.kt}
(63%)
copy
src/protocol/http/src/main/kotlin/org/apache/jmeter/protocol/http/sampler/{HTTPSamplerBaseSchema.kt
=> HTTPSamplerProxyParamsSchema.kt} (54%)
copy
src/{core/src/main/kotlin/org/apache/jmeter/threads/openmodel/OpenModelThreadGroupSchema.kt
=>
protocol/http/src/main/kotlin/org/apache/jmeter/protocol/http/util/HTTPArgumentSchema.kt}
(58%)
create mode 100644
src/protocol/http/src/test/kotlin/org/apache/jmeter/protocol/http/HttpRequestInterruptTest.kt
create mode 100644
src/protocol/http/src/test/kotlin/org/apache/jmeter/protocol/http/sampler/HttpSamplerPrintDslTest.kt
create mode 100644
xdocs/images/screenshots/copy_code/http_sampler_copy_code.png
create mode 100644 xdocs/usermanual/build-programmatic-test-plan.xml