Skip to content

Instantly share code, notes, and snippets.

/playbackMe.json

Created Dec 16, 2016
Embed
What would you like to do?
Example of Flashback scene
{
"NAME" : "playbackMe",
"HTTPEXCHANGELIST" : {
"HTTPEXCHANGE1" : {
"UPDATETIME" : "28 Jul 2016 19:22:16 GMT",
"HTTPREQUEST" : {
"HTTPMETHOD" : "GET",
"HTTPURI" : "http://www.example.org/",
"HTTPHEADERS" : {
"Host" : "www.example.org",
"Proxy-Connection" : "Keep-Alive",
"User-Agent" : "Apache-HttpClient/4.3.1 (java 1.5)",
"Accept-Encoding" : "gzip,deflate"
},
"BINARYHTTPBODY" : ""
},
"HTTPRESPONSE" : {
"HTTPSTATUSCODE" : 200,
"HTTPHEADERS" : {
"X-Cache" : "HIT",
"Server" : "ECS (ewr/15BD)",
"Last-Modified" : "Fri, 09 Aug 2013 23:54:35 GMT",
"Date" : "Thu, 28 Jul 2016 19:22:16 GMT",
"Accept-Ranges" : "bytes",
"Cache-Control" : "max-age=604800",
"Etag" : "\"359670651\"",
"x-ec-custom-error" : "1",
"Content-Encoding" : "gzip",
"Vary" : "Accept-Encoding",
"Expires" : "Thu, 04 Aug 2016 19:22:16 GMT",
"Content-Length" : "606",
"Content-Type" : "text/html"
},
"ENCODEDHTTPBODY" : {
"HTTPBODYENCODING" : "gzip",
"STRINGHTTPBODY" : "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title>\n\n <meta charset=\"utf-8\" />\n <meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <style type=\"text/css\">\n body {\n background-color: #f0f0f2;\n margin: 0;\n padding: 0;\n font-family: \"Open Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n \n }\n div {\n width: 600px;\n margin: 5em auto;\n padding: 50px;\n background-color: #fff;\n border-radius: 1em;\n }\n a:link, a:visited {\n color: #38488f;\n text-decoration: none;\n }\n @media (max-width: 700px) {\n body {\n background-color: #fff;\n }\n div {\n width: auto;\n margin: 0 auto;\n border-radius: 0;\n padding: 1em;\n }\n }\n </style> \n</head>\n\n<body>\n<div>\n <h1>Example Domain</h1>\n <p>This domain is established to be used for illustrative examples in documents. You may use this\n domain in examples without prior coordination or asking for permission.</p>\n <p><a href=\"http://www.iana.org/domains/example\">More information...</a></p>\n</div>\n</body>\n</html>\n"
}
}
},
"HTTPEXCHANGE2" : {
"UPDATETIME" : "28 Jul 2016 19:22:17 GMT",
"HTTPREQUEST" : {
"HTTPMETHOD" : "GET",
"HTTPURI" : "https://www.example.org/",
"HTTPHEADERS" : {
"Host" : "www.example.org",
"Proxy-Connection" : "Keep-Alive",
"Connection" : "Keep-Alive",
"User-Agent" : "Apache-HttpClient/4.3.1 (java 1.5)",
"Accept-Encoding" : "gzip,deflate"
},
"BINARYHTTPBODY" : ""
},
"HTTPRESPONSE" : {
"HTTPSTATUSCODE" : 200,
"HTTPHEADERS" : {
"X-Cache" : "HIT",
"Server" : "ECS (ewr/1445)",
"Last-Modified" : "Fri, 09 Aug 2013 23:54:35 GMT",
"Date" : "Thu, 28 Jul 2016 19:22:17 GMT",
"Accept-Ranges" : "bytes",
"Cache-Control" : "max-age=604800",
"Etag" : "\"359670651+gzip\"",
"x-ec-custom-error" : "1",
"Content-Encoding" : "gzip",
"Vary" : "Accept-Encoding",
"Expires" : "Thu, 04 Aug 2016 19:22:17 GMT",
"Content-Length" : "606",
"Content-Type" : "text/html"
},
"ENCODEDHTTPBODY" : {
"HTTPBODYENCODING" : "gzip",
"STRINGHTTPBODY" : "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title>\n\n <meta charset=\"utf-8\" />\n <meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <style type=\"text/css\">\n body {\n background-color: #f0f0f2;\n margin: 0;\n padding: 0;\n font-family: \"Open Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n \n }\n div {\n width: 600px;\n margin: 5em auto;\n padding: 50px;\n background-color: #fff;\n border-radius: 1em;\n }\n a:link, a:visited {\n color: #38488f;\n text-decoration: none;\n }\n @media (max-width: 700px) {\n body {\n background-color: #fff;\n }\n div {\n width: auto;\n margin: 0 auto;\n border-radius: 0;\n padding: 1em;\n }\n }\n </style> \n</head>\n\n<body>\n<div>\n <h1>Example Domain</h1>\n <p>This domain is established to be used for illustrative examples in documents. You may use this\n domain in examples without prior coordination or asking for permission.</p>\n <p><a href=\"http://www.iana.org/domains/example\">More information...</a></p>\n</div>\n</body>\n</html>\n"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment