mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-19 17:01:36 +03:00
609868c858
predicate countEquals becomes deprecated and is replaced by count ==
16 lines
475 B
Plaintext
16 lines
475 B
Plaintext
GET http://localhost:8000/predicate/error/type
|
|
HTTP/1.0 200
|
|
[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"
|
|
jsonpath "$.message" contains "hi"
|
|
jsonpath "$.message" matches "hi"
|
|
jsonpath "$.message" count == 1
|
|
jsonpath "$.toto" exists
|
|
jsonpath "$.message" not exists
|
|
jsonpath "$.list" count == 2 |