hurl/integration/tests_failed/assert_status.hurl

16 lines
400 B
Plaintext
Raw Normal View History

# We add various explicit asserts on the body, and
# implicit asserts on the response headers.
# As the status code is not correct, those asserts
# should not be tested (the status code is a "stronger"
# assert than the others).
2020-08-27 10:07:46 +03:00
GET http://localhost:8000/not_found
HTTP 200
x-baz: xxx
[Asserts]
duration < 0
jsonpath "$.foo" startsWith "something"
jsonpath "$.bar" not exists
header "x-bar" exists