mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-03 06:49:38 +08:00
add unittest for request with params
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
|
||||
name: 302 redirect
|
||||
request:
|
||||
url: https://httpbin.org/redirect-to?url=https%3A%2F%2Fdebugtalk.com&status_code=302
|
||||
# params:
|
||||
# url: https%3A%2F%2Fdebugtalk.com
|
||||
# status_code: 302
|
||||
url: https://httpbin.org/redirect-to
|
||||
params:
|
||||
url: https://debugtalk.com
|
||||
status_code: 302
|
||||
method: GET
|
||||
validate:
|
||||
- eq: ["status_code", 200]
|
||||
|
||||
Reference in New Issue
Block a user