在运行脚本的时候报错:(不支持JSON格式)
JMeter:报错(Content type 'text/plain;charset=UTF-8' not supported")

解决方式:使用正确的传输格式
1、配置HTTP信息头管理器,增加消息头 Content-Type:application/json;charset=UTF-8

JMeter:报错(Content type 'text/plain;charset=UTF-8' not supported")

2、使用消息提数据

JMeter:报错(Content type 'text/plain;charset=UTF-8' not supported")

JMeter:报错(Content type 'text/plain;charset=UTF-8' not supported")

响应头里查看Content-Type类型:

JMeter:报错(Content type 'text/plain;charset=UTF-8' not supported")

相关文章:

  • 2021-09-16
  • 2021-10-12
  • 2021-08-26
  • 2021-09-11
  • 2021-10-02
  • 2022-01-01
猜你喜欢
  • 2021-05-17
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2021-10-21
  • 2022-01-16
  • 2021-06-15
相关资源
相似解决方案