hurl/integration/tests/subquery_count.json

1 line
499 B
JSON
Raw Normal View History

{"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}}]}}]}