Fix forbidden status codes and implicit header

This commit is contained in:
Alexey Glikin 2020-04-04 20:20:32 +03:00 committed by Arseny Balobanov
parent 4d02d2e8ed
commit 55747dc151

View file

@ -175,6 +175,7 @@ rules:
required_headers:
- "Content-Type"
- "Content-Length"
- "NoOneUsesThisHeader"
`,
service: echoService,
makeRequest: func() *resty.Request {
@ -213,7 +214,7 @@ rules:
conf: `
rules:
- endpoint: "/"
forbidden_response_codes: [20]
forbidden_response_codes: [200]
`,
service: echoService,
makeRequest: func() *resty.Request {
@ -226,7 +227,7 @@ rules:
conf: `
rules:
- endpoint: "/"
forbidden_response_codes: [20]
forbidden_response_codes: [200]
`,
service: echoService,
makeRequest: func() *resty.Request {