Skip to content

Instantly share code, notes, and snippets.

@tjcunliffe
Created February 8, 2017 12:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjcunliffe/41d724e48329e41c2207e794694ea561 to your computer and use it in GitHub Desktop.
Save tjcunliffe/41d724e48329e41c2207e794694ea561 to your computer and use it in GitHub Desktop.
{
"data": {
"pairs": [
{
"response": {
"status": 200,
"body": "{\"a\": \"b\"}\n",
"encodedBody": false,
"headers": {
"Access-Control-Allow-Origin": [
"*"
],
"Content-Length": [
"11"
],
"Content-Type": [
"application/json; charset=ISO-8859-1"
],
"Date": [
"Wed, 08 Feb 2017 11:49:01 GMT"
],
"Hoverfly": [
"Was-Here"
],
"Server": [
"Google Frontend"
],
"X-Cloud-Trace-Context": [
"a15d10479394567e4d3c71cb60ceef28"
]
}
},
"request": {
"requestType": "recording",
"path": "/a/b",
"method": "GET",
"destination": "echo.jsontest.com",
"scheme": "http",
"query": "",
"body": "",
"headers": {
"Accept": [
"*/*"
],
"User-Agent": [
"curl/7.50.1"
]
}
}
},
{
"response": {
"status": 200,
"body": "{\"b\": \"c\"}\n",
"encodedBody": false,
"headers": {
"Access-Control-Allow-Origin": [
"*"
],
"Content-Length": [
"11"
],
"Content-Type": [
"application/json; charset=ISO-8859-1"
],
"Date": [
"Wed, 08 Feb 2017 11:49:16 GMT"
],
"Hoverfly": [
"Was-Here"
],
"Server": [
"Google Frontend"
],
"X-Cloud-Trace-Context": [
"884782fcaa34171f2072e1e3215d5264"
]
}
},
"request": {
"requestType": "recording",
"path": "/b/c",
"method": "GET",
"destination": "echo.jsontest.com",
"scheme": "http",
"query": "",
"body": "",
"headers": {
"Accept": [
"*/*"
],
"User-Agent": [
"curl/7.50.1"
]
}
}
},
{
"response": {
"status": 200,
"body": "{\"c\": \"d\"}\n",
"encodedBody": false,
"headers": {
"Access-Control-Allow-Origin": [
"*"
],
"Content-Length": [
"11"
],
"Content-Type": [
"application/json; charset=ISO-8859-1"
],
"Date": [
"Wed, 08 Feb 2017 11:49:23 GMT"
],
"Hoverfly": [
"Was-Here"
],
"Server": [
"Google Frontend"
],
"X-Cloud-Trace-Context": [
"0812d20e08e3bc6339da13b0a66b924f"
]
}
},
"request": {
"requestType": "recording",
"path": "/c/d",
"method": "GET",
"destination": "echo.jsontest.com",
"scheme": "http",
"query": "",
"body": "",
"headers": {
"Accept": [
"*/*"
],
"User-Agent": [
"curl/7.50.1"
]
}
}
},
{
"response": {
"status": 200,
"body": "{\n \"foo\": \"baz\",\n \"bar\": \"spam\"\n}\n",
"encodedBody": false,
"headers": {
"Access-Control-Allow-Origin": [
"*"
],
"Content-Length": [
"38"
],
"Content-Type": [
"application/json; charset=ISO-8859-1"
],
"Date": [
"Wed, 08 Feb 2017 11:52:33 GMT"
],
"Hoverfly": [
"Was-Here"
],
"Server": [
"Google Frontend"
],
"X-Cloud-Trace-Context": [
"b53a189ce2f2923aded8fca759278b5c"
]
}
},
"request": {
"requestType": "recording",
"path": "/foo/baz/bar/spam",
"method": "GET",
"destination": "echo.jsontest.com",
"scheme": "http",
"query": "",
"body": "",
"headers": {
"Accept": [
"*/*"
],
"User-Agent": [
"curl/7.50.1"
]
}
}
}
],
"globalActions": {
"delays": [
{
"urlPattern": "echo\\.jsontest\\.com\\/a\\/b",
"httpMethod": "",
"delay": 2000
},
{
"urlPattern": "echo\\.jsontest\\.com\\/b\\/c",
"httpMethod": "GET",
"delay": 2000
},
{
"urlPattern": "echo\\.jsontest\\.com\\/c\\/d",
"httpMethod": "GET",
"delay": 3000
}
]
}
},
"meta": {
"schemaVersion": "v1",
"hoverflyVersion": "v0.10.0",
"timeExported": "2017-02-08T11:52:42Z"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment