hurl/integration/tests_ok/predicates_number.json
2023-09-16 09:28:26 +02:00

2 lines
1.6 KiB
JSON

{"entries":[{"request":{"method":"GET","url":"http://localhost:8000/predicates-number"},"response":{"status":200,"asserts":[{"query":{"type":"jsonpath","expr":"$.integer"},"predicate":{"type":"exist"}},{"query":{"type":"jsonpath","expr":"$.integer"},"predicate":{"type":"isInteger"}},{"query":{"type":"jsonpath","expr":"$.integer"},"predicate":{"not":true,"type":"isFloat"}},{"query":{"type":"jsonpath","expr":"$.integer"},"predicate":{"type":"equal","value":1}},{"query":{"type":"jsonpath","expr":"$.integer"},"predicate":{"type":"less-or-equal","value":2}},{"query":{"type":"jsonpath","expr":"$.integer"},"predicate":{"type":"greater","value":0}},{"query":{"type":"jsonpath","expr":"$.integer"},"predicate":{"type":"greater","value":0.0}},{"query":{"type":"jsonpath","expr":"$.integer"},"predicate":{"type":"not-equal","value":null}},{"query":{"type":"jsonpath","expr":"$.float"},"predicate":{"type":"exist"}},{"query":{"type":"jsonpath","expr":"$.float"},"predicate":{"type":"isFloat"}},{"query":{"type":"jsonpath","expr":"$.float"},"predicate":{"not":true,"type":"isInteger"}},{"query":{"type":"jsonpath","expr":"$.float"},"predicate":{"type":"equal","value":1.0}},{"query":{"type":"jsonpath","expr":"$.float"},"predicate":{"type":"less-or-equal","value":2.0}},{"query":{"type":"jsonpath","expr":"$.float"},"predicate":{"type":"greater","value":0.0}},{"query":{"type":"jsonpath","expr":"$.float"},"predicate":{"type":"greater","value":0}},{"query":{"type":"jsonpath","expr":"$.float"},"predicate":{"type":"not-equal","value":null}}],"body":{"type":"json","value":{"integer":1,"float":1.0}}}}]}