LoadRunner进行软件压力测试时,body中携带中文参数报错问题解决方法
1. 情景描述:
使用loadrunner进行压力测试时,测试post方法,其中post方法中body中有中文,这样可能导致接口调用失败。错误日志如下:
Caused by: com.fasterxml.jackson.core.JsonParseException: Invalid UTF-8 middle byte 0xea
at [Source: (PushbackInputStream); line: 1, column: 203]
2. 解决方法:
将post中的body中的中文使用unicod
原创
2020-12-09 16:18:34 ·
1002 阅读 ·
0 评论