【发布时间】:2021-10-04 05:54:04
【问题描述】:
我想验证材料 ID 的长度为“14”且材料部门为“OT”
在邮递员中为以下 JSON 响应编写什么测试用例。
{
"success": "true",
"Result": {
"Response": [
{
"Material Id": "e838663839398f",
"Material Department": "OT"
}
]
}
}
【问题讨论】:
-
嗨,到目前为止,您尝试了什么? Postman 站点有一个用于创建测试的入门指南。 learning.postman.com/docs/writing-scripts/test-scripts
标签: json postman web-api-testing postman-testcase