https://bz.apache.org/bugzilla/show_bug.cgi?id=64769
Felix Schumacher <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO OS| |All --- Comment #1 from Felix Schumacher <[email protected]> --- The values are extracted without the quotes, as the quotes in JSON are the delimiters for the inner values (the strings). Maybe we should have thought about guarding spaces and quotes before concatenating them, but alas we didn't. If we would change the behaviour now, it would (possibly) break older test plans, that rely on the feature of extracting the values as we do now. That should not be done without a bit of thought about the consequences. We might build in a switch to let the user decide, which version of concatenation she wants. With quotes, without quotes, or smart quotes like in CSV. With smart quotes I mean, that we add quotes around the values, that contain quotes or the separator character. To make it easier for the decoding, we could decide to quote all values, if one value needs quoting. The smart quote behaviour could arguably be added to the current version, as those test plan would not work properly anyway (famous last words). But apart from this, do you have a minimal test plan, that shows, what you are doing and what you want to achieve? Maybe there is an easier way by using an aggregation function inside the JSONPath or JMESPath extractor language. -- You are receiving this mail because: You are the assignee for the bug.
