(This page was automatically generated by the tools in the opsboy project on 04:52:03 11-Oct-2024 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
6960c6ca | 2024-08-08 07:20:45 GMT | 454 | 0 | 14 | 650 | 128 sec |
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 "2024/08/08 07:50:48 [error] 28800\#28800: *1 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:50:48 [debug] 28800\#28800: *1 http next upstream, 2 2024/08/08 07:50:48 [debug] 28800\#28800: *1 postgres: free keepalive peer 2024/08/08 07:50:48 [debug] 28800\#28800: *1 finalize http upstream request: 502 2024/08/08 07:50:48 [debug] 28800\#28800: *1 postgres: free keepalive peer 2024/08/08 07:50:48 [debug] 28800\#28800: *1 http finalize request: 502, "/init?" a:1, c:1 2024/08/08 07:50:48 [debug] 28800\#28800: *1 http special response: 502, "/init?" 2024/08/08 07:50:48 [debug] 28800\#28800: *1 http set discard body 2024/08/08 07:50:48 [debug] 28800\#28800: *1 malloc: 000000000747F510:80 ' |
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 "2024/08/08 07:50:49 [error] 28816\#28816: *27 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:50:49 [debug] 28816\#28816: *27 http next upstream, 2 2024/08/08 07:50:49 [debug] 28816\#28816: *27 postgres: free keepalive peer 2024/08/08 07:50:49 [debug] 28816\#28816: *27 finalize http upstream request: 502 2024/08/08 07:50:49 [debug] 28816\#28816: *27 postgres: free keepalive peer 2024/08/08 07:50:49 [debug] 28816\#28816: *27 http finalize request: 502, "/init?" a:1, c:1 2024/08/08 07:50:49 [debug] 28816\#28816: *27 http special response: 502, "/init?" 2024/08/08 07:50:49 [debug] 28816\#28816: *27 http set discard body 2024/08/08 07:50:49 [debug] 28816\#28816: *27 malloc: 0000000007916C10:80 ' |
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 "2024/08/08 07:50:50 [error] 28853\#28853: *53 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:50:50 [debug] 28853\#28853: *53 http next upstream, 2 2024/08/08 07:50:50 [debug] 28853\#28853: *53 postgres: free keepalive peer 2024/08/08 07:50:50 [debug] 28853\#28853: *53 finalize http upstream request: 502 2024/08/08 07:50:50 [debug] 28853\#28853: *53 postgres: free keepalive peer 2024/08/08 07:50:50 [debug] 28853\#28853: *53 http finalize request: 502, "/init?" a:1, c:1 2024/08/08 07:50:50 [debug] 28853\#28853: *53 http special response: 502, "/init?" 2024/08/08 07:50:50 [debug] 28853\#28853: *53 http set discard body 2024/08/08 07:50:50 [debug] 28853\#28853: *53 malloc: 0000000007B621D0:80 ' |
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 "2024/08/08 07:50:50 [error] 28884\#28884: *79 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:50:50 [debug] 28884\#28884: *79 http next upstream, 2 2024/08/08 07:50:50 [debug] 28884\#28884: *79 postgres: free keepalive peer 2024/08/08 07:50:50 [debug] 28884\#28884: *79 finalize http upstream request: 502 2024/08/08 07:50:50 [debug] 28884\#28884: *79 postgres: free keepalive peer 2024/08/08 07:50:50 [debug] 28884\#28884: *79 http finalize request: 502, "/init?" a:1, c:1 2024/08/08 07:50:50 [debug] 28884\#28884: *79 http special response: 502, "/init?" 2024/08/08 07:50:50 [debug] 28884\#28884: *79 http set discard body 2024/08/08 07:50:50 [debug] 28884\#28884: *79 malloc: 0000000007F40D50:80 ' |
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 "2024/08/08 07:50:51 [error] 28921\#28921: *105 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:50:51 [debug] 28921\#28921: *105 http next upstream, 2 2024/08/08 07:50:51 [debug] 28921\#28921: *105 postgres: free keepalive peer 2024/08/08 07:50:51 [debug] 28921\#28921: *105 finalize http upstream request: 502 2024/08/08 07:50:51 [debug] 28921\#28921: *105 postgres: free keepalive peer 2024/08/08 07:50:51 [debug] 28921\#28921: *105 http finalize request: 502, "/init?" a:1, c:1 2024/08/08 07:50:51 [debug] 28921\#28921: *105 http special response: 502, "/init?" 2024/08/08 07:50:51 [debug] 28921\#28921: *105 http set discard body 2024/08/08 07:50:51 [debug] 28921\#28921: *105 malloc: 0000000007038F80:80 ' |
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 "2024/08/08 07:50:52 [error] 28958\#28958: *131 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:50:52 [debug] 28958\#28958: *131 http next upstream, 2 2024/08/08 07:50:52 [debug] 28958\#28958: *131 postgres: free keepalive peer 2024/08/08 07:50:52 [debug] 28958\#28958: *131 finalize http upstream request: 502 2024/08/08 07:50:52 [debug] 28958\#28958: *131 postgres: free keepalive peer 2024/08/08 07:50:52 [debug] 28958\#28958: *131 http finalize request: 502, "/init?" a:1, c:1 2024/08/08 07:50:52 [debug] 28958\#28958: *131 http special response: 502, "/init?" 2024/08/08 07:50:52 [debug] 28958\#28958: *131 http set discard body 2024/08/08 07:50:52 [debug] 28958\#28958: *131 malloc: 00000000075A3700:80 ' |
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 "2024/08/08 07:50:53 [error] 28989\#28989: *157 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:50:53 [debug] 28989\#28989: *157 http next upstream, 2 2024/08/08 07:50:53 [debug] 28989\#28989: *157 postgres: free keepalive peer 2024/08/08 07:50:53 [debug] 28989\#28989: *157 finalize http upstream request: 502 2024/08/08 07:50:53 [debug] 28989\#28989: *157 postgres: free keepalive peer 2024/08/08 07:50:53 [debug] 28989\#28989: *157 http finalize request: 502, "/init?" a:1, c:1 2024/08/08 07:50:53 [debug] 28989\#28989: *157 http special response: 502, "/init?" 2024/08/08 07:50:53 [debug] 28989\#28989: *157 http set discard body 2024/08/08 07:50:53 [debug] 28989\#28989: *157 malloc: 00000000070A2D30:80 ' |
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 "2024/08/08 07:50:53 [error] 29032\#29032: *183 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:50:53 [debug] 29032\#29032: *183 http next upstream, 2 2024/08/08 07:50:53 [debug] 29032\#29032: *183 postgres: free keepalive peer 2024/08/08 07:50:53 [debug] 29032\#29032: *183 finalize http upstream request: 502 2024/08/08 07:50:53 [debug] 29032\#29032: *183 postgres: free keepalive peer 2024/08/08 07:50:53 [debug] 29032\#29032: *183 http finalize request: 502, "/init?" a:1, c:1 2024/08/08 07:50:53 [debug] 29032\#29032: *183 http special response: 502, "/init?" 2024/08/08 07:50:53 [debug] 29032\#29032: *183 http set discard body 2024/08/08 07:50:53 [debug] 29032\#29032: *183 malloc: 0000000007501990:80 ' |
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 "2024/08/08 07:50:54 [error] 29063\#29063: *209 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:50:54 [debug] 29063\#29063: *209 http next upstream, 2 2024/08/08 07:50:54 [debug] 29063\#29063: *209 postgres: free keepalive peer 2024/08/08 07:50:54 [debug] 29063\#29063: *209 finalize http upstream request: 502 2024/08/08 07:50:54 [debug] 29063\#29063: *209 postgres: free keepalive peer 2024/08/08 07:50:54 [debug] 29063\#29063: *209 http finalize request: 502, "/init?" a:1, c:1 2024/08/08 07:50:54 [debug] 29063\#29063: *209 http special response: 502, "/init?" 2024/08/08 07:50:54 [debug] 29063\#29063: *209 http set discard body 2024/08/08 07:50:54 [debug] 29063\#29063: *209 malloc: 0000000007B7F110:80 ' |
auth.t | TEST 2: unauthorized (auth basic) - status code ok |
got: '500' expected: '403' |
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 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 expected: "hi, ngx_test!" length: 13 strings begin to differ at char 1 (line 1 column 1) |
bigpipe.t | TEST 1: synchronous - response_body - response is expected (repeated req 0, req 0) |
got: ..."ader.load(<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"... length: 498 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 (repeated req 1, req 0) |
got: ..."ader.load(<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"... length: 498 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 (repeated req 0, req 0) |
got: ..."ader.load(<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"... length: 498 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 (repeated req 1, req 0) |
got: ..."ader.load(<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"... length: 498 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 (repeated req 0, req 0) |
got: ..."der.load( <html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"... length: 499 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 (repeated req 1, req 0) |
got: ..."der.load( <html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"... length: 499 expected: ..."der.load( [{"id":2,"name":null},{"id":3,"name":"bo"... length: 253 strings begin to differ at char 93 (line 2 column 45) |
errors.t | TEST 4: multiple queries - status code ok |
got: '502' expected: '500' |
errors.t | TEST 4: multiple queries - status code ok |
got: '502' expected: '500' |
errors.t | TEST 8: non-existing table - status code ok |
got: '502' expected: '500' |
errors.t | TEST 8: non-existing table - status code ok |
got: '502' expected: '500' |
errors.t | TEST 1: bad query - status code ok |
got: '502' expected: '500' |
errors.t | TEST 1: bad query - 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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 (repeated req 0, 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 (repeated req 1, req 0) |
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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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) |
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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "test" length: 4 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 18: value - empty result - status code ok |
got: '502' expected: '500' |
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.27.0 (no pool) Date: Thu, 08 Aug 2024 07:51:44 GMT Content-Type: text/html Content-Length: 167 Connection: close ' matches '(?^ms:^\s*Content\-Type\s*:)' |
output.t | TEST 1: none - sanity - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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.27.0 (no pool) Date: Thu, 08 Aug 2024 07:51:44 GMT Content-Type: text/html Content-Length: 167 Connection: close ' matches '(?^ms:^\s*Content\-Type\s*:)' |
output.t | TEST 1: none - sanity - response_body - response is expected (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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.27.0 (no pool) Date: Thu, 08 Aug 2024 07:51:45 GMT Content-Type: text/html Content-Length: 167 Connection: close ' matches '(?^ms:^\s*Content\-Type\s*:)' |
output.t | TEST 10: inheritance (mixed, don't inherit) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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.27.0 (no pool) Date: Thu, 08 Aug 2024 07:51:45 GMT Content-Type: text/html Content-Length: 167 Connection: close ' matches '(?^ms:^\s*Content\-Type\s*:)' |
output.t | TEST 10: inheritance (mixed, don't inherit) - response_body - response is expected (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "" length: 0 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> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.27.0 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.27.0 (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> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.27.0 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.27.0 (no pool)</center> </body> </html> ' doesn't match '(?^s:^(?:\\001|\\x01)$)' |
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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "" length: 0 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "\x{00}\x{03}" length: 2 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 19: value - too many values - status code ok |
got: '502' expected: '500' |
output.t | TEST 19: value - too many values - 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "test" length: 4 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "2" length: 1 strings begin to differ at char 1 (line 1 column 1) |
output.t | TEST 5: value - empty value - status code ok |
got: '502' expected: '500' |
output.t | TEST 5: value - empty value - status code ok |
got: '502' expected: '500' |
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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "test" length: 4 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 4: value - NULL 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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.27.0 (no pool) Date: Thu, 08 Aug 2024 07:51:58 GMT Content-Type: text/html Content-Length: 187 Connection: close ' matches '(?^ms:^\s*Content\-Type\s*:)' |
restful.t | TEST 1: clean collection - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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.27.0 (no pool) Date: Thu, 08 Aug 2024 07:52:03 GMT Content-Type: text/html Content-Length: 187 Connection: close ' matches '(?^ms:^\s*Content\-Type\s*:)' |
restful.t | TEST 7: remove resource - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.27.0 (no pool)</center> </body> </html>) |
'<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.27.0 (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> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.27.0 (no pool)</center> </body> </html>) |
'<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.27.0 (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> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.27.0 (no pool)</center> </body> </html>) |
'<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.27.0 (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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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.27.0 (no pool) Date: Thu, 08 Aug 2024 07:52:08 GMT Content-Type: text/html Content-Length: 187 Connection: close ' matches '(?^ms:^\s*Content\-Type\s*:)' |
restful_json.t | TEST 1: clean collection - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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.27.0 (no pool) Date: Thu, 08 Aug 2024 07:52:13 GMT Content-Type: text/html Content-Length: 187 Connection: close ' matches '(?^ms:^\s*Content\-Type\s*:)' |
restful_json.t | TEST 7: remove resource - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 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> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.27.0 (no pool)</center> </body> </html>) |
'<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.27.0 (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> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.27.0 (no pool)</center> </body> </html>) |
'<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.27.0 (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> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.27.0 (no pool)</center> </body> </html>) |
'<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.27.0 (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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 expected: "[]" length: 2 strings begin to differ at char 1 (line 1 column 1) |
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 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 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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 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 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 12: no changes (UPDATE) with 409 response - status code ok |
got: '502' expected: '409' |
rewrites.t | TEST 12: no changes (UPDATE) with 409 response - status code ok |
got: '502' expected: '409' |
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 5: no rows - status code ok |
got: '502' expected: '410' |
rewrites.t | TEST 5: no rows - status code ok |
got: '502' expected: '410' |
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 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 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' |
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 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 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 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' |
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 "2024/08/08 07:52:31 [error] 32582\#32582: *1 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "HEAD /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:52:31 [debug] 32582\#32582: *1 http next upstream, 2 2024/08/08 07:52:31 [debug] 32582\#32582: *1 postgres: free keepalive peer 2024/08/08 07:52:31 [debug] 32582\#32582: *1 finalize http upstream request: 502 2024/08/08 07:52:31 [debug] 32582\#32582: *1 postgres: free keepalive peer 2024/08/08 07:52:31 [debug] 32582\#32582: *1 http finalize request: 502, "/postgres?" a:1, c:1 2024/08/08 07:52:31 [debug] 32582\#32582: *1 http special response: 502, "/postgres?" 2024/08/08 07:52:31 [debug] 32582\#32582: *1 http set discard body 2024/08/08 07:52:31 [debug] 32582\#32582: *1 malloc: 000000000747B710:80 ' |
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 "2024/08/08 07:52:32 [error] 32582\#32582: *3 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 1) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "HEAD /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:52:32 [debug] 32582\#32582: *3 http next upstream, 2 2024/08/08 07:52:32 [debug] 32582\#32582: *3 postgres: free keepalive peer 2024/08/08 07:52:32 [debug] 32582\#32582: *3 finalize http upstream request: 502 2024/08/08 07:52:32 [debug] 32582\#32582: *3 postgres: free keepalive peer 2024/08/08 07:52:32 [debug] 32582\#32582: *3 http finalize request: 502, "/postgres?" a:1, c:1 2024/08/08 07:52:32 [debug] 32582\#32582: *3 http special response: 502, "/postgres?" 2024/08/08 07:52:32 [debug] 32582\#32582: *3 http set discard body 2024/08/08 07:52:32 [debug] 32582\#32582: *3 malloc: 00000000074885F0:80 ' |
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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 "2024/08/08 07:52:32 [error] 32593\#32593: *29 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:52:32 [debug] 32593\#32593: *29 http next upstream, 2 2024/08/08 07:52:32 [debug] 32593\#32593: *29 postgres: free keepalive peer 2024/08/08 07:52:32 [debug] 32593\#32593: *29 finalize http upstream request: 502 2024/08/08 07:52:32 [debug] 32593\#32593: *29 postgres: free keepalive peer 2024/08/08 07:52:32 [debug] 32593\#32593: *29 http finalize request: 502, "/postgres?" a:1, c:1 2024/08/08 07:52:32 [debug] 32593\#32593: *29 http special response: 502, "/postgres?" 2024/08/08 07:52:32 [debug] 32593\#32593: *29 http set discard body 2024/08/08 07:52:32 [debug] 32593\#32593: *29 malloc: 0000000007913B50:80 ' |
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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 "2024/08/08 07:52:32 [error] 32593\#32593: *31 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 1) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:52:32 [debug] 32593\#32593: *31 http next upstream, 2 2024/08/08 07:52:32 [debug] 32593\#32593: *31 postgres: free keepalive peer 2024/08/08 07:52:32 [debug] 32593\#32593: *31 finalize http upstream request: 502 2024/08/08 07:52:32 [debug] 32593\#32593: *31 postgres: free keepalive peer 2024/08/08 07:52:32 [debug] 32593\#32593: *31 http finalize request: 502, "/postgres?" a:1, c:1 2024/08/08 07:52:32 [debug] 32593\#32593: *31 http special response: 502, "/postgres?" 2024/08/08 07:52:32 [debug] 32593\#32593: *31 http set discard body 2024/08/08 07:52:32 [debug] 32593\#32593: *31 malloc: 00000000079211B0:80 ' |
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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 "2024/08/08 07:52:33 [error] 32631\#32631: *57 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:52:33 [debug] 32631\#32631: *57 http next upstream, 2 2024/08/08 07:52:33 [debug] 32631\#32631: *57 postgres: free keepalive peer 2024/08/08 07:52:33 [debug] 32631\#32631: *57 finalize http upstream request: 502 2024/08/08 07:52:33 [debug] 32631\#32631: *57 postgres: free keepalive peer 2024/08/08 07:52:33 [debug] 32631\#32631: *57 http finalize request: 502, "/postgres?" a:1, c:1 2024/08/08 07:52:33 [debug] 32631\#32631: *57 http special response: 502, "/postgres?" 2024/08/08 07:52:33 [debug] 32631\#32631: *57 http set discard body 2024/08/08 07:52:33 [debug] 32631\#32631: *57 malloc: 0000000007B5EC60:80 ' |
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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 "2024/08/08 07:52:33 [error] 32631\#32631: *59 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 1) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:52:33 [debug] 32631\#32631: *59 http next upstream, 2 2024/08/08 07:52:33 [debug] 32631\#32631: *59 postgres: free keepalive peer 2024/08/08 07:52:33 [debug] 32631\#32631: *59 finalize http upstream request: 502 2024/08/08 07:52:33 [debug] 32631\#32631: *59 postgres: free keepalive peer 2024/08/08 07:52:33 [debug] 32631\#32631: *59 http finalize request: 502, "/postgres?" a:1, c:1 2024/08/08 07:52:33 [debug] 32631\#32631: *59 http special response: 502, "/postgres?" 2024/08/08 07:52:33 [debug] 32631\#32631: *59 http set discard body 2024/08/08 07:52:33 [debug] 32631\#32631: *59 malloc: 0000000007B67090:80 ' |
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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 "2024/08/08 07:52:34 [error] 32669\#32669: *85 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:52:34 [debug] 32669\#32669: *85 http next upstream, 2 2024/08/08 07:52:34 [debug] 32669\#32669: *85 postgres: free keepalive peer 2024/08/08 07:52:34 [debug] 32669\#32669: *85 finalize http upstream request: 502 2024/08/08 07:52:34 [debug] 32669\#32669: *85 postgres: free keepalive peer 2024/08/08 07:52:34 [debug] 32669\#32669: *85 http finalize request: 502, "/postgres?" a:1, c:1 2024/08/08 07:52:34 [debug] 32669\#32669: *85 http special response: 502, "/postgres?" 2024/08/08 07:52:34 [debug] 32669\#32669: *85 http set discard body 2024/08/08 07:52:34 [debug] 32669\#32669: *85 malloc: 0000000007F3D630:80 ' |
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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 "2024/08/08 07:52:34 [error] 32669\#32669: *87 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 1) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:52:34 [debug] 32669\#32669: *87 http next upstream, 2 2024/08/08 07:52:34 [debug] 32669\#32669: *87 postgres: free keepalive peer 2024/08/08 07:52:34 [debug] 32669\#32669: *87 finalize http upstream request: 502 2024/08/08 07:52:34 [debug] 32669\#32669: *87 postgres: free keepalive peer 2024/08/08 07:52:34 [debug] 32669\#32669: *87 http finalize request: 502, "/postgres?" a:1, c:1 2024/08/08 07:52:34 [debug] 32669\#32669: *87 http special response: 502, "/postgres?" 2024/08/08 07:52:34 [debug] 32669\#32669: *87 http set discard body 2024/08/08 07:52:34 [debug] 32669\#32669: *87 malloc: 0000000008223DE0:80 ' |
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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 "2024/08/08 07:52:35 [error] 32707\#32707: *113 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres?foo=1 HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:52:35 [debug] 32707\#32707: *113 http next upstream, 2 2024/08/08 07:52:35 [debug] 32707\#32707: *113 postgres: free keepalive peer 2024/08/08 07:52:35 [debug] 32707\#32707: *113 finalize http upstream request: 502 2024/08/08 07:52:35 [debug] 32707\#32707: *113 postgres: free keepalive peer 2024/08/08 07:52:35 [debug] 32707\#32707: *113 http finalize request: 502, "/postgres?foo=1" a:1, c:1 2024/08/08 07:52:35 [debug] 32707\#32707: *113 http special response: 502, "/postgres?foo=1" 2024/08/08 07:52:35 [debug] 32707\#32707: *113 http set discard body 2024/08/08 07:52:35 [debug] 32707\#32707: *113 malloc: 0000000007102A30:80 ' |
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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 "2024/08/08 07:52:35 [error] 32707\#32707: *115 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 1) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres?foo=1 HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:52:35 [debug] 32707\#32707: *115 http next upstream, 2 2024/08/08 07:52:35 [debug] 32707\#32707: *115 postgres: free keepalive peer 2024/08/08 07:52:35 [debug] 32707\#32707: *115 finalize http upstream request: 502 2024/08/08 07:52:35 [debug] 32707\#32707: *115 postgres: free keepalive peer 2024/08/08 07:52:35 [debug] 32707\#32707: *115 http finalize request: 502, "/postgres?foo=1" a:1, c:1 2024/08/08 07:52:35 [debug] 32707\#32707: *115 http special response: 502, "/postgres?foo=1" 2024/08/08 07:52:35 [debug] 32707\#32707: *115 http set discard body 2024/08/08 07:52:35 [debug] 32707\#32707: *115 malloc: 00000000070B68D0:80 ' |
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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 "2024/08/08 07:52:35 [error] 32745\#32745: *141 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:52:35 [debug] 32745\#32745: *141 http next upstream, 2 2024/08/08 07:52:35 [debug] 32745\#32745: *141 postgres: free keepalive peer 2024/08/08 07:52:35 [debug] 32745\#32745: *141 finalize http upstream request: 502 2024/08/08 07:52:35 [debug] 32745\#32745: *141 postgres: free keepalive peer 2024/08/08 07:52:35 [debug] 32745\#32745: *141 http finalize request: 502, "/postgres?" a:1, c:1 2024/08/08 07:52:35 [debug] 32745\#32745: *141 http special response: 502, "/postgres?" 2024/08/08 07:52:35 [debug] 32745\#32745: *141 http set discard body 2024/08/08 07:52:35 [debug] 32745\#32745: *141 malloc: 00000000075AF390:80 ' |
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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 "2024/08/08 07:52:36 [error] 32745\#32745: *143 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 1) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:52:36 [debug] 32745\#32745: *143 http next upstream, 2 2024/08/08 07:52:36 [debug] 32745\#32745: *143 postgres: free keepalive peer 2024/08/08 07:52:36 [debug] 32745\#32745: *143 finalize http upstream request: 502 2024/08/08 07:52:36 [debug] 32745\#32745: *143 postgres: free keepalive peer 2024/08/08 07:52:36 [debug] 32745\#32745: *143 http finalize request: 502, "/postgres?" a:1, c:1 2024/08/08 07:52:36 [debug] 32745\#32745: *143 http special response: 502, "/postgres?" 2024/08/08 07:52:36 [debug] 32745\#32745: *143 http set discard body 2024/08/08 07:52:36 [debug] 32745\#32745: *143 malloc: 00000000075BD190:80 ' |
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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 "2024/08/08 07:52:36 [error] 309\#309: *169 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 0) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:52:36 [debug] 309\#309: *169 http next upstream, 2 2024/08/08 07:52:36 [debug] 309\#309: *169 finalize http upstream request: 502 2024/08/08 07:52:36 [debug] 309\#309: *169 http finalize request: 502, "/postgres?" a:1, c:1 2024/08/08 07:52:36 [debug] 309\#309: *169 http special response: 502, "/postgres?" 2024/08/08 07:52:36 [debug] 309\#309: *169 http set discard body 2024/08/08 07:52:36 [debug] 309\#309: *169 malloc: 00000000074AB520:80 2024/08/08 07:52:36 [debug] 309\#309: *169 malloc: 00000000074AC3F0:16 2024/08/08 07:52:36 [debug] 309\#309: *169 malloc: 00000000074AD580:179 ' |
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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 "2024/08/08 07:52:36 [error] 309\#309: *171 postgres: connection failed: FATAL: Ident authentication failed for user \"ngx_test\"" (req 1) |
while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost" 2024/08/08 07:52:36 [debug] 309\#309: *171 http next upstream, 2 2024/08/08 07:52:36 [debug] 309\#309: *171 finalize http upstream request: 502 2024/08/08 07:52:36 [debug] 309\#309: *171 http finalize request: 502, "/postgres?" a:1, c:1 2024/08/08 07:52:36 [debug] 309\#309: *171 http special response: 502, "/postgres?" 2024/08/08 07:52:36 [debug] 309\#309: *171 http set discard body 2024/08/08 07:52:36 [debug] 309\#309: *171 malloc: 00000000071002D0:80 2024/08/08 07:52:36 [debug] 309\#309: *171 malloc: 00000000070E8F20:16 2024/08/08 07:52:36 [debug] 309\#309: *171 malloc: 0000000007100360:179 ' |
variables.t | TEST 7: zero-length value (required) - status code ok |
got: '502' expected: '500' |
variables.t | TEST 7: zero-length value (required) - status code ok |
got: '502' expected: '500' |
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 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 5: out-of-range value (required) - status code ok |
got: '502' expected: '500' |
variables.t | TEST 5: out-of-range value (required) - status code ok |
got: '502' expected: '500' |
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 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 6: NULL value (required) - status code ok |
got: '502' expected: '500' |
variables.t | TEST 6: NULL value (required) - status code ok |
got: '502' expected: '500' |
variables.t | TEST 16: inheritance - status code ok |
got: '502' expected: '500' |
variables.t | TEST 16: inheritance - status code ok |
got: '502' expected: '500' |
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 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 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' |
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 (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 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 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 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 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 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 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 20: column by name (not existing, required) - status code ok |
got: '502' expected: '500' |
variables.t | TEST 20: column by name (not existing, required) - status code ok |
got: '502' expected: '500' |
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' |
Go back to the index page.