I'm having problems with JMeter's handling of unicode characters. When a sample response contains such characters, they are returned corrupted. For example, I'm using the dummy sampler with this response data:
Hauptschule Sankt Pýlten, Pottenbrunn
And JMeter returns:
Hauptschule Sankt P�lten, Pottenbrunn
I've set these properties in saveservice.properties and jmeter.properties respectively:
_file_encoding=UTF-8
sampleresult.default.encoding=UTF-8
but it makes no difference.
Any ideas on how to fix this? Thanks
Right property to set / change in jmeter.properties is
sampleresult.default.encoding=UTF-8
(if omitted default is ISO-8859-1)
Add a BSF post processing element to the sampler with the following script:
prev.setDataEncoding("UTF-8")
That's what worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With