hurl/integration/tests_failed/predicate.hurl

18 lines
507 B
Plaintext
Raw Normal View History

2020-08-27 10:07:46 +03:00
GET http://localhost:8000/predicate/error/type
2022-11-11 16:25:00 +03:00
HTTP 200
2020-08-27 10:07:46 +03:00
[Asserts]
jsonpath "$.status" equals "true"
#jsonpath "$.count" equals "0"
jsonpath "$.count" equals 0
jsonpath "$.message" equals 0
jsonpath "$.empty" equals 0
jsonpath "$.number" equals 1.1
jsonpath "$.message" startsWith "hi"
2021-07-16 09:13:23 +03:00
jsonpath "$.message" endsWith "hi"
2020-08-27 10:07:46 +03:00
jsonpath "$.message" contains "hi"
jsonpath "$.message" matches "hi"
jsonpath "$.message" count == 1
2020-08-27 10:07:46 +03:00
jsonpath "$.toto" exists
jsonpath "$.message" not exists
jsonpath "$.list" count == 2