update templates/testcases

This commit is contained in:
xucong053
2022-05-27 11:36:32 +08:00
parent 434decaa78
commit dc091f5505
18 changed files with 51 additions and 171 deletions
@@ -28,15 +28,6 @@ teststeps:
Content-Type: "application/x-www-form-urlencoded"
body: "foo1=$foo1&foo2=$foo3"
validate:
- check: status_code
assert: equal
expect: 200
msg: check status_code
- check: body.form.foo1
assert: equal
expect: bar1
msg: check body.form.foo1
- check: body.form.foo2
assert: equal
expect: bar21
msg: check body.form.foo2
- eq: ["status_code", 200]
- eq: ["body.form.foo1", "bar1"]
- eq: ["body.form.foo2", "bar21"]