change: make API more concise

This commit is contained in:
debugtalk
2021-12-07 21:16:32 +08:00
parent 1a36547ff0
commit bd3aae18f6
15 changed files with 154 additions and 137 deletions

View File

@@ -89,6 +89,7 @@
{
"check": "body.json",
"assert": "equals",
"expect": null,
"msg": "assert response body json"
},
{
@@ -190,6 +191,7 @@
{
"check": "body.json",
"assert": "equals",
"expect": null,
"msg": "assert response body json"
},
{
@@ -243,6 +245,7 @@
{
"check": "body.json",
"assert": "equals",
"expect": null,
"msg": "assert response body json"
},
{
@@ -296,6 +299,7 @@
{
"check": "body.json",
"assert": "equals",
"expect": null,
"msg": "assert response body json"
},
{

View File

@@ -63,6 +63,7 @@ teststeps:
msg: assert response body data
- check: body.json
assert: equals
expect: null
msg: assert response body json
- check: body.url
assert: equals
@@ -134,6 +135,7 @@ teststeps:
msg: assert response body data
- check: body.json
assert: equals
expect: null
msg: assert response body json
- check: body.url
assert: equals
@@ -171,6 +173,7 @@ teststeps:
msg: assert response body data
- check: body.json
assert: equals
expect: null
msg: assert response body json
- check: body.url
assert: equals
@@ -208,6 +211,7 @@ teststeps:
msg: assert response body data
- check: body.json
assert: equals
expect: null
msg: assert response body json
- check: body.url
assert: equals