原文:Jmeter测试接口详细步骤(六)HTTP信息头管理器,Content type 'text/plain;charset=UTF-8' not supported

接口参数若使用了消息体数据,可能会碰到一个报错信息 status : , error : Unsupported Media Type , message : Content type text plain charset UTF not supported 此时需要增加一个HTTP信息头管理器,线程组 或接口 添加 配置元件 HTTP信息头管理器 名称:Content Type 值:applic ...

2021-04-21 15:40 0 267 推荐指数:

查看详情

Content type 'text/plain;charset=UTF-8' not supported

报错: Content type 'text/plain;charset=UTF-8' not supported 一开始使用对象方式接受数据,一直报错. 改成下面形式就好了! 通过字符串接收,自己再解析一次. ...

Fri Sep 04 04:40:00 CST 2020 0 1040
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM