mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-17 13:07:36 +08:00
fix: Connection and Content-Type not found in postman-echo headers
Change-Id: Ieae673e12c7baabe231d7f3509bba18624d80431
This commit is contained in:
@@ -12,8 +12,6 @@ var (
|
||||
WithCookies(map[string]string{"user": "debugtalk"}).
|
||||
Validate().
|
||||
AssertEqual("status_code", 200, "check status code").
|
||||
AssertEqual("headers.Connection", "keep-alive", "check header Connection").
|
||||
AssertEqual("headers.\"Content-Type\"", "application/json; charset=utf-8", "check header Content-Type").
|
||||
AssertEqual("body.args.foo1", "bar1", "check param foo1").
|
||||
AssertEqual("body.args.foo2", "bar2", "check param foo2")
|
||||
stepPOSTData = NewStep("post form data").
|
||||
|
||||
Reference in New Issue
Block a user