Class groovyx.net.http.optional.JacksonSpec

4

tests

0

failures

0

ignored

0.835s

duration

100%

successful

Tests

Test Duration Result
use with context config (alternate content type) 0.726s passed
use with context config (default content type) 0.044s passed
use with mapper config (alternate content type) 0.027s passed
use with mapper config (default content type) 0.038s passed

Standard output

06:24:59.022 [Test worker] DEBUG ersatz.undertow - starting undertow server ersatz.undertow.Undertow@2b181f41
06:24:59.023 [XNIO-57 I/O-1] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-57 I/O-1', selector sun.nio.ch.EPollSelectorImpl@501769f1
06:24:59.026 [XNIO-57 I/O-2] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-57 I/O-2', selector sun.nio.ch.EPollSelectorImpl@11052a02
06:24:59.037 [XNIO-57 I/O-3] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-57 I/O-3', selector sun.nio.ch.EPollSelectorImpl@2f103410
06:24:59.038 [XNIO-57 I/O-4] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-57 I/O-4', selector sun.nio.ch.EPollSelectorImpl@3289a2e5
06:24:59.038 [XNIO-57 I/O-6] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-57 I/O-6', selector sun.nio.ch.EPollSelectorImpl@1842b347
06:24:59.038 [XNIO-57 I/O-5] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-57 I/O-5', selector sun.nio.ch.EPollSelectorImpl@38e1e48c
06:24:59.038 [Test worker] DEBUG ersatz.undertow - Configuring listener with protocol HTTP for interface localhost and port 0
06:24:59.038 [XNIO-57 I/O-7] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-57 I/O-7', selector sun.nio.ch.EPollSelectorImpl@55dd7d7d
06:24:59.038 [XNIO-57 I/O-8] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-57 I/O-8', selector sun.nio.ch.EPollSelectorImpl@7d57d6b1
06:24:59.038 [XNIO-57 Accept] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-57 Accept', selector sun.nio.ch.EPollSelectorImpl@7e95f2cf
06:24:59.050 [Test worker] DEBUG groovyx.net.http.JavaHttpBuilder - Request-URI(GET): http://localhost:40141/jackson
06:24:59.050 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Accept-Encoding -> [gzip, deflate]
06:24:59.050 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Content-Type -> [jackson/json; charset=utf-8]
06:24:59.052 [XNIO-57 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Request: { GET /jackson (query=[:], headers={Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Connection=[keep-alive], Accept-Encoding=[gzip, deflate], Content-Type=[jackson/json; charset=utf-8], User-Agent=[Java/1.8.0_131], Host=[localhost:40141]}, cookies=[:]): <empty> }
06:24:59.052 [XNIO-57 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Response({Content-Type=[jackson/json]}): {"alpha":"bravo","charlie":42}
06:24:59.053 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.content - Response-Body: {"alpha":"bravo","charlie":42}
06:24:59.053 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Encoding -> gzip
06:24:59.053 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Connection -> keep-alive
06:24:59.053 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Type -> jackson/json
06:24:59.053 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Length -> 50
06:24:59.053 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Date -> Mon, 20 Nov 2017 12:24:50 GMT
06:24:59.114 [Test worker] DEBUG ersatz.undertow - stopping undertow server ersatz.undertow.Undertow@2b181f41
06:24:59.115 [Test worker] DEBUG ersatz.undertow - starting undertow server ersatz.undertow.Undertow@370a85f8
06:24:59.117 [XNIO-58 I/O-1] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-58 I/O-1', selector sun.nio.ch.EPollSelectorImpl@5c4ac7eb
06:24:59.117 [XNIO-58 I/O-2] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-58 I/O-2', selector sun.nio.ch.EPollSelectorImpl@7934f92e
06:24:59.118 [XNIO-58 I/O-3] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-58 I/O-3', selector sun.nio.ch.EPollSelectorImpl@4d79660b
06:24:59.129 [XNIO-58 I/O-4] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-58 I/O-4', selector sun.nio.ch.EPollSelectorImpl@65da40d7
06:24:59.130 [XNIO-58 I/O-5] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-58 I/O-5', selector sun.nio.ch.EPollSelectorImpl@3dff01b8
06:24:59.138 [XNIO-58 I/O-6] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-58 I/O-6', selector sun.nio.ch.EPollSelectorImpl@2a8e55d2
06:24:59.142 [XNIO-58 I/O-7] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-58 I/O-7', selector sun.nio.ch.EPollSelectorImpl@623eb334
06:24:59.146 [XNIO-58 I/O-8] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-58 I/O-8', selector sun.nio.ch.EPollSelectorImpl@5785437e
06:24:59.147 [Test worker] DEBUG ersatz.undertow - Configuring listener with protocol HTTP for interface localhost and port 0
06:24:59.148 [XNIO-58 Accept] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-58 Accept', selector sun.nio.ch.EPollSelectorImpl@135d65bc
06:24:59.153 [Test worker] DEBUG groovyx.net.http.JavaHttpBuilder - Request-URI(GET): http://localhost:38275/json
06:24:59.153 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Accept-Encoding -> [gzip, deflate]
06:24:59.154 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Content-Type -> [application/json; charset=utf-8]
06:24:59.154 [XNIO-58 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Request: { GET /json (query=[:], headers={Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Connection=[keep-alive], Accept-Encoding=[gzip, deflate], Content-Type=[application/json; charset=utf-8], User-Agent=[Java/1.8.0_131], Host=[localhost:38275]}, cookies=[:]): <empty> }
06:24:59.155 [XNIO-58 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Response({Content-Type=[application/json]}): {"alpha":"bravo","charlie":42}
06:24:59.155 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.content - Response-Body: {"alpha":"bravo","charlie":42}
06:24:59.156 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Encoding -> gzip
06:24:59.156 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Connection -> keep-alive
06:24:59.156 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Type -> application/json
06:24:59.156 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Length -> 50
06:24:59.156 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Date -> Mon, 20 Nov 2017 12:24:50 GMT
06:24:59.157 [Test worker] DEBUG ersatz.undertow - stopping undertow server ersatz.undertow.Undertow@370a85f8
06:24:59.159 [Test worker] DEBUG ersatz.undertow - starting undertow server ersatz.undertow.Undertow@5ed8a01c
06:24:59.170 [XNIO-59 I/O-1] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-59 I/O-1', selector sun.nio.ch.EPollSelectorImpl@54c74b8
06:24:59.175 [XNIO-59 I/O-4] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-59 I/O-4', selector sun.nio.ch.EPollSelectorImpl@18f67f1b
06:24:59.175 [XNIO-59 I/O-6] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-59 I/O-6', selector sun.nio.ch.EPollSelectorImpl@675be840
06:24:59.175 [XNIO-59 I/O-2] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-59 I/O-2', selector sun.nio.ch.EPollSelectorImpl@78910223
06:24:59.175 [Test worker] DEBUG ersatz.undertow - Configuring listener with protocol HTTP for interface localhost and port 0
06:24:59.175 [XNIO-59 I/O-3] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-59 I/O-3', selector sun.nio.ch.EPollSelectorImpl@48d8d915
06:24:59.175 [XNIO-59 Accept] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-59 Accept', selector sun.nio.ch.EPollSelectorImpl@2227414a
06:24:59.175 [XNIO-59 I/O-8] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-59 I/O-8', selector sun.nio.ch.EPollSelectorImpl@33a47c39
06:24:59.175 [XNIO-59 I/O-7] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-59 I/O-7', selector sun.nio.ch.EPollSelectorImpl@79fe0fba
06:24:59.175 [XNIO-59 I/O-5] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-59 I/O-5', selector sun.nio.ch.EPollSelectorImpl@23437417
06:24:59.180 [Test worker] DEBUG groovyx.net.http.JavaHttpBuilder - Request-URI(GET): http://localhost:41205/jackson
06:24:59.180 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Accept-Encoding -> [gzip, deflate]
06:24:59.180 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Content-Type -> [jackson/json; charset=utf-8]
06:24:59.182 [XNIO-59 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Request: { GET /jackson (query=[:], headers={Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Connection=[keep-alive], Accept-Encoding=[gzip, deflate], Content-Type=[jackson/json; charset=utf-8], User-Agent=[Java/1.8.0_131], Host=[localhost:41205]}, cookies=[:]): <empty> }
06:24:59.182 [XNIO-59 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Response({Content-Type=[jackson/json]}): {"alpha":"bravo","charlie":42}
06:24:59.183 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.content - Response-Body: {"alpha":"bravo","charlie":42}
06:24:59.183 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Encoding -> gzip
06:24:59.183 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Connection -> keep-alive
06:24:59.183 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Type -> jackson/json
06:24:59.183 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Length -> 50
06:24:59.183 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Date -> Mon, 20 Nov 2017 12:24:50 GMT
06:24:59.185 [Test worker] DEBUG ersatz.undertow - stopping undertow server ersatz.undertow.Undertow@5ed8a01c
06:24:59.186 [Test worker] DEBUG ersatz.undertow - starting undertow server ersatz.undertow.Undertow@3cd56ab6
06:24:59.191 [XNIO-60 I/O-2] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-60 I/O-2', selector sun.nio.ch.EPollSelectorImpl@28e75224
06:24:59.192 [XNIO-60 I/O-3] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-60 I/O-3', selector sun.nio.ch.EPollSelectorImpl@108c89a
06:24:59.191 [XNIO-60 I/O-1] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-60 I/O-1', selector sun.nio.ch.EPollSelectorImpl@200e09e0
06:24:59.193 [XNIO-60 I/O-4] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-60 I/O-4', selector sun.nio.ch.EPollSelectorImpl@1f507f60
06:24:59.194 [XNIO-60 I/O-5] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-60 I/O-5', selector sun.nio.ch.EPollSelectorImpl@31a33fc0
06:24:59.194 [XNIO-60 I/O-6] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-60 I/O-6', selector sun.nio.ch.EPollSelectorImpl@524295ad
06:24:59.198 [XNIO-60 I/O-7] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-60 I/O-7', selector sun.nio.ch.EPollSelectorImpl@13f8495
06:24:59.202 [XNIO-60 I/O-8] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-60 I/O-8', selector sun.nio.ch.EPollSelectorImpl@3f7d48c2
06:24:59.210 [Test worker] DEBUG ersatz.undertow - Configuring listener with protocol HTTP for interface localhost and port 0
06:24:59.210 [XNIO-60 Accept] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-60 Accept', selector sun.nio.ch.EPollSelectorImpl@252a36c
06:24:59.216 [Test worker] DEBUG groovyx.net.http.JavaHttpBuilder - Request-URI(GET): http://localhost:37177/json
06:24:59.216 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Accept-Encoding -> [gzip, deflate]
06:24:59.216 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Content-Type -> [application/json; charset=utf-8]
06:24:59.219 [XNIO-60 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Request: { GET /json (query=[:], headers={Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Connection=[keep-alive], Accept-Encoding=[gzip, deflate], Content-Type=[application/json; charset=utf-8], User-Agent=[Java/1.8.0_131], Host=[localhost:37177]}, cookies=[:]): <empty> }
06:24:59.219 [XNIO-60 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Response({Content-Type=[application/json]}): {"alpha":"bravo","charlie":42}
06:24:59.220 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.content - Response-Body: {"alpha":"bravo","charlie":42}
06:24:59.220 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Encoding -> gzip
06:24:59.220 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Connection -> keep-alive
06:24:59.220 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Type -> application/json
06:24:59.220 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Length -> 50
06:24:59.220 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Date -> Mon, 20 Nov 2017 12:24:50 GMT
06:24:59.222 [Test worker] DEBUG ersatz.undertow - stopping undertow server ersatz.undertow.Undertow@3cd56ab6