fix: modify logging logic of summary.

This commit is contained in:
xucong053
2022-02-14 16:41:18 +08:00
parent a3c60da51b
commit e87b1023ba
14 changed files with 151 additions and 87 deletions

View File

@@ -25,7 +25,6 @@ func TestCaseValidateStep(t *testing.T) {
WithJmesPath("body.args.foo1", "varFoo1").
Validate().
AssertEqual("status_code", "$expectedStatusCode", "check status code"). // assert status code
AssertEqual("headers.Connection", "keep-alive", "check header Connection"). // assert response header
AssertEqual("headers.\"Content-Type\"", "application/json; charset=utf-8", "check header Content-Type"). // assert response header, with double quotes
AssertEqual("body.args.foo1", "bar1", "check args foo1"). // assert response json body with jmespath
AssertEqual("body.args.foo2", "bar2", "check args foo2").