opensearch-project / opensearch-benchmark

OpenSearch Benchmark - a community driven, open source project to run performance tests for OpenSearch
https://opensearch.org/docs/latest/benchmark/
Apache License 2.0
112 stars 79 forks source link

Fix workload parameter processing when a key is mapped to a JSON file #690

Closed gkamat closed 3 days ago

gkamat commented 3 weeks ago

Description

When the argument passed to the workload-params option includes a key-value pair, where the value is a JSON file, there parser may treat the entire option string incorrectly as a filename.

Issues Resolved

502

Testing

Unit and integ tests. Added unit tests.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.