Skip to content

Instantly share code, notes, and snippets.

@teburd
Created January 21, 2012 23:55
Show Gist options
  • Save teburd/1654566 to your computer and use it in GitHub Desktop.
Save teburd/1654566 to your computer and use it in GitHub Desktop.
Bad Test
----------------------------------------------------
2012-01-21 17:54:38.552
replying with 403 for url <<"/system">>, method 'GET', headers [{'Host',
<<"localhost">>}]
----------------------------------------------------
2012-01-21 17:54:38.553
replying with 200 for url <<"/system">>, method 'GET', headers [{'Host',
<<"localhost">>},
{'Cookie',
<<"session=testsession">>}]
----------------------------------------------------
2012-01-21 17:54:38.556
=PROGRESS REPORT==== 21-Jan-2012::17:54:38 ===
supervisor: {<0.218.0>,corbel_session_sup}
started: [{pid,<0.409.0>},
{name,"session_ekHaO6S4"},
{mfargs,
{corbel_session,start_link,[<<"ekHaO6S4">>,36000]}},
{restart_type,temporary},
{shutdown,2000},
{child_type,worker}]
replying with 403 for url <<"/system/samples">>, method 'GET', headers [{'Host',
<<"localhost">>}]
----------------------------------------------------
2012-01-21 17:54:38.561
replying with 200 for url <<"/system/samples">>, method 'GET', headers [{'Host',
<<"localhost">>},
{'Cookie',
<<"session=testsession">>}]
----------------------------------------------------
2012-01-21 17:54:38.567
replying with 404 for url <<"/system/samples/0">>, method 'GET', headers [{'Host',
<<"localhost">>},
{'Cookie',
<<"session=testsession">>}]
=PROGRESS REPORT==== 21-Jan-2012::17:54:38 ===
supervisor: {<0.218.0>,corbel_session_sup}
started: [{pid,<0.414.0>},
{name,"session_Bso8PQJd"},
{mfargs,
{corbel_session,start_link,[<<"Bso8PQJd">>,36000]}},
{restart_type,temporary},
{shutdown,2000},
{child_type,worker}]
----------------------------------------------------
2012-01-21 17:54:38.568
replying with 403 for url <<"/system/samples">>, method 'POST', headers [{'Host',
<<"localhost">>},
{'Content-Length',
<<"50">>},
{'Content-Type',
<<"application/json">>}]
----------------------------------------------------
2012-01-21 17:54:38.568
request unknown request {http_error,<<"{\"name\":\"Whatever\",\"identifier\":\"None\",\"purity\":5}GET /system/samples/1 HTTP/1.1\r\n">>}
----------------------------------------------------
2012-01-21 17:54:38.569
replying with 400 for url undefined, method 'GET', headers []
- - - - - - - - - - - - - - - - - - - - - - - - - -
rest_SUITE:sample failed on line 167
Reason: {badmatch,{ok,400,
[{"Server","Cowboy"},
{"Date","S...}
- - - - - - - - - - - - - - - - - - - - - - - - - -
Testing development.corbel: *** FAILED *** test case 3 of 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment