mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-27 03:10:08 +08:00
enhance report: display all 30X redirect request and response
This commit is contained in:
10
tests/httpbin/api/302_redirect.yml
Normal file
10
tests/httpbin/api/302_redirect.yml
Normal file
@@ -0,0 +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
|
||||
method: GET
|
||||
validate:
|
||||
- eq: ["status_code", 200]
|
||||
Reference in New Issue
Block a user