mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
change v3: add basic validation
This commit is contained in:
@@ -24,7 +24,8 @@ class TestCaseRequestMethodsHardcode(TestCaseRunner):
|
||||
}
|
||||
},
|
||||
"validate": [
|
||||
{"eq": ["status_code", 200]}
|
||||
{"eq": ["status_code", 200]},
|
||||
{"eq": ["headers.Server", "nginx"]}
|
||||
]
|
||||
}),
|
||||
TestStep(**{
|
||||
Reference in New Issue
Block a user