https://bz.apache.org/bugzilla/show_bug.cgi?id=64651
Felix Schumacher <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Hardware|PC |All --- Comment #4 from Felix Schumacher <[email protected]> --- With JSON data a simple double quote will not be enough, as there are probably double quotes in the data. Say, we have a JSON value of {"something": "stupid", "answer": 42} stored in the JMeter variable ${jsonValue} Using this as masked by a double quote as proposed earlier would lead to an error, as the CSV parser used internally would expect a comma just before 'something": ...'. A workaround is to use the quoteDelimiter function from CSVSaveService like ${__groovy(org.apache.jmeter.save.CSVSaveService.quoteDelimiters(vars.get("jsonValue")\,'\,"'.chars))} I marked this issue as an enhancement, as it would change the current logic and would probably need a switch in the GUI to indicate whether the input data should be seen as comma separated, or as one big data element. -- You are receiving this mail because: You are the assignee for the bug.
