change v3: add basic extract

This commit is contained in:
debugtalk
2020-04-19 18:19:01 +08:00
parent a0b1ebd647
commit c31bb39d9a
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"]}