feat: create empty project by using hrp startproject #1280

This commit is contained in:
xucong053
2022-05-23 21:50:45 +08:00
parent 9f9ab86b8f
commit 692704c4a4
17 changed files with 377 additions and 206 deletions

View File

@@ -28,6 +28,15 @@ teststeps:
Content-Type: "application/x-www-form-urlencoded"
data: "foo1=$foo1&foo2=$foo3"
validate:
- eq: ["status_code", 200]
- eq: ["body.form.foo1", "bar1"]
- eq: ["body.form.foo2", "bar21"]
- 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