JMeter 动态传参

异常信息org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unexpected character ('i' (code 105)): was expecting double-quote to start field name; nested exception is com.fasterxml.jackson.core.JsonParseException: Unexpected character ('i' (code 105)): was expecting double-quote to start field name
 at [Source: (PushbackInputStream); line: 2, column: 3]

 

这个错误表示 你传入的JSON数据第二行第三额字符出现异常

就好比我的错误时 i 字符出现异常

因为 id 应该用 "" 引号引起来

正确JSON格式:

再次测试

完美解决

 

 如果本篇文章对你有帮助,还请一键三连【开心】

你可能感兴趣的:(JAVA,jmeter,json,java)