JMeter saving response data - Non-TEXT response data, cannot record: ()
<p>I'm trying to save my response data in a JMeter distributed non-gui test. I'd prefer to be able to do it via the JMeter config, to avoid modifying my custom JMeter controllers and test fragments.</p>

<p>For most of my responses, which are in xml, I get the following response:</p>

<pre><code>&lt;responseData class="java.lang.String"&gt;Non-TEXT response data, cannot record: ()&lt;/responseData&gt;
</code></pre>

<p>Here are the settings I have in my user.properties:</p>

<pre><code>jmeter.save.saveservice.data_type=true
jmeter.save.saveservice.label=true
jmeter.save.saveservice.response_code=true
# response_data is not currently supported for CSV output
jmeter.save.saveservice.output_format=xml
jmeter.save.saveservice.response_data=true
# Save ResponseData for failed samples
jmeter.save.saveservice.response_message=true
#jmeter.save.saveservice.successful=true
jmeter.save.saveservice.thread_name=true
#jmeter.save.saveservice.time=true
#jmeter.save.saveservice.subresults=true
#jmeter.save.saveservice.assertions=true
#jmeter.save.saveservice.latency=true
#jmeter.save.saveservice.connect_time=false
jmeter.save.saveservice.samplerData=true
jmeter.save.saveservice.responseHeaders=true
jmeter.save.saveservice.requestHeaders=true
#jmeter.save.saveservice.encoding=false
#jmeter.save.saveservice.bytes=true
jmeter.save.saveservice.url=true
#jmeter.save.saveservice.filename=false
#jmeter.save.saveservice.hostname=true
#jmeter.save.saveservice.thread_counts=true
#jmeter.save.saveservice.sample_count=false
#jmeter.save.saveservice.idle_time=true
</code></pre>

<p>If this issue is not solvable, I plan to modify my controller to grab the response data with getThreadContext().getPreviousSampler().getResponseDataAsString(), and print this directly to the JMeter log, however, if possible, I'd prefer to do this without changing the code.</p>

<p>Is there any way to get JMeter to convert xml response data and save it to the jtl file, via the config files?</p>