mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-21 18:11:43 +03:00
2 lines
3.6 KiB
JSON
2 lines
3.6 KiB
JSON
{"entries":[{"request":{"method":"GET","url":"http://localhost:8000/predicate/error/type"},"response":{"status":200,"asserts":[{"query":{"type":"jsonpath","expr":"$.status"},"predicate":{"type":"equal","value":"true"}},{"query":{"type":"jsonpath","expr":"$.count"},"predicate":{"type":"equal","value":0}},{"query":{"type":"jsonpath","expr":"$.message"},"predicate":{"type":"equal","value":0}},{"query":{"type":"jsonpath","expr":"$.empty"},"predicate":{"type":"equal","value":0}},{"query":{"type":"jsonpath","expr":"$.number"},"predicate":{"type":"equal","value":1.1}},{"query":{"type":"jsonpath","expr":"$.count"},"predicate":{"type":"start-with","value":"0"}},{"query":{"type":"jsonpath","expr":"$.count"},"predicate":{"type":"end-with","value":"0"}},{"query":{"type":"jsonpath","expr":"$.count"},"predicate":{"type":"match","value":"hi"}},{"query":{"type":"jsonpath","expr":"$.count"},"predicate":{"type":"isEmpty"}},{"query":{"type":"jsonpath","expr":"$.count"},"predicate":{"type":"include","value":"foo"}},{"query":{"type":"jsonpath","expr":"$.message"},"predicate":{"type":"start-with","value":"hi"}},{"query":{"type":"jsonpath","expr":"$.message"},"predicate":{"type":"end-with","value":"hi"}},{"query":{"type":"jsonpath","expr":"$.message"},"predicate":{"type":"contain","value":"hi"}},{"query":{"type":"jsonpath","expr":"$.message"},"predicate":{"type":"match","value":"hi"}},{"query":{"type":"jsonpath","expr":"$.message"},"predicate":{"type":"match","value":"hi{"}},{"query":{"type":"jsonpath","expr":"$.message"},"predicate":{"type":"isEmpty"}},{"query":{"type":"jsonpath","expr":"$.message"},"filters":[{"type":"count"}],"predicate":{"type":"equal","value":1}},{"query":{"type":"jsonpath","expr":"$.toto"},"predicate":{"type":"exist"}},{"query":{"type":"jsonpath","expr":"$.message"},"predicate":{"not":true,"type":"exist"}},{"query":{"type":"jsonpath","expr":"$.list"},"filters":[{"type":"count"}],"predicate":{"type":"equal","value":2}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"equal","value":2}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"greater","value":3}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"greater-or-equal","value":3}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"less","value":1}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"less-or-equal","value":1}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"filters":[{"type":"count"}],"predicate":{"type":"equal","value":1}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"start-with","value":"foo"}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"end-with","value":"foo"}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"contain","value":"foo"}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"include","value":"foo"}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"match","value":"foo","encoding":"regex"}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"isInteger"}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"isFloat"}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"isBoolean"}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"isString"}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"isCollection"}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"isDate"}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"exist"}},{"query":{"type":"jsonpath","expr":"$.not-exist"},"predicate":{"type":"isEmpty"}}]}}]}
|