(This page was automatically generated by the tools in the opsboy project on 16:17:15 09-Jan-2016 GMT.)

Detailed Test Report for ngx_postgres in linux x86_64 (w)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
7950a250 2015-11-24 15:00:26 GMT 0 438 14 650 39 sec

LuaJIT

LuaJIT 2.1.0-beta1, commit f4db99d

Compilation Errors

Unexpected Failures

(none)

Expected Failures

File Name Details
000_init.t TEST 1: cats - drop table - status code ok got: '502'
expected: '200'
000_init.t TEST 1: cats - drop table - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:57:46 [error] 21355\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
000_init.t TEST 2: cats - create table - status code ok got: '502'
expected: '200'
000_init.t TEST 2: cats - create table - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:57:46 [error] 21367\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
000_init.t TEST 3: cats - insert value - status code ok got: '502'
expected: '200'
000_init.t TEST 3: cats - insert value - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:57:46 [error] 21379\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
000_init.t TEST 4: cats - insert value - status code ok got: '502'
expected: '200'
000_init.t TEST 4: cats - insert value - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:57:46 [error] 21391\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
000_init.t TEST 5: numbers - drop table - status code ok got: '502'
expected: '200'
000_init.t TEST 5: numbers - drop table - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:57:47 [error] 21403\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
000_init.t TEST 6: numbers - create table - status code ok got: '502'
expected: '200'
000_init.t TEST 6: numbers - create table - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:57:47 [error] 21415\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
000_init.t TEST 7: users - drop table - status code ok got: '502'
expected: '200'
000_init.t TEST 7: users - drop table - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:57:47 [error] 21427\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
000_init.t TEST 8: users - create table - status code ok got: '502'
expected: '200'
000_init.t TEST 8: users - create table - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:57:47 [error] 21439\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
000_init.t TEST 9: users - insert value - status code ok got: '502'
expected: '200'
000_init.t TEST 9: users - insert value - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:57:47 [error] 21451\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
auth.t TEST 2: unauthorized (auth basic) - status code ok got: '500'
expected: '403'
auth.t TEST 3: unauthorized (no authorization header) - status code ok got: '500'
expected: '403'
auth.t TEST 1: authorized (auth basic) - status code ok got: '500'
expected: '200'
auth.t TEST 1: authorized (auth basic) - header Content-Type ok got: 'text/html'
expected: 'text/plain'
auth.t TEST 1: authorized (auth basic) - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "hi, ngx_test!"
length: 13
strings begin to differ at char 1 (line 1 column 1)
auth.t TEST 1: authorized (auth basic) - status code ok got: '500'
expected: '200'
auth.t TEST 1: authorized (auth basic) - header Content-Type ok got: 'text/html'
expected: 'text/plain'
auth.t TEST 1: authorized (auth basic) - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "hi, ngx_test!"
length: 13
strings begin to differ at char 1 (line 1 column 1)
bigpipe.t TEST 2: asynchronous (without echo filter) - response_body - response is expected (req 0) got: ..."ader.load(<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 528
expected: ..."ader.load([{"id":2,"name":null},{"id":3,"name":"bo"...
length: 252
strings begin to differ at char 92 (line 2 column 44)
bigpipe.t TEST 2: asynchronous (without echo filter) - response_body - response is expected (req 1) got: ..."ader.load(<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 528
expected: ..."ader.load([{"id":2,"name":null},{"id":3,"name":"bo"...
length: 252
strings begin to differ at char 92 (line 2 column 44)
bigpipe.t TEST 3: asynchronous (with echo filter) - response_body - response is expected (req 0) got: ..."der.load( <html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 529
expected: ..."der.load( [{"id":2,"name":null},{"id":3,"name":"bo"...
length: 253
strings begin to differ at char 93 (line 2 column 45)
bigpipe.t TEST 3: asynchronous (with echo filter) - response_body - response is expected (req 1) got: ..."der.load( <html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 529
expected: ..."der.load( [{"id":2,"name":null},{"id":3,"name":"bo"...
length: 253
strings begin to differ at char 93 (line 2 column 45)
bigpipe.t TEST 1: synchronous - response_body - response is expected (req 0) got: ..."ader.load(<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 528
expected: ..."ader.load([{"id":2,"name":null},{"id":3,"name":"bo"...
length: 252
strings begin to differ at char 92 (line 2 column 44)
bigpipe.t TEST 1: synchronous - response_body - response is expected (req 1) got: ..."ader.load(<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 528
expected: ..."ader.load([{"id":2,"name":null},{"id":3,"name":"bo"...
length: 252
strings begin to differ at char 92 (line 2 column 44)
errors.t TEST 1: bad query - status code ok got: '502'
expected: '500'
errors.t TEST 8: non-existing table - status code ok got: '502'
expected: '500'
errors.t TEST 4: multiple queries - status code ok got: '502'
expected: '500'
eval.t TEST 1: sanity - status code ok got: '500'
expected: '200'
eval.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'text/plain'
eval.t TEST 1: sanity - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "it works!"
length: 9
strings begin to differ at char 1 (line 1 column 1)
eval.t TEST 1: sanity - status code ok got: '500'
expected: '200'
eval.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'text/plain'
eval.t TEST 1: sanity - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "it works!"
length: 9
strings begin to differ at char 1 (line 1 column 1)
eval.t TEST 2: sanity (simple case) - response_body - response is expected (req 0) got: ""
length: 0
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
eval.t TEST 2: sanity (simple case) - response_body - response is expected (req 1) got: ""
length: 0
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
form.t TEST 1: sanity - status code ok got: '502'
expected: '200'
form.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
form.t TEST 1: sanity - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
form.t TEST 1: sanity - status code ok got: '502'
expected: '200'
form.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
form.t TEST 1: sanity - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 1: default query - status code ok got: '502'
expected: '200'
methods.t TEST 1: default query - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 1: default query - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 1: default query - status code ok got: '502'
expected: '200'
methods.t TEST 1: default query - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 1: default query - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 4: method-specific complex query (check 2) - status code ok got: '502'
expected: '200'
methods.t TEST 4: method-specific complex query (check 2) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 4: method-specific complex query (check 2) - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{04}\x{00}\x{00}\x{00}LOCK\x{00}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 4: method-specific complex query (check 2) - status code ok got: '502'
expected: '200'
methods.t TEST 4: method-specific complex query (check 2) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 4: method-specific complex query (check 2) - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{04}\x{00}\x{00}\x{00}LOCK\x{00}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 7: method-specific query and default query (using other method) - status code ok got: '502'
expected: '200'
methods.t TEST 7: method-specific query and default query (using other method) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 7: method-specific query and default query (using other method) - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 7: method-specific query and default query (using other method) - status code ok got: '502'
expected: '200'
methods.t TEST 7: method-specific query and default query (using other method) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 7: method-specific query and default query (using other method) - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 10: HTTP PATCH request method - status code ok got: '502'
expected: '200'
methods.t TEST 10: HTTP PATCH request method - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 10: HTTP PATCH request method - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{05}\x{00}\x{00}\x{00}PATCH"...
length: 51
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 10: HTTP PATCH request method - status code ok got: '502'
expected: '200'
methods.t TEST 10: HTTP PATCH request method - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 10: HTTP PATCH request method - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{05}\x{00}\x{00}\x{00}PATCH"...
length: 51
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 2: method-specific query - status code ok got: '502'
expected: '200'
methods.t TEST 2: method-specific query - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 2: method-specific query - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 2: method-specific query - status code ok got: '502'
expected: '200'
methods.t TEST 2: method-specific query - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 2: method-specific query - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 8: inheritance - status code ok got: '502'
expected: '200'
methods.t TEST 8: inheritance - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 8: inheritance - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 8: inheritance - status code ok got: '502'
expected: '200'
methods.t TEST 8: inheritance - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 8: inheritance - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 6: method-specific query and default query (using defined method) - status code ok got: '502'
expected: '200'
methods.t TEST 6: method-specific query and default query (using defined method) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 6: method-specific query and default query (using defined method) - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 6: method-specific query and default query (using defined method) - status code ok got: '502'
expected: '200'
methods.t TEST 6: method-specific query and default query (using defined method) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 6: method-specific query and default query (using defined method) - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 3: method-specific complex query (check 1) - status code ok got: '502'
expected: '200'
methods.t TEST 3: method-specific complex query (check 1) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 3: method-specific complex query (check 1) - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 3: method-specific complex query (check 1) - status code ok got: '502'
expected: '200'
methods.t TEST 3: method-specific complex query (check 1) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 3: method-specific complex query (check 1) - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 18: value - empty result - status code ok got: '502'
expected: '500'
output.t TEST 14: binary value - int2 returned in binary format - status code ok got: '502'
expected: '200'
output.t TEST 14: binary value - int2 returned in binary format - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 14: binary value - int2 returned in binary format - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}"
length: 2
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 14: binary value - int2 returned in binary format - status code ok got: '502'
expected: '200'
output.t TEST 14: binary value - int2 returned in binary format - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 14: binary value - int2 returned in binary format - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}"
length: 2
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 2: value - sanity - status code ok got: '502'
expected: '200'
output.t TEST 2: value - sanity - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 2: value - sanity - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 2: value - sanity - status code ok got: '502'
expected: '200'
output.t TEST 2: value - sanity - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 2: value - sanity - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 7: rds - sanity (configured) - status code ok got: '502'
expected: '200'
output.t TEST 7: rds - sanity (configured) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
output.t TEST 7: rds - sanity (configured) - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 7: rds - sanity (configured) - status code ok got: '502'
expected: '200'
output.t TEST 7: rds - sanity (configured) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
output.t TEST 7: rds - sanity (configured) - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 6: text - sanity - status code ok got: '502'
expected: '200'
output.t TEST 6: text - sanity - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 6: text - sanity - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "a\x{0a}b\x{0a}c\x{0a}d"
length: 7
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 6: text - sanity - status code ok got: '502'
expected: '200'
output.t TEST 6: text - sanity - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 6: text - sanity - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "a\x{0a}b\x{0a}c\x{0a}d"
length: 7
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 10: inheritance (mixed, don't inherit) - status code ok got: '502'
expected: '200'
output.t TEST 10: inheritance (mixed, don't inherit) - header Content-Type not present in the raw headers 'HTTP/1.1 502 Bad Gateway
Server: nginx/1.9.7 (no pool)
Date: Tue, 24 Nov 2015 16:58:03 GMT
Content-Type: text/html
Content-Length: 182
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
output.t TEST 10: inheritance (mixed, don't inherit) - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 10: inheritance (mixed, don't inherit) - status code ok got: '502'
expected: '200'
output.t TEST 10: inheritance (mixed, don't inherit) - header Content-Type not present in the raw headers 'HTTP/1.1 502 Bad Gateway
Server: nginx/1.9.7 (no pool)
Date: Tue, 24 Nov 2015 16:58:03 GMT
Content-Type: text/html
Content-Length: 182
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
output.t TEST 10: inheritance (mixed, don't inherit) - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 4: value - NULL value - status code ok got: '502'
expected: '500'
output.t TEST 3: value - sanity (with different default_type) - status code ok got: '502'
expected: '200'
output.t TEST 3: value - sanity (with different default_type) - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 3: value - sanity (with different default_type) - status code ok got: '502'
expected: '200'
output.t TEST 3: value - sanity (with different default_type) - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 1: none - sanity - status code ok got: '502'
expected: '200'
output.t TEST 1: none - sanity - header Content-Type not present in the raw headers 'HTTP/1.1 502 Bad Gateway
Server: nginx/1.9.7 (no pool)
Date: Tue, 24 Nov 2015 16:58:04 GMT
Content-Type: text/html
Content-Length: 182
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
output.t TEST 1: none - sanity - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 1: none - sanity - status code ok got: '502'
expected: '200'
output.t TEST 1: none - sanity - header Content-Type not present in the raw headers 'HTTP/1.1 502 Bad Gateway
Server: nginx/1.9.7 (no pool)
Date: Tue, 24 Nov 2015 16:58:04 GMT
Content-Type: text/html
Content-Length: 182
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
output.t TEST 1: none - sanity - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 11: value - sanity (request with known extension) - status code ok got: '502'
expected: '200'
output.t TEST 11: value - sanity (request with known extension) - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 11: value - sanity (request with known extension) - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 11: value - sanity (request with known extension) - status code ok got: '502'
expected: '200'
output.t TEST 11: value - sanity (request with known extension) - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 11: value - sanity (request with known extension) - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 19: value - too many values - status code ok got: '502'
expected: '500'
output.t TEST 5: value - empty value - status code ok got: '502'
expected: '500'
output.t TEST 13: binary value - bytea returned in binary format - status code ok got: '502'
expected: '200'
output.t TEST 13: binary value - bytea returned in binary format - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 13: binary value - bytea returned in binary format - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{01}"
length: 1
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 13: binary value - bytea returned in binary format - status code ok got: '502'
expected: '200'
output.t TEST 13: binary value - bytea returned in binary format - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 13: binary value - bytea returned in binary format - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{01}"
length: 1
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 16: text - NULL value - status code ok got: '502'
expected: '200'
output.t TEST 16: text - NULL value - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 16: text - NULL value - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "2\x{0a}(null)\x{0a}3\x{0a}bob"
length: 14
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 16: text - NULL value - status code ok got: '502'
expected: '200'
output.t TEST 16: text - NULL value - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 16: text - NULL value - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "2\x{0a}(null)\x{0a}3\x{0a}bob"
length: 14
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 17: text - empty result - status code ok got: '502'
expected: '200'
output.t TEST 17: text - empty result - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 17: text - empty result - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 17: text - empty result - status code ok got: '502'
expected: '200'
output.t TEST 17: text - empty result - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 17: text - empty result - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 15: value - "if" pseudo-location - status code ok got: '502'
expected: '200'
output.t TEST 15: value - "if" pseudo-location - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 15: value - "if" pseudo-location - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "2"
length: 1
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 15: value - "if" pseudo-location - status code ok got: '502'
expected: '200'
output.t TEST 15: value - "if" pseudo-location - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 15: value - "if" pseudo-location - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "2"
length: 1
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 12: value - bytea returned in text format - status code ok got: '502'
expected: '200'
output.t TEST 12: value - bytea returned in text format - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 12: value - bytea returned in text format - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body bgcolor="white"> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.9.7 (no pool)</center> </body> </html>) '<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.9.7 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^(?:\\001|\\x01)$)'
output.t TEST 12: value - bytea returned in text format - status code ok got: '502'
expected: '200'
output.t TEST 12: value - bytea returned in text format - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 12: value - bytea returned in text format - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body bgcolor="white"> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.9.7 (no pool)</center> </body> </html>) '<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.9.7 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^(?:\\001|\\x01)$)'
output.t TEST 9: inheritance - status code ok got: '502'
expected: '200'
output.t TEST 9: inheritance - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 9: inheritance - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 9: inheritance - status code ok got: '502'
expected: '200'
output.t TEST 9: inheritance - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 9: inheritance - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 8: rds - sanity (default) - status code ok got: '502'
expected: '200'
output.t TEST 8: rds - sanity (default) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
output.t TEST 8: rds - sanity (default) - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 8: rds - sanity (default) - status code ok got: '502'
expected: '200'
output.t TEST 8: rds - sanity (default) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
output.t TEST 8: rds - sanity (default) - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 1: clean collection - status code ok got: '500'
expected: '204'
restful.t TEST 1: clean collection - header Content-Type not present in the raw headers 'HTTP/1.1 500 Internal Server Error
Server: nginx/1.9.7 (no pool)
Date: Tue, 24 Nov 2015 16:58:07 GMT
Content-Type: text/html
Content-Length: 202
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
restful.t TEST 1: clean collection - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 2: list empty collection - status code ok got: '500'
expected: '200'
restful.t TEST 2: list empty collection - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
restful.t TEST 2: list empty collection - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{09}\x{00}\x{17}\x{00}\x{06}\x{00}number\x{00}"
length: 43
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 3: insert resource into collection - status code ok got: '500'
expected: '201'
restful.t TEST 3: insert resource into collection - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
restful.t TEST 3: insert resource into collection - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{09}\x{00}\x{17}\x{00}\x{06}\x{00}number\x{01}\x{03}\x{00}\x{00}\x{00}123"...
length: 51
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 4: list collection - status code ok got: '500'
expected: '200'
restful.t TEST 4: list collection - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
restful.t TEST 4: list collection - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{09}\x{00}\x{17}\x{00}\x{06}\x{00}number\x{01}\x{03}\x{00}\x{00}\x{00}123"...
length: 51
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 5: get resource - status code ok got: '500'
expected: '200'
restful.t TEST 5: get resource - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
restful.t TEST 5: get resource - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{09}\x{00}\x{17}\x{00}\x{06}\x{00}number\x{01}\x{03}\x{00}\x{00}\x{00}123"...
length: 51
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 6: update resource - status code ok got: '500'
expected: '200'
restful.t TEST 6: update resource - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
restful.t TEST 6: update resource - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{09}\x{00}\x{17}\x{00}\x{06}\x{00}number\x{01}\x{03}\x{00}\x{00}\x{00}123"...
length: 51
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 7: remove resource - status code ok got: '500'
expected: '204'
restful.t TEST 7: remove resource - header Content-Type not present in the raw headers 'HTTP/1.1 500 Internal Server Error
Server: nginx/1.9.7 (no pool)
Date: Tue, 24 Nov 2015 16:58:08 GMT
Content-Type: text/html
Content-Length: 202
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
restful.t TEST 7: remove resource - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 8: update non-existing resource - status code ok got: '500'
expected: '410'
restful.t TEST 8: update non-existing resource - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body bgcolor="white"> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.9.7 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.9.7 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:410 Gone)'
restful.t TEST 9: get non-existing resource - status code ok got: '500'
expected: '410'
restful.t TEST 9: get non-existing resource - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body bgcolor="white"> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.9.7 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.9.7 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:410 Gone)'
restful.t TEST 10: remove non-existing resource - status code ok got: '500'
expected: '410'
restful.t TEST 10: remove non-existing resource - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body bgcolor="white"> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.9.7 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.9.7 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:410 Gone)'
restful.t TEST 11: list empty collection (done) - status code ok got: '500'
expected: '200'
restful.t TEST 11: list empty collection (done) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
restful.t TEST 11: list empty collection (done) - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{09}\x{00}\x{17}\x{00}\x{06}\x{00}number\x{00}"
length: 43
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 1: clean collection - status code ok got: '500'
expected: '204'
restful_json.t TEST 1: clean collection - header Content-Type not present in the raw headers 'HTTP/1.1 500 Internal Server Error
Server: nginx/1.9.7 (no pool)
Date: Tue, 24 Nov 2015 16:58:09 GMT
Content-Type: text/html
Content-Length: 202
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
restful_json.t TEST 1: clean collection - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 2: list empty collection - status code ok got: '500'
expected: '200'
restful_json.t TEST 2: list empty collection - header Content-Type ok got: 'text/html'
expected: 'application/json'
restful_json.t TEST 2: list empty collection - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "[]"
length: 2
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 3: insert resource into collection - status code ok got: '500'
expected: '201'
restful_json.t TEST 3: insert resource into collection - header Content-Type ok got: 'text/html'
expected: 'application/json'
restful_json.t TEST 3: insert resource into collection - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "[{"number":123}]"
length: 16
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 4: list collection - status code ok got: '500'
expected: '200'
restful_json.t TEST 4: list collection - header Content-Type ok got: 'text/html'
expected: 'application/json'
restful_json.t TEST 4: list collection - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "[{"number":123}]"
length: 16
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 5: get resource - status code ok got: '500'
expected: '200'
restful_json.t TEST 5: get resource - header Content-Type ok got: 'text/html'
expected: 'application/json'
restful_json.t TEST 5: get resource - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "[{"number":123}]"
length: 16
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 6: update resource - status code ok got: '500'
expected: '200'
restful_json.t TEST 6: update resource - header Content-Type ok got: 'text/html'
expected: 'application/json'
restful_json.t TEST 6: update resource - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "[{"number":123}]"
length: 16
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 7: remove resource - status code ok got: '500'
expected: '204'
restful_json.t TEST 7: remove resource - header Content-Type not present in the raw headers 'HTTP/1.1 500 Internal Server Error
Server: nginx/1.9.7 (no pool)
Date: Tue, 24 Nov 2015 16:58:10 GMT
Content-Type: text/html
Content-Length: 202
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
restful_json.t TEST 7: remove resource - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 8: update non-existing resource - status code ok got: '500'
expected: '410'
restful_json.t TEST 8: update non-existing resource - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body bgcolor="white"> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.9.7 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.9.7 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:410 Gone)'
restful_json.t TEST 9: get non-existing resource - status code ok got: '500'
expected: '410'
restful_json.t TEST 9: get non-existing resource - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body bgcolor="white"> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.9.7 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.9.7 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:410 Gone)'
restful_json.t TEST 10: remove non-existing resource - status code ok got: '500'
expected: '410'
restful_json.t TEST 10: remove non-existing resource - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body bgcolor="white"> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.9.7 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.9.7 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:410 Gone)'
restful_json.t TEST 11: list empty collection (done) - status code ok got: '500'
expected: '200'
restful_json.t TEST 11: list empty collection (done) - header Content-Type ok got: 'text/html'
expected: 'application/json'
restful_json.t TEST 11: list empty collection (done) - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 202
expected: "[]"
length: 2
strings begin to differ at char 1 (line 1 column 1)
rewrites.t TEST 10: rows (none) - status code ok got: '502'
expected: '200'
rewrites.t TEST 10: rows (none) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 10: rows (none) - status code ok got: '502'
expected: '200'
rewrites.t TEST 10: rows (none) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 4: rows - status code ok got: '502'
expected: '206'
rewrites.t TEST 4: rows - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 4: rows - status code ok got: '502'
expected: '206'
rewrites.t TEST 4: rows - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 1: no changes (SELECT) - status code ok got: '502'
expected: '200'
rewrites.t TEST 1: no changes (SELECT) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 1: no changes (SELECT) - status code ok got: '502'
expected: '200'
rewrites.t TEST 1: no changes (SELECT) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 8: rows (method-specific) - status code ok got: '502'
expected: '206'
rewrites.t TEST 8: rows (method-specific) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 8: rows (method-specific) - status code ok got: '502'
expected: '206'
rewrites.t TEST 8: rows (method-specific) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 12: no changes (UPDATE) with 409 response - status code ok got: '502'
expected: '409'
rewrites.t TEST 6: inheritance - status code ok got: '502'
expected: '206'
rewrites.t TEST 6: inheritance - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 6: inheritance - status code ok got: '502'
expected: '206'
rewrites.t TEST 6: inheritance - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 2: no changes (UPDATE) - status code ok got: '502'
expected: '206'
rewrites.t TEST 2: no changes (UPDATE) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 2: no changes (UPDATE) - status code ok got: '502'
expected: '206'
rewrites.t TEST 2: no changes (UPDATE) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 9: rows (default) - status code ok got: '502'
expected: '206'
rewrites.t TEST 9: rows (default) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 9: rows (default) - status code ok got: '502'
expected: '206'
rewrites.t TEST 9: rows (default) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 13: no changes (UPDATE) with 409 status and our body - status code ok got: '502'
expected: '409'
rewrites.t TEST 13: no changes (UPDATE) with 409 status and our body - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 13: no changes (UPDATE) with 409 status and our body - status code ok got: '502'
expected: '409'
rewrites.t TEST 13: no changes (UPDATE) with 409 status and our body - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 15: rows - "if" pseudo-location - status code ok got: '502'
expected: '206'
rewrites.t TEST 15: rows - "if" pseudo-location - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 15: rows - "if" pseudo-location - status code ok got: '502'
expected: '206'
rewrites.t TEST 15: rows - "if" pseudo-location - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 11: no changes (UPDATE) with 202 response - status code ok got: '502'
expected: '202'
rewrites.t TEST 11: no changes (UPDATE) with 202 response - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 11: no changes (UPDATE) with 202 response - status code ok got: '502'
expected: '202'
rewrites.t TEST 11: no changes (UPDATE) with 202 response - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 5: no rows - status code ok got: '502'
expected: '410'
rewrites.t TEST 14: rows with 409 status and our body (with integrity check) - status code ok got: '502'
expected: '409'
rewrites.t TEST 14: rows with 409 status and our body (with integrity check) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 14: rows with 409 status and our body (with integrity check) - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
rewrites.t TEST 14: rows with 409 status and our body (with integrity check) - status code ok got: '502'
expected: '409'
rewrites.t TEST 14: rows with 409 status and our body (with integrity check) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 14: rows with 409 status and our body (with integrity check) - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
rewrites.t TEST 7: inheritance (mixed, don't inherit) - status code ok got: '502'
expected: '206'
rewrites.t TEST 7: inheritance (mixed, don't inherit) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 7: inheritance (mixed, don't inherit) - status code ok got: '502'
expected: '206'
rewrites.t TEST 7: inheritance (mixed, don't inherit) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 3: one change - status code ok got: '502'
expected: '206'
rewrites.t TEST 3: one change - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 3: one change - status code ok got: '502'
expected: '206'
rewrites.t TEST 3: one change - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 6: HEAD request - status code ok got: '502'
expected: '200'
sanity.t TEST 6: HEAD request - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 6: HEAD request - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:58:16 [error] 22761\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
sanity.t TEST 6: HEAD request - status code ok got: '502'
expected: '200'
sanity.t TEST 6: HEAD request - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 6: HEAD request - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:58:16 [error] 22761\#0: *3 postgres: connection failed: could not send startup packet: Success" (req 1)
sanity.t TEST 3: update - status code ok got: '502'
expected: '200'
sanity.t TEST 3: update - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 3: update - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}"
length: 30
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 3: update - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:58:16 [error] 22774\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
sanity.t TEST 3: update - status code ok got: '502'
expected: '200'
sanity.t TEST 3: update - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 3: update - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}"
length: 30
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 3: update - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:58:16 [error] 22774\#0: *3 postgres: connection failed: could not send startup packet: Success" (req 1)
sanity.t TEST 5: variables in postgres_pass - status code ok got: '502'
expected: '200'
sanity.t TEST 5: variables in postgres_pass - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 5: variables in postgres_pass - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}"
length: 30
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 5: variables in postgres_pass - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:58:17 [error] 22787\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
sanity.t TEST 5: variables in postgres_pass - status code ok got: '502'
expected: '200'
sanity.t TEST 5: variables in postgres_pass - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 5: variables in postgres_pass - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}"
length: 30
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 5: variables in postgres_pass - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:58:17 [error] 22787\#0: *3 postgres: connection failed: could not send startup packet: Success" (req 1)
sanity.t TEST 2: keep-alive - status code ok got: '502'
expected: '200'
sanity.t TEST 2: keep-alive - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 2: keep-alive - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 2: keep-alive - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:58:17 [error] 22800\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
sanity.t TEST 2: keep-alive - status code ok got: '502'
expected: '200'
sanity.t TEST 2: keep-alive - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 2: keep-alive - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 2: keep-alive - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:58:17 [error] 22800\#0: *3 postgres: connection failed: could not send startup packet: Success" (req 1)
sanity.t TEST 4: select empty result - status code ok got: '502'
expected: '200'
sanity.t TEST 4: select empty result - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 4: select empty result - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 4: select empty result - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:58:17 [error] 22813\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
sanity.t TEST 4: select empty result - status code ok got: '502'
expected: '200'
sanity.t TEST 4: select empty result - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 4: select empty result - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 4: select empty result - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:58:17 [error] 22813\#0: *3 postgres: connection failed: could not send startup packet: Success" (req 1)
sanity.t TEST 1: sanity - status code ok got: '502'
expected: '200'
sanity.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 1: sanity - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:58:18 [error] 22826\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
sanity.t TEST 1: sanity - status code ok got: '502'
expected: '200'
sanity.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 1: sanity - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:58:18 [error] 22826\#0: *3 postgres: connection failed: could not send startup packet: Success" (req 1)
sanity.t TEST 7: "if" pseudo-location - status code ok got: '502'
expected: '200'
sanity.t TEST 7: "if" pseudo-location - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 7: "if" pseudo-location - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 7: "if" pseudo-location - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:58:18 [error] 22840\#0: *1 postgres: connection failed: could not send startup packet: Success" (req 0)
sanity.t TEST 7: "if" pseudo-location - status code ok got: '502'
expected: '200'
sanity.t TEST 7: "if" pseudo-location - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 7: "if" pseudo-location - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 7: "if" pseudo-location - pattern "[error]" should not match any line in error.log but matches line "2015/11/24 16:58:18 [error] 22840\#0: *3 postgres: connection failed: could not send startup packet: Success" (req 1)
variables.t TEST 5: out-of-range value (required) - status code ok got: '502'
expected: '500'
variables.t TEST 11: $postgres_query (simple value) - status code ok got: '502'
expected: '200'
variables.t TEST 11: $postgres_query (simple value) - header X-Query ok got: ''
expected: 'select 'GET' as echo'
variables.t TEST 11: $postgres_query (simple value) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 11: $postgres_query (simple value) - status code ok got: '502'
expected: '200'
variables.t TEST 11: $postgres_query (simple value) - header X-Query ok got: ''
expected: 'select 'GET' as echo'
variables.t TEST 11: $postgres_query (simple value) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 3: NULL value (optional) - status code ok got: '502'
expected: '200'
variables.t TEST 3: NULL value (optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 3: NULL value (optional) - status code ok got: '502'
expected: '200'
variables.t TEST 3: NULL value (optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 13: $postgres_affected (SELECT) - status code ok got: '502'
expected: '200'
variables.t TEST 13: $postgres_affected (SELECT) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 13: $postgres_affected (SELECT) - status code ok got: '502'
expected: '200'
variables.t TEST 13: $postgres_affected (SELECT) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 20: column by name (not existing, required) - status code ok got: '502'
expected: '500'
variables.t TEST 2: out-of-range value (optional) - status code ok got: '502'
expected: '200'
variables.t TEST 2: out-of-range value (optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 2: out-of-range value (optional) - status code ok got: '502'
expected: '200'
variables.t TEST 2: out-of-range value (optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 6: NULL value (required) - status code ok got: '502'
expected: '500'
variables.t TEST 19: column by name (not existing, optional) - status code ok got: '502'
expected: '200'
variables.t TEST 19: column by name (not existing, optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 19: column by name (not existing, optional) - status code ok got: '502'
expected: '200'
variables.t TEST 19: column by name (not existing, optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 18: column by name (existing) - status code ok got: '502'
expected: '200'
variables.t TEST 18: column by name (existing) - header X-Test ok got: ''
expected: 'test'
variables.t TEST 18: column by name (existing) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 18: column by name (existing) - status code ok got: '502'
expected: '200'
variables.t TEST 18: column by name (existing) - header X-Test ok got: ''
expected: 'test'
variables.t TEST 18: column by name (existing) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 17: inheritance (mixed, don't inherit) - status code ok got: '502'
expected: '200'
variables.t TEST 17: inheritance (mixed, don't inherit) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 17: inheritance (mixed, don't inherit) - status code ok got: '502'
expected: '200'
variables.t TEST 17: inheritance (mixed, don't inherit) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 9: $postgres_rows - status code ok got: '502'
expected: '200'
variables.t TEST 9: $postgres_rows - header X-Rows ok got: ''
expected: '1'
variables.t TEST 9: $postgres_rows - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 9: $postgres_rows - status code ok got: '502'
expected: '200'
variables.t TEST 9: $postgres_rows - header X-Rows ok got: ''
expected: '1'
variables.t TEST 9: $postgres_rows - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 7: zero-length value (required) - status code ok got: '502'
expected: '500'
variables.t TEST 16: inheritance - status code ok got: '502'
expected: '500'
variables.t TEST 15: $postgres_affected (UPDATE, one change) - status code ok got: '502'
expected: '200'
variables.t TEST 15: $postgres_affected (UPDATE, one change) - header X-Affected ok got: ''
expected: '1'
variables.t TEST 15: $postgres_affected (UPDATE, one change) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 15: $postgres_affected (UPDATE, one change) - status code ok got: '502'
expected: '200'
variables.t TEST 15: $postgres_affected (UPDATE, one change) - header X-Affected ok got: ''
expected: '1'
variables.t TEST 15: $postgres_affected (UPDATE, one change) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 14: $postgres_affected (UPDATE, no changes) - status code ok got: '502'
expected: '200'
variables.t TEST 14: $postgres_affected (UPDATE, no changes) - header X-Affected ok got: ''
expected: '0'
variables.t TEST 14: $postgres_affected (UPDATE, no changes) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 14: $postgres_affected (UPDATE, no changes) - status code ok got: '502'
expected: '200'
variables.t TEST 14: $postgres_affected (UPDATE, no changes) - header X-Affected ok got: ''
expected: '0'
variables.t TEST 14: $postgres_affected (UPDATE, no changes) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 10: $postgres_query (simple value) - status code ok got: '502'
expected: '200'
variables.t TEST 10: $postgres_query (simple value) - header X-Query ok got: ''
expected: 'select 'test' as echo'
variables.t TEST 10: $postgres_query (simple value) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 10: $postgres_query (simple value) - status code ok got: '502'
expected: '200'
variables.t TEST 10: $postgres_query (simple value) - header X-Query ok got: ''
expected: 'select 'test' as echo'
variables.t TEST 10: $postgres_query (simple value) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 8: $postgres_columns - status code ok got: '502'
expected: '200'
variables.t TEST 8: $postgres_columns - header X-Columns ok got: ''
expected: '3'
variables.t TEST 8: $postgres_columns - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 8: $postgres_columns - status code ok got: '502'
expected: '200'
variables.t TEST 8: $postgres_columns - header X-Columns ok got: ''
expected: '3'
variables.t TEST 8: $postgres_columns - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 1: sanity - status code ok got: '502'
expected: '200'
variables.t TEST 1: sanity - header X-Test ok got: ''
expected: 'test'
variables.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 1: sanity - response_body - response is expected (req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{04}\x{00}\x{00}\x{00}test\x{00}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
variables.t TEST 1: sanity - status code ok got: '502'
expected: '200'
variables.t TEST 1: sanity - header X-Test ok got: ''
expected: 'test'
variables.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 1: sanity - response_body - response is expected (req 1) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 182
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{04}\x{00}\x{00}\x{00}test\x{00}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
variables.t TEST 4: zero-length value (optional) - status code ok got: '502'
expected: '200'
variables.t TEST 4: zero-length value (optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 4: zero-length value (optional) - status code ok got: '502'
expected: '200'
variables.t TEST 4: zero-length value (optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'

Warnings

(none)

Go back to the index page.