Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: after disabling the Java Request sampler, it cannot be enabled again #6012

Merged
merged 1 commit into from Jun 27, 2023

Conversation

vlsi
Copy link
Collaborator

@vlsi vlsi commented Jun 27, 2023

Java sampler was inheriting "enabled" status from its config element as internally, Java Sampler UI always creates a config element and merges it to the java sampler.

The solution is to move "configureTestElement(sampler);" to the very end of modifyTestElement so all the base properties are populated based on the element properties rather than "config element" properties.

Ideally, we should somehow limit "mergeIn", and we should refrain from merging unexpected properties.

Fixes #6004

…gain

Java sampler was inheriting "enabled" status from its config element
as internally, Java Sampler UI always creates a config element and merges it
to the java sampler.

The solution is to move "configureTestElement(sampler);" to the very end of
modifyTestElement so all the base properties are populated based on
the element properties rather than "config element" properties.

Ideally we should somehow limit "mergeIn", and we should refrain from merging
unexpected properties.

Fixes apache#6004
@vlsi vlsi added this to the 5.6.1 milestone Jun 27, 2023
@vlsi vlsi merged commit 8534cb9 into apache:master Jun 27, 2023
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5.6: After disabling the Java Request sampler, it cannot be enabled again
1 participant