Class groovyx.net.http.optional.DownloadSpec

6

tests

0

failures

0

ignored

0.059s

duration

100%

successful

Tests

Test Duration Result
toFile 0.008s passed
toFile with contentType 0.014s passed
toStream 0.010s passed
toStream with contentType 0.008s passed
toTempFile 0.012s passed
toTempFile with contentType 0.007s passed

Standard output

07:28:27.146 [Test worker] DEBUG io.undertow - starting undertow server io.undertow.Undertow@3c78a5ea
07:28:27.147 [XNIO-263 I/O-3] DEBUG org.xnio.nio - Started channel thread 'XNIO-263 I/O-3', selector sun.nio.ch.EPollSelectorImpl@4d571f29
07:28:27.147 [XNIO-263 I/O-1] DEBUG org.xnio.nio - Started channel thread 'XNIO-263 I/O-1', selector sun.nio.ch.EPollSelectorImpl@139c757d
07:28:27.147 [XNIO-263 I/O-2] DEBUG org.xnio.nio - Started channel thread 'XNIO-263 I/O-2', selector sun.nio.ch.EPollSelectorImpl@f33789
07:28:27.147 [XNIO-263 I/O-5] DEBUG org.xnio.nio - Started channel thread 'XNIO-263 I/O-5', selector sun.nio.ch.EPollSelectorImpl@7e312de5
07:28:27.147 [XNIO-263 I/O-4] DEBUG org.xnio.nio - Started channel thread 'XNIO-263 I/O-4', selector sun.nio.ch.EPollSelectorImpl@601351ed
07:28:27.147 [XNIO-263 I/O-6] DEBUG org.xnio.nio - Started channel thread 'XNIO-263 I/O-6', selector sun.nio.ch.EPollSelectorImpl@2c96f31c
07:28:27.147 [XNIO-263 I/O-7] DEBUG org.xnio.nio - Started channel thread 'XNIO-263 I/O-7', selector sun.nio.ch.EPollSelectorImpl@3c958bd3
07:28:27.147 [XNIO-263 I/O-8] DEBUG org.xnio.nio - Started channel thread 'XNIO-263 I/O-8', selector sun.nio.ch.EPollSelectorImpl@14f6180
07:28:27.147 [XNIO-263 Accept] DEBUG org.xnio.nio - Started channel thread 'XNIO-263 Accept', selector sun.nio.ch.EPollSelectorImpl@1cbc462f
07:28:27.147 [Test worker] DEBUG io.undertow - Configuring listener with protocol HTTP for interface localhost and port 0
07:28:27.153 [XNIO-263 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Request: { GET /download (query=[:], headers={Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Connection=[keep-alive], Accept-Encoding=[gzip, deflate], User-Agent=[Java/1.8.0_121], Host=[localhost:46515]}, cookies=[:]): <empty> }
07:28:27.153 [XNIO-263 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Response({Content-Type=[text/plain]}): This is some file content.
07:28:27.154 [Test worker] DEBUG io.undertow - stopping undertow server io.undertow.Undertow@3c78a5ea
07:28:27.156 [Test worker] DEBUG io.undertow - starting undertow server io.undertow.Undertow@48113eb5
07:28:27.157 [Test worker] DEBUG io.undertow - Configuring listener with protocol HTTP for interface localhost and port 0
07:28:27.157 [XNIO-264 I/O-2] DEBUG org.xnio.nio - Started channel thread 'XNIO-264 I/O-2', selector sun.nio.ch.EPollSelectorImpl@36f9e1c0
07:28:27.157 [XNIO-264 I/O-7] DEBUG org.xnio.nio - Started channel thread 'XNIO-264 I/O-7', selector sun.nio.ch.EPollSelectorImpl@791aa3cb
07:28:27.157 [XNIO-264 I/O-3] DEBUG org.xnio.nio - Started channel thread 'XNIO-264 I/O-3', selector sun.nio.ch.EPollSelectorImpl@1aacdbb6
07:28:27.157 [XNIO-264 I/O-1] DEBUG org.xnio.nio - Started channel thread 'XNIO-264 I/O-1', selector sun.nio.ch.EPollSelectorImpl@6b05de33
07:28:27.157 [XNIO-264 I/O-4] DEBUG org.xnio.nio - Started channel thread 'XNIO-264 I/O-4', selector sun.nio.ch.EPollSelectorImpl@21c032db
07:28:27.157 [XNIO-264 Accept] DEBUG org.xnio.nio - Started channel thread 'XNIO-264 Accept', selector sun.nio.ch.EPollSelectorImpl@63bcf081
07:28:27.157 [XNIO-264 I/O-6] DEBUG org.xnio.nio - Started channel thread 'XNIO-264 I/O-6', selector sun.nio.ch.EPollSelectorImpl@14d252da
07:28:27.157 [XNIO-264 I/O-8] DEBUG org.xnio.nio - Started channel thread 'XNIO-264 I/O-8', selector sun.nio.ch.EPollSelectorImpl@16bf9aca
07:28:27.157 [XNIO-264 I/O-5] DEBUG org.xnio.nio - Started channel thread 'XNIO-264 I/O-5', selector sun.nio.ch.EPollSelectorImpl@4d6b3da1
07:28:27.160 [XNIO-264 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Request: { GET /download (query=[:], headers={Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Connection=[keep-alive], Accept-Encoding=[gzip, deflate], User-Agent=[Java/1.8.0_121], Host=[localhost:34109]}, cookies=[:]): <empty> }
07:28:27.160 [XNIO-264 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Response({Content-Type=[text/plain]}): This is some file content.
07:28:27.161 [Test worker] DEBUG io.undertow - stopping undertow server io.undertow.Undertow@48113eb5
07:28:27.163 [Test worker] DEBUG io.undertow - starting undertow server io.undertow.Undertow@3eb25411
07:28:27.164 [XNIO-265 I/O-2] DEBUG org.xnio.nio - Started channel thread 'XNIO-265 I/O-2', selector sun.nio.ch.EPollSelectorImpl@5d500f4b
07:28:27.164 [XNIO-265 I/O-1] DEBUG org.xnio.nio - Started channel thread 'XNIO-265 I/O-1', selector sun.nio.ch.EPollSelectorImpl@696c8d55
07:28:27.164 [XNIO-265 I/O-3] DEBUG org.xnio.nio - Started channel thread 'XNIO-265 I/O-3', selector sun.nio.ch.EPollSelectorImpl@103a11ed
07:28:27.164 [Test worker] DEBUG io.undertow - Configuring listener with protocol HTTP for interface localhost and port 0
07:28:27.164 [XNIO-265 I/O-5] DEBUG org.xnio.nio - Started channel thread 'XNIO-265 I/O-5', selector sun.nio.ch.EPollSelectorImpl@596e5c88
07:28:27.164 [XNIO-265 I/O-6] DEBUG org.xnio.nio - Started channel thread 'XNIO-265 I/O-6', selector sun.nio.ch.EPollSelectorImpl@7509a1b
07:28:27.164 [XNIO-265 Accept] DEBUG org.xnio.nio - Started channel thread 'XNIO-265 Accept', selector sun.nio.ch.EPollSelectorImpl@6f5ba7f1
07:28:27.164 [XNIO-265 I/O-8] DEBUG org.xnio.nio - Started channel thread 'XNIO-265 I/O-8', selector sun.nio.ch.EPollSelectorImpl@4e8de7c2
07:28:27.164 [XNIO-265 I/O-7] DEBUG org.xnio.nio - Started channel thread 'XNIO-265 I/O-7', selector sun.nio.ch.EPollSelectorImpl@37f06f66
07:28:27.164 [XNIO-265 I/O-4] DEBUG org.xnio.nio - Started channel thread 'XNIO-265 I/O-4', selector sun.nio.ch.EPollSelectorImpl@5364a032
07:28:27.168 [XNIO-265 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Request: { GET /download (query=[:], headers={Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Connection=[keep-alive], Accept-Encoding=[gzip, deflate], User-Agent=[Java/1.8.0_121], Host=[localhost:38971]}, cookies=[:]): <empty> }
07:28:27.168 [XNIO-265 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Response({Content-Type=[text/plain]}): This is some file content.
07:28:27.169 [Test worker] DEBUG io.undertow - stopping undertow server io.undertow.Undertow@3eb25411
07:28:27.171 [Test worker] DEBUG io.undertow - starting undertow server io.undertow.Undertow@33eb934
07:28:27.172 [XNIO-266 I/O-1] DEBUG org.xnio.nio - Started channel thread 'XNIO-266 I/O-1', selector sun.nio.ch.EPollSelectorImpl@3a54619f
07:28:27.172 [XNIO-266 I/O-2] DEBUG org.xnio.nio - Started channel thread 'XNIO-266 I/O-2', selector sun.nio.ch.EPollSelectorImpl@754f5fd3
07:28:27.172 [XNIO-266 I/O-3] DEBUG org.xnio.nio - Started channel thread 'XNIO-266 I/O-3', selector sun.nio.ch.EPollSelectorImpl@5e2db505
07:28:27.172 [XNIO-266 I/O-4] DEBUG org.xnio.nio - Started channel thread 'XNIO-266 I/O-4', selector sun.nio.ch.EPollSelectorImpl@130641d7
07:28:27.172 [XNIO-266 I/O-5] DEBUG org.xnio.nio - Started channel thread 'XNIO-266 I/O-5', selector sun.nio.ch.EPollSelectorImpl@1d28c2e8
07:28:27.177 [XNIO-266 I/O-6] DEBUG org.xnio.nio - Started channel thread 'XNIO-266 I/O-6', selector sun.nio.ch.EPollSelectorImpl@4686422e
07:28:27.177 [Test worker] DEBUG io.undertow - Configuring listener with protocol HTTP for interface localhost and port 0
07:28:27.177 [XNIO-266 I/O-7] DEBUG org.xnio.nio - Started channel thread 'XNIO-266 I/O-7', selector sun.nio.ch.EPollSelectorImpl@71f32234
07:28:27.177 [XNIO-266 Accept] DEBUG org.xnio.nio - Started channel thread 'XNIO-266 Accept', selector sun.nio.ch.EPollSelectorImpl@74250c2e
07:28:27.177 [XNIO-266 I/O-8] DEBUG org.xnio.nio - Started channel thread 'XNIO-266 I/O-8', selector sun.nio.ch.EPollSelectorImpl@473d674d
07:28:27.182 [XNIO-266 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Request: { GET /download (query=[:], headers={Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Connection=[keep-alive], Accept-Encoding=[gzip, deflate], User-Agent=[Java/1.8.0_121], Host=[localhost:36657]}, cookies=[:]): <empty> }
07:28:27.182 [XNIO-266 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Response({Content-Type=[text/plain]}): This is some file content.
07:28:27.183 [Test worker] DEBUG io.undertow - stopping undertow server io.undertow.Undertow@33eb934
07:28:27.185 [Test worker] DEBUG io.undertow - starting undertow server io.undertow.Undertow@1c7d3513
07:28:27.186 [XNIO-267 I/O-1] DEBUG org.xnio.nio - Started channel thread 'XNIO-267 I/O-1', selector sun.nio.ch.EPollSelectorImpl@45a43f2f
07:28:27.186 [XNIO-267 I/O-2] DEBUG org.xnio.nio - Started channel thread 'XNIO-267 I/O-2', selector sun.nio.ch.EPollSelectorImpl@6deeb023
07:28:27.186 [XNIO-267 I/O-4] DEBUG org.xnio.nio - Started channel thread 'XNIO-267 I/O-4', selector sun.nio.ch.EPollSelectorImpl@2ff012c4
07:28:27.186 [XNIO-267 I/O-5] DEBUG org.xnio.nio - Started channel thread 'XNIO-267 I/O-5', selector sun.nio.ch.EPollSelectorImpl@53315386
07:28:27.187 [Test worker] DEBUG io.undertow - Configuring listener with protocol HTTP for interface localhost and port 0
07:28:27.187 [XNIO-267 I/O-6] DEBUG org.xnio.nio - Started channel thread 'XNIO-267 I/O-6', selector sun.nio.ch.EPollSelectorImpl@41cde08f
07:28:27.187 [XNIO-267 I/O-8] DEBUG org.xnio.nio - Started channel thread 'XNIO-267 I/O-8', selector sun.nio.ch.EPollSelectorImpl@1d550a5d
07:28:27.187 [XNIO-267 I/O-7] DEBUG org.xnio.nio - Started channel thread 'XNIO-267 I/O-7', selector sun.nio.ch.EPollSelectorImpl@45b633d6
07:28:27.187 [XNIO-267 I/O-3] DEBUG org.xnio.nio - Started channel thread 'XNIO-267 I/O-3', selector sun.nio.ch.EPollSelectorImpl@6acc49bf
07:28:27.187 [XNIO-267 Accept] DEBUG org.xnio.nio - Started channel thread 'XNIO-267 Accept', selector sun.nio.ch.EPollSelectorImpl@16562e12
07:28:27.192 [XNIO-267 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Request: { GET /download (query=[:], headers={Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Connection=[keep-alive], Accept-Encoding=[gzip, deflate], User-Agent=[Java/1.8.0_121], Host=[localhost:46473]}, cookies=[:]): <empty> }
07:28:27.192 [XNIO-267 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Response({Content-Type=[text/plain]}): This is some file content.
07:28:27.193 [Test worker] DEBUG io.undertow - stopping undertow server io.undertow.Undertow@1c7d3513
07:28:27.195 [Test worker] DEBUG io.undertow - starting undertow server io.undertow.Undertow@3921ac32
07:28:27.196 [XNIO-268 I/O-5] DEBUG org.xnio.nio - Started channel thread 'XNIO-268 I/O-5', selector sun.nio.ch.EPollSelectorImpl@615ca59f
07:28:27.196 [XNIO-268 I/O-1] DEBUG org.xnio.nio - Started channel thread 'XNIO-268 I/O-1', selector sun.nio.ch.EPollSelectorImpl@5d253af6
07:28:27.196 [XNIO-268 I/O-4] DEBUG org.xnio.nio - Started channel thread 'XNIO-268 I/O-4', selector sun.nio.ch.EPollSelectorImpl@56243e0b
07:28:27.196 [XNIO-268 I/O-6] DEBUG org.xnio.nio - Started channel thread 'XNIO-268 I/O-6', selector sun.nio.ch.EPollSelectorImpl@1d059bd2
07:28:27.196 [XNIO-268 I/O-3] DEBUG org.xnio.nio - Started channel thread 'XNIO-268 I/O-3', selector sun.nio.ch.EPollSelectorImpl@6222b01d
07:28:27.196 [XNIO-268 I/O-2] DEBUG org.xnio.nio - Started channel thread 'XNIO-268 I/O-2', selector sun.nio.ch.EPollSelectorImpl@a3abc61
07:28:27.196 [XNIO-268 I/O-8] DEBUG org.xnio.nio - Started channel thread 'XNIO-268 I/O-8', selector sun.nio.ch.EPollSelectorImpl@69cfc288
07:28:27.196 [XNIO-268 I/O-7] DEBUG org.xnio.nio - Started channel thread 'XNIO-268 I/O-7', selector sun.nio.ch.EPollSelectorImpl@9fb299d
07:28:27.196 [Test worker] DEBUG io.undertow - Configuring listener with protocol HTTP for interface localhost and port 0
07:28:27.196 [XNIO-268 Accept] DEBUG org.xnio.nio - Started channel thread 'XNIO-268 Accept', selector sun.nio.ch.EPollSelectorImpl@696ee5e
07:28:27.200 [XNIO-268 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Request: { GET /download (query=[:], headers={Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Connection=[keep-alive], Accept-Encoding=[gzip, deflate], User-Agent=[Java/1.8.0_121], Host=[localhost:35045]}, cookies=[:]): <empty> }
07:28:27.200 [XNIO-268 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Response({Content-Type=[text/plain]}): This is some file content.
07:28:27.200 [Test worker] DEBUG io.undertow - stopping undertow server io.undertow.Undertow@3921ac32