【发布时间】:2021-12-12 19:33:02
【问题描述】:
[{
"FP": "DAV1",
"SMO": false,
"SP": [{
"name": "FOP1",
"Exam": [{
"Marksguid": "a02dac4f-630f-4ed0-aa54-8c7044b71f2f",
"apiUrl": "test1",
"interval": 65,
"schemaVersion": "1.2",
"authenticationType": "Basic"
}]
}]
}, {
"FP": "FOP10",
"SMO": false,
"SP": [{
"name": "FOP10",
"Exam": [{
"Marksguid": "f778dd51-d401-42ca-a5ea-4920db5708b2",
"apiUrl": "test1",
"interval": 65,
"schemaVersion": "1.2",
"authenticationType": "Basic"
}]
}]
}, {
"FP": "FOP2",
"SMO": false,
"SP": [{
"name": "FOP2",
"Exam": [{
"Marksguid": "8c49f158-7286-4f15-904c-564b41966b6b",
"apiUrl": "test1",
"interval": 65,
"schemaVersion": "1.2",
"authenticationType": "Basic"
}]
}]
}, {
"FP": "FOP3",
"SMO": false,
"SP": [{
"name": "FOP3",
"Exam": [{
"Marksguid": "c5f2893f-b8fb-4494-8126-b3de47ebe440",
"apiUrl": "test1",
"interval": 65,
"schemaVersion": "1.2",
"authenticationType": "Basic"
}]
}]
}]
我想为“FP”:“FOP2”和下面的名称做断言,并检查所有这些东西。有人可以帮我解决这个问题。
【问题讨论】:
标签: postman postman-pre-request-script postman-testcase