change v3: add basic validation

This commit is contained in:
debugtalk
2020-04-19 17:37:23 +08:00
parent 92d71c29cf
commit 569e06e21f
7 changed files with 200 additions and 8 deletions

View File

@@ -24,7 +24,8 @@ class TestCaseRequestMethodsHardcode(TestCaseRunner):
}
},
"validate": [
{"eq": ["status_code", 200]}
{"eq": ["status_code", 200]},
{"eq": ["headers.Server", "nginx"]}
]
}),
TestStep(**{