mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-23 09:44:22 +03:00
1 line
6.1 KiB
JSON
1 line
6.1 KiB
JSON
{"entries":[{"request":{"method":"GET","url":"http://localhost:8000/compressed/none"},"response":{"version":"HTTP/1.0","status":200,"headers":[{"name":"Content-Length","value":"12"},{"name":"Content-Type","value":"text/html; charset=utf-8"}],"asserts":[{"query":{"type":"body"},"predicate":{"type":"start-with","value":"Hello"}},{"query":{"type":"bytes"},"predicate":{"type":"start-with","value":"SGVsbG8=","encoding":"base64"}},{"query":{"type":"sha256"},"predicate":{"type":"equal","value":"f4OxZX/x/FO5LcGBSKHWXfwtSx+j1ncoSt3SABJtkGk=","encoding":"base64"}},{"query":{"type":"md5"},"predicate":{"type":"equal","value":"7Qdih1MuhjZehB6Sv8UNjA==","encoding":"base64"}}],"body":{"type":"raw-string","value":"Hello World!"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/none"},"response":{"version":"HTTP/1.0","status":200,"body":{"encoding":"base64","value":"SGVsbG8gV29ybGQh"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/none"},"response":{"version":"HTTP/1.0","status":200,"body":{"encoding":"base64","value":"SGVsbG8gV29ybGQh"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/none"},"response":{"version":"HTTP/1.0","status":200,"body":{"type":"file","filename":"hello.txt"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/gzip"},"response":{"version":"HTTP/1.0","status":200,"headers":[{"name":"Content-Length","value":"32"},{"name":"Content-Encoding","value":"gzip"},{"name":"Content-Type","value":"text/html; charset=utf-8"}],"asserts":[{"query":{"type":"body"},"predicate":{"type":"start-with","value":"Hello"}},{"query":{"type":"bytes"},"predicate":{"type":"start-with","value":"SGVsbG8=","encoding":"base64"}},{"query":{"type":"sha256"},"predicate":{"type":"equal","value":"f4OxZX/x/FO5LcGBSKHWXfwtSx+j1ncoSt3SABJtkGk=","encoding":"base64"}},{"query":{"type":"md5"},"predicate":{"type":"equal","value":"7Qdih1MuhjZehB6Sv8UNjA==","encoding":"base64"}}],"body":{"type":"raw-string","value":"Hello World!"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/gzip"},"response":{"version":"HTTP/1.0","status":200,"body":{"encoding":"base64","value":"SGVsbG8gV29ybGQh"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/gzip"},"response":{"version":"HTTP/1.0","status":200,"body":{"encoding":"base64","value":"SGVsbG8gV29ybGQh"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/gzip"},"response":{"version":"HTTP/1.0","status":200,"body":{"type":"file","filename":"hello.txt"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/zlib"},"response":{"version":"HTTP/1.0","status":200,"headers":[{"name":"Content-Length","value":"20"},{"name":"Content-Encoding","value":"deflate"},{"name":"Content-Type","value":"text/html; charset=utf-8"}],"asserts":[{"query":{"type":"body"},"predicate":{"type":"start-with","value":"Hello"}},{"query":{"type":"bytes"},"predicate":{"type":"start-with","value":"SGVsbG8=","encoding":"base64"}},{"query":{"type":"sha256"},"predicate":{"type":"equal","value":"f4OxZX/x/FO5LcGBSKHWXfwtSx+j1ncoSt3SABJtkGk=","encoding":"base64"}},{"query":{"type":"md5"},"predicate":{"type":"equal","value":"7Qdih1MuhjZehB6Sv8UNjA==","encoding":"base64"}}],"body":{"type":"raw-string","value":"Hello World!"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/zlib"},"response":{"version":"HTTP/1.0","status":200,"body":{"encoding":"base64","value":"SGVsbG8gV29ybGQh"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/zlib"},"response":{"version":"HTTP/1.0","status":200,"body":{"encoding":"base64","value":"SGVsbG8gV29ybGQh"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/zlib"},"response":{"version":"HTTP/1.0","status":200,"body":{"type":"file","filename":"hello.txt"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/brotli"},"response":{"version":"HTTP/1.0","status":200,"headers":[{"name":"Content-Length","value":"17"},{"name":"Content-Encoding","value":"br"},{"name":"Content-Type","value":"text/html; charset=utf-8"}],"asserts":[{"query":{"type":"body"},"predicate":{"type":"start-with","value":"Hello"}},{"query":{"type":"bytes"},"predicate":{"type":"start-with","value":"SGVsbG8=","encoding":"base64"}},{"query":{"type":"sha256"},"predicate":{"type":"equal","value":"f4OxZX/x/FO5LcGBSKHWXfwtSx+j1ncoSt3SABJtkGk=","encoding":"base64"}},{"query":{"type":"md5"},"predicate":{"type":"equal","value":"7Qdih1MuhjZehB6Sv8UNjA==","encoding":"base64"}}],"body":{"type":"raw-string","value":"Hello World!"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/brotli"},"response":{"version":"HTTP/1.0","status":200,"body":{"encoding":"base64","value":"SGVsbG8gV29ybGQh"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/brotli"},"response":{"version":"HTTP/1.0","status":200,"body":{"encoding":"base64","value":"SGVsbG8gV29ybGQh"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/brotli"},"response":{"version":"HTTP/1.0","status":200,"body":{"type":"file","filename":"hello.txt"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/brotli_large"},"response":{"version":"HTTP/1.0","status":200,"headers":[{"name":"Content-Encoding","value":"br"},{"name":"Content-Type","value":"image/jpeg"}],"asserts":[{"query":{"type":"bytes"},"predicate":{"type":"start-with","value":"/9j/4A==","encoding":"base64"}}],"body":{"type":"file","filename":"cat.jpg"}}},{"request":{"method":"GET","url":"http://localhost:8000/compressed/brotli_identity"},"response":{"version":"HTTP/1.0","status":200,"headers":[{"name":"Content-Length","value":"17"},{"name":"Content-Encoding","value":"br, identity"},{"name":"Content-Type","value":"text/html; charset=utf-8"}],"asserts":[{"query":{"type":"body"},"predicate":{"type":"start-with","value":"Hello"}},{"query":{"type":"bytes"},"predicate":{"type":"start-with","value":"SGVsbG8=","encoding":"base64"}},{"query":{"type":"sha256"},"predicate":{"type":"equal","value":"f4OxZX/x/FO5LcGBSKHWXfwtSx+j1ncoSt3SABJtkGk=","encoding":"base64"}},{"query":{"type":"md5"},"predicate":{"type":"equal","value":"7Qdih1MuhjZehB6Sv8UNjA==","encoding":"base64"}}],"body":{"type":"raw-string","value":"Hello World!"}}}]} |