Skip to content

Fix/jmeter 6830 preserve property types - #6832

Open
GadiVenkatesh wants to merge 3 commits into
apache:masterfrom
GadiVenkatesh:fix/jmeter-6830-preserve-property-types
Open

GadiVenkatesh wants to merge 3 commits into
apache:masterfrom
GadiVenkatesh:fix/jmeter-6830-preserve-property-types

Conversation

@GadiVenkatesh

Copy link
Copy Markdown

Summary

  • Preserve the original value type when converting objects into JMeter properties.
  • Enable the existing MapProperty integer-type regression test.
  • Add CollectionProperty regression coverage because both use the shared conversion logic.

Root cause

AbstractProperty.convertObject() uses the container's property type when converting raw values. During initialization, this can fall back to StringProperty instead of preserving the original integer type.

Testing

  • Added regression coverage for integer values in MapProperty and CollectionProperty.
  • Tests have not yet been run locally; CI validation is required.

Fixes #6830

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MapProperty(String, Map) stores every value as StringProperty

1 participant