mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-07 23:41:22 +08:00
feat: create empty project by using hrp startproject #1280
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user