hurl/integration/tests/subquery_count.json
Fabrice Reix 609868c858 Add subquery count
predicate countEquals becomes deprecated and is replaced by count ==
2021-06-27 09:20:03 +02:00

1 line
499 B
JSON

{"entries":[{"request":{"method":"GET","url":"http://localhost:8000/subquery-count"},"response":{"version":"HTTP/1.0","status":200,"asserts":[{"query":{"type":"jsonpath","expr":"$.users","subquery":{"type":"count"}},"predicate":{"type":"equal","value":3}},{"query":{"type":"jsonpath","expr":"$.users","subquery":{"type":"count"}},"predicate":{"type":"greater","value":1}},{"query":{"type":"jsonpath","expr":"$.users","subquery":{"type":"count"}},"predicate":{"type":"less-or-equal","value":10}}]}}]}