jmeter Invalid UTF-8 middle byte
jmeter, json, utf-8
Solution
in the HTTP request itself, it is possible to set "content encoding". I set there "utf-8" and it solved the problem
Problem
I'm using jMeter to shoot json through post requests to my test server. the following request always fail: ``` { "location": { "latitude": "37.390737", "longitude": "-121.973864" }, "category": "Café & Bakeries" } ``` the error message in the response data is: ``` Invalid UTF-8 middle byte 0x20 at [Source: org.apache.catalina.connector.CoyoteInputStream@6073ddf0; line: 6, column: 20] ``` The request is not sent to the server at all. other requests (e.g. replacing the value in category with other valid category like "Delis") works perfectly. I guess it's an encoding issue related to "Café" but I don't know how to resolve it. any idea? Thanks!