luatest icon indicating copy to clipboard operation
luatest copied to clipboard

Implement http asserts

Open vanyarock01 opened this issue 4 years ago • 1 comments

I would like to have asserts for checking http responses:

local resp = some_http_method(...)
t.assert_http_status(resp, 200)
t.assert_http_json(resp, {'k' = '*'})

vanyarock01 avatar Dec 06 '21 12:12 vanyarock01

@RunsFor

vanyarock01 avatar Dec 06 '21 19:12 vanyarock01