change v3: add basic extract

This commit is contained in:
debugtalk
2020-04-19 18:19:01 +08:00
parent 569e06e21f
commit 7f6f4c7df3
5 changed files with 66 additions and 49 deletions

View File

@@ -23,6 +23,9 @@ class TestCaseRequestMethodsHardcode(TestCaseRunner):
"User-Agent": "HttpRunner/3.0"
}
},
"extract": {
"server": "headers.Server"
},
"validate": [
{"eq": ["status_code", 200]},
{"eq": ["headers.Server", "nginx"]}