hurl/integration/tests_failed/error_format_long.json

2 lines
1.1 KiB
JSON
Raw Normal View History

{"entries":[{"request":{"method":"GET","url":"http://localhost:8000/error-format-long/html"},"response":{"status":200,"headers":[{"name":"Content-Type","value":"text/html"}],"asserts":[{"query":{"type":"xpath","expr":"string(//head/title)"},"predicate":{"type":"equal","value":"Welcome!"}},{"query":{"type":"xpath","expr":"//foo"},"predicate":{"type":"isEmpty"}},{"query":{"type":"xpath","expr":"//title"},"filters":[{"type":"count"}],"predicate":{"type":"equal","value":2}}]}},{"request":{"method":"GET","url":"http://localhost:8000/error-format-long/json"},"response":{"status":200,"headers":[{"name":"Content-Type","value":"application/json"}],"asserts":[{"query":{"type":"jsonpath","expr":"$.books"},"filters":[{"type":"count"}],"predicate":{"type":"equal","value":12}}]}},{"request":{"method":"GET","url":"http://localhost:8000/error-format-long/rfc-7807"},"response":{"status":200,"headers":[{"name":"Content-Type","value":"application/problem+json"}],"asserts":[{"query":{"type":"jsonpath","expr":"$.title"},"predicate":{"type":"equal","value":"You have enough credit."}}]}}]}