测试基础 jmeter content-type

烂柯人 · May 12, 2021 · Last by cheunghr replied at May 12, 2021 · 2856 hits

content-type=multipart/form-data
1、jmeter 中需要勾选配置

对比勾选与否的接口

2、在 Advanced 配置项中选择 java

共收到 2 条回复 时间 点赞

multipart/form-data 一般用于上传;而 post 一个表单 content-type 为 application/x-www-form-urlencoded

post 一个 json 字符串,content-type 为 application/json

需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up