https://www.ontheway.cool/HttpRunner3DocsForCN/concepts/testcase-layer/
官方文档中是演示旧版的示例,有大佬知道的可以告知下不?
config:
name: "request methods testcase: reference testcase"
id: create_user
base_url: "http://127.0.0.1:5000"
variables:
uid: 9001
device_sn: "TESTCASE_CREATE_XXX"
export: session_token
teststeps:
-
name: create user and check result
variables:
foo1: testcase_ref_bar1
expect_foo1: testcase_ref_bar1
testcase: testcases/demo_testcase_request.yml
export:
- session_token
-
name: check_and_create
variables:
token: $session_token
testcase: testcases/deps/check_and_create.yml