feat: support api layer and global headers for testcase

This commit is contained in:
xucong053
2022-03-15 12:39:41 +08:00
parent 3b9e6cd736
commit af6c433069
37 changed files with 907 additions and 135 deletions

View File

@@ -585,13 +585,13 @@
{
"check": "status_code",
"assert": "equals",
"expect": 302,
"expect": 200,
"msg": "assert response status code"
},
{
"check": "headers.\"Content-Type\"",
"assert": "equals",
"expect": "text/plain; charset=utf-8",
"expect": "application/json; charset=utf-8",
"msg": "assert response header Content-Type"
}
]
@@ -695,13 +695,13 @@
{
"check": "status_code",
"assert": "equals",
"expect": 302,
"expect": 200,
"msg": "assert response status code"
},
{
"check": "headers.\"Content-Type\"",
"assert": "equals",
"expect": "text/plain; charset=utf-8",
"expect": "application/json; charset=utf-8",
"msg": "assert response header Content-Type"
}
]