1、jmeter发送请求的时候报错Unrecognized token 'key': was expecting ('true', 'false' or 'null');
{"timestamp":"2019-06-15T08:05:58.052+0000","status":400,"error":"Bad Request","message":"JSON parse error: Unrecognized token 'key': was expecting ('true', 'false' or 'null'); nested exception is com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'key': was expecting ('true', 'false' or 'null')\n at [Source: (PushbackInputStream); line: 1, column: 5]","path":"/poc/api/query"}
原因:因为jmeter在配置http请求的时候,在body参数中,选择了“参数”配置
注:“编码?” 是有中文格式的时候才勾选。