使用jmeter进行接口请求时,传递json参数,查看结果树中的请求数据中的参数值和参
使用jmeter进行接口请求时,传递json参数,查看结果树中的请求数据中的参数值和参数名都显示在parameter name中,而且Content–type显示text/ plain,怎么解决啊?消息体数据中的参数
{
"gid": 1407,
"option_score": {
"moist_score": 3,
"color_score": 3,
"lasting_score": 3,
"own_score": 3
},
"question": [{
"evaluation_question_id": "17",
"evaluation_tags_id": [
1969, 9472, 9473, 9474, 1974
]
},
{
"evaluation_question_id": "18",
"evaluation_tags_id": [
9475
]
},
{
"slide_score": "7",
"evaluation_question_id": "5",
"evaluation_tags_id": [
1976
]
},
{
"evaluation_question_id": "6",
"evaluation_tags_id": [
9461
]
},
{
"evaluation_question_id": "7",
"evaluation_tags_id": [
9467
]
},
{
"slide_score": "7",
"evaluation_question_id": "8",
"evaluation_tags_id": [
1972
]
},
{
"evaluation_question_id": "9",
"evaluation_tags_id": [
9470
]
},
{
"evaluation_question_id": "10",
"evaluation_tags_id": [
9481
]
},
{
"slide_score": "7",
"evaluation_question_id": "11",
"evaluation_tags_id": [
9484
]
},
{
"evaluation_question_id": "12",
"evaluation_tags_id": [
9486
]
},
{
"slide_score": "7",
"evaluation_question_id": "13",
"evaluation_tags_id": [
1971
]
},
{
"evaluation_question_id": "14",
"evaluation_tags_id": [
9491
]
},
{
"evaluation_question_id": "15",
"evaluation_tags_id": [
9495
]
},
{
"evaluation_question_id": "16",
"evaluation_tags_id": [
9498
]
}
]
} 请求方式
· POST
参数
参数名 必选 类型
gid 是 int
是OPTION SOCRE json
是- MOIST SCORE int
是- COLOR SCORE int
-lasting score 是 int
是: OWN SCORE int
content string
picts json
香- SrC string
W string
-h string
question 是 json
是 int
evaluation question id
evaluation tags id 是 ARTAY
政 slide score string
看返回的位置吧
页:
[1]