mistake when response body includes Chinese

I request one url, if the response body includes Chinese, like:
{“result”:1, “data”:[{“a”: “中国”}, {“b”: “China”}]}

it error.


![1572076819731.jpg|1804x190](upload://qZj35hB2m7Np4mjsJJHCZr1rlDC.jpeg)

2 things:

  • you’re not using latest Gatling version, please upgrade
  • JSON required UTF-8, UTF-16 or UTF-32 encoding, make sure you don’t use a chinese specific encoding

thank your reply!

  1. I am using gatling 3.1.2 version
  2. How should I check my JSON encoding?

thanks a lot!

在 2019年10月26日星期六 UTC+8下午4:06:49,Stéphane Landelle写道: