增加#430修复代码测试案例

This commit is contained in:
fengyu
2019-11-05 19:08:07 +08:00
parent d5457c040a
commit d513713ecf
3 changed files with 43 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
name: 302 redirect
request:
url: https://httpbin.org/redirect-to
params:
url: https://github.com
status_code: 302
method: GET
verify: False
teardown_hooks:
- ${alter_response_302($response)}
validate:
- eq: ["status_code", 500]
- eq: ["text","abcdef"]