ober/labrat — pull request #1 by marcosvm (2014-05-29 21:42:08+00:00)
Title: dumps errors as valid JSON

when status code is != 200
when response has invalid JSON

the output file will be something like:
```json
{
"response" : {
"value" : "FAIL",
"error" : "Timeout connecting to host",
"content" : "503 Bad Gateway"
}
}
```

or a more realistic example
```json
{
"response" : {
"value" : "401 Unauthorized",
"content" : "\r\n

401 Authorization Required

\r\n

\r\n

401 Authorization Required

\r\n

ngx_openresty/1.2.7.6\r\n

\r\n\r\n",
"error" : "not a 200"
}
}
```