Class groovyx.net.http.EncodersSpec

5

tests

0

failures

0

ignored

3.151s

duration

100%

successful

Tests

Test Duration Result
multipart 2.997s passed
multipart: file (bytes) 0.033s passed
multipart: file (path) 0.056s passed
multipart: file (stream) 0.034s passed
multipart: file (string) 0.031s passed

Standard output

06:24:48.921 [Test worker] DEBUG ersatz.jboss.logging - Logging Provider: ersatz.jboss.logging.Slf4jLoggerProvider
06:24:48.953 [Test worker] DEBUG ersatz.undertow - starting undertow server ersatz.undertow.Undertow@74d7e686
06:24:48.983 [Test worker] INFO ersatz.xnio - XNIO version 3.3.8.Final
06:24:49.051 [Test worker] INFO ersatz.xnio.nio - XNIO NIO Implementation Version 3.3.8.Final
06:24:49.162 [XNIO-1 I/O-1] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-1 I/O-1', selector sun.nio.ch.EPollSelectorImpl@7257d36c
06:24:49.168 [XNIO-1 I/O-3] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-1 I/O-3', selector sun.nio.ch.EPollSelectorImpl@6167738b
06:24:49.164 [XNIO-1 I/O-2] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-1 I/O-2', selector sun.nio.ch.EPollSelectorImpl@63841738
06:24:49.172 [XNIO-1 I/O-4] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-1 I/O-4', selector sun.nio.ch.EPollSelectorImpl@2ce89b53
06:24:49.173 [XNIO-1 I/O-5] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-1 I/O-5', selector sun.nio.ch.EPollSelectorImpl@bc55747
06:24:49.173 [XNIO-1 I/O-6] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-1 I/O-6', selector sun.nio.ch.EPollSelectorImpl@64b9c860
06:24:49.174 [XNIO-1 I/O-7] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-1 I/O-7', selector sun.nio.ch.EPollSelectorImpl@1b4e93fe
06:24:49.181 [XNIO-1 I/O-8] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-1 I/O-8', selector sun.nio.ch.EPollSelectorImpl@d0ad5a2
06:24:49.183 [XNIO-1 Accept] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-1 Accept', selector sun.nio.ch.EPollSelectorImpl@48a1e352
06:24:49.185 [Test worker] DEBUG ersatz.undertow - Configuring listener with protocol HTTP for interface localhost and port 0
06:24:49.566 [Test worker] DEBUG groovyx.net.http.JavaHttpBuilder - Request-URI(POST): http://localhost:40977/multi
06:24:49.579 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Accept-Encoding -> [gzip, deflate]
06:24:49.579 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Content-Type -> [multipart/mixed; 
	boundary="----=_Part_0_178960570.1511180689506"; charset=utf-8]
06:24:49.587 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.content - Request-Body(multipart/mixed; 
	boundary="----=_Part_0_178960570.1511180689506"): ------=_Part_0_178960570.1511180689506
Content-Type: text/plain
Content-Disposition: form-data; name="alpha"

one
------=_Part_0_178960570.1511180689506
Content-Type: text/plain
Content-Disposition: form-data; name="bravo"

two
------=_Part_0_178960570.1511180689506--

06:24:49.680 [XNIO-1 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Request: { POST /multi (query=[:], headers={Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Connection=[keep-alive], Accept-Encoding=[gzip, deflate], Content-Type=[multipart/mixed; boundary="----=_Part_0_178960570.1511180689506"; charset=utf-8], Content-Length=[280], User-Agent=[Java/1.8.0_131], Host=[localhost:40977]}, cookies=[:]): ------=_Part_0_178960570.1511180689506
Content-Type: text/plain
Content-Disposition: form-data; name="alpha"

one
------=_Part_0_178960570.1511180689506
Content-Type: text/plain
Content-Disposition: form-data; name="bravo"

two
------=_Part_0_178960570.1511180689506--
 }
06:24:49.883 [XNIO-1 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Response({Content-Type=[text/plain]}): ok
06:24:49.945 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.content - Response-Body: ok
06:24:49.945 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Encoding -> gzip
06:24:49.945 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Connection -> keep-alive
06:24:49.946 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Type -> text/plain
06:24:49.946 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Length -> 22
06:24:49.946 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Date -> Mon, 20 Nov 2017 12:24:49 GMT
06:24:50.213 [Test worker] DEBUG ersatz.undertow - stopping undertow server ersatz.undertow.Undertow@74d7e686
06:24:50.240 [Test worker] DEBUG ersatz.undertow - starting undertow server ersatz.undertow.Undertow@28a0fe40
06:24:50.245 [XNIO-2 I/O-2] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-2 I/O-2', selector sun.nio.ch.EPollSelectorImpl@12ff93e4
06:24:50.246 [XNIO-2 I/O-3] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-2 I/O-3', selector sun.nio.ch.EPollSelectorImpl@cc82fcd
06:24:50.245 [XNIO-2 I/O-1] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-2 I/O-1', selector sun.nio.ch.EPollSelectorImpl@c09ea87
06:24:50.250 [XNIO-2 I/O-4] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-2 I/O-4', selector sun.nio.ch.EPollSelectorImpl@1f129ec8
06:24:50.250 [XNIO-2 I/O-5] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-2 I/O-5', selector sun.nio.ch.EPollSelectorImpl@63c4f551
06:24:50.251 [XNIO-2 I/O-7] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-2 I/O-7', selector sun.nio.ch.EPollSelectorImpl@6b4b51ee
06:24:50.251 [XNIO-2 I/O-6] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-2 I/O-6', selector sun.nio.ch.EPollSelectorImpl@5ab1b756
06:24:50.251 [XNIO-2 I/O-8] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-2 I/O-8', selector sun.nio.ch.EPollSelectorImpl@4a4b2312
06:24:50.251 [Test worker] DEBUG ersatz.undertow - Configuring listener with protocol HTTP for interface localhost and port 0
06:24:50.251 [XNIO-2 Accept] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-2 Accept', selector sun.nio.ch.EPollSelectorImpl@1924406e
06:24:50.262 [Test worker] DEBUG groovyx.net.http.JavaHttpBuilder - Request-URI(POST): http://localhost:36133/multi
06:24:50.262 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Accept-Encoding -> [gzip, deflate]
06:24:50.262 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Content-Type -> [multipart/mixed; 
	boundary="----=_Part_1_487560490.1511180690259"; charset=utf-8]
06:24:50.263 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.content - Request-Body(multipart/mixed; 
	boundary="----=_Part_1_487560490.1511180690259"): ------=_Part_1_487560490.1511180690259
Content-Type: text/plain
Content-Disposition: form-data; name="filea"; filename="file-a.txt"

some-a-content
------=_Part_1_487560490.1511180690259
Content-Type: text/plain
Content-Disposition: form-data; name="fileb"; filename="file-b.xtx"

some-b-content
------=_Part_1_487560490.1511180690259--

06:24:50.264 [XNIO-2 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Request: { POST /multi (query=[:], headers={Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Connection=[keep-alive], Accept-Encoding=[gzip, deflate], Content-Type=[multipart/mixed; boundary="----=_Part_1_487560490.1511180690259"; charset=utf-8], Content-Length=[348], User-Agent=[Java/1.8.0_131], Host=[localhost:36133]}, cookies=[:]): ------=_Part_1_487560490.1511180690259
Content-Type: text/plain
Content-Disposition: form-data; name="filea"; filename="file-a.txt"

some-a-content
------=_Part_1_487560490.1511180690259
Content-Type: text/plain
Content-Disposition: form-data; name="fileb"; filename="file-b.xtx"

some-b-content
------=_Part_1_487560490.1511180690259--
 }
06:24:50.271 [XNIO-2 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Response({Content-Type=[text/plain]}): ok
06:24:50.272 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.content - Response-Body: ok
06:24:50.272 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Encoding -> gzip
06:24:50.275 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Connection -> keep-alive
06:24:50.275 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Type -> text/plain
06:24:50.275 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Length -> 22
06:24:50.275 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Date -> Mon, 20 Nov 2017 12:24:50 GMT
06:24:50.276 [Test worker] DEBUG ersatz.undertow - stopping undertow server ersatz.undertow.Undertow@28a0fe40
06:24:50.281 [Test worker] DEBUG ersatz.undertow - starting undertow server ersatz.undertow.Undertow@3d3f0774
06:24:50.282 [XNIO-3 I/O-1] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-3 I/O-1', selector sun.nio.ch.EPollSelectorImpl@a25b81
06:24:50.283 [XNIO-3 I/O-2] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-3 I/O-2', selector sun.nio.ch.EPollSelectorImpl@12053eab
06:24:50.283 [XNIO-3 I/O-4] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-3 I/O-4', selector sun.nio.ch.EPollSelectorImpl@4d1c9506
06:24:50.283 [XNIO-3 I/O-5] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-3 I/O-5', selector sun.nio.ch.EPollSelectorImpl@230284ec
06:24:50.283 [XNIO-3 I/O-3] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-3 I/O-3', selector sun.nio.ch.EPollSelectorImpl@6a219da0
06:24:50.284 [XNIO-3 I/O-6] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-3 I/O-6', selector sun.nio.ch.EPollSelectorImpl@44d9c983
06:24:50.285 [XNIO-3 I/O-7] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-3 I/O-7', selector sun.nio.ch.EPollSelectorImpl@76186310
06:24:50.285 [XNIO-3 Accept] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-3 Accept', selector sun.nio.ch.EPollSelectorImpl@517212f0
06:24:50.285 [XNIO-3 I/O-8] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-3 I/O-8', selector sun.nio.ch.EPollSelectorImpl@67b863ad
06:24:50.285 [Test worker] DEBUG ersatz.undertow - Configuring listener with protocol HTTP for interface localhost and port 0
06:24:50.296 [Test worker] DEBUG groovyx.net.http.JavaHttpBuilder - Request-URI(POST): http://localhost:43145/multi
06:24:50.297 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Accept-Encoding -> [gzip, deflate]
06:24:50.297 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Content-Type -> [multipart/mixed; 
	boundary="----=_Part_2_986376886.1511180690296"; charset=utf-8]
06:24:50.297 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.content - Request-Body(multipart/mixed; 
	boundary="----=_Part_2_986376886.1511180690296"): ------=_Part_2_986376886.1511180690296
Content-Type: text/plain
Content-Disposition: form-data; name="filea"; filename="file-a.txt"

some-a-content
------=_Part_2_986376886.1511180690296
Content-Type: text/plain
Content-Disposition: form-data; name="fileb"; filename="file-b.xtx"

some-b-content
------=_Part_2_986376886.1511180690296--

06:24:50.302 [XNIO-3 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Request: { POST /multi (query=[:], headers={Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Connection=[keep-alive], Accept-Encoding=[gzip, deflate], Content-Type=[multipart/mixed; boundary="----=_Part_2_986376886.1511180690296"; charset=utf-8], Content-Length=[348], User-Agent=[Java/1.8.0_131], Host=[localhost:43145]}, cookies=[:]): ------=_Part_2_986376886.1511180690296
Content-Type: text/plain
Content-Disposition: form-data; name="filea"; filename="file-a.txt"

some-a-content
------=_Part_2_986376886.1511180690296
Content-Type: text/plain
Content-Disposition: form-data; name="fileb"; filename="file-b.xtx"

some-b-content
------=_Part_2_986376886.1511180690296--
 }
06:24:50.306 [XNIO-3 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Response({Content-Type=[text/plain]}): ok
06:24:50.307 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.content - Response-Body: ok
06:24:50.308 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Encoding -> gzip
06:24:50.308 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Connection -> keep-alive
06:24:50.308 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Type -> text/plain
06:24:50.308 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Length -> 22
06:24:50.308 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Date -> Mon, 20 Nov 2017 12:24:50 GMT
06:24:50.308 [Test worker] DEBUG ersatz.undertow - stopping undertow server ersatz.undertow.Undertow@3d3f0774
06:24:50.313 [Test worker] DEBUG ersatz.undertow - starting undertow server ersatz.undertow.Undertow@286d27
06:24:50.314 [XNIO-4 I/O-2] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-4 I/O-2', selector sun.nio.ch.EPollSelectorImpl@3212a6b
06:24:50.314 [XNIO-4 I/O-4] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-4 I/O-4', selector sun.nio.ch.EPollSelectorImpl@2de92641
06:24:50.315 [XNIO-4 I/O-6] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-4 I/O-6', selector sun.nio.ch.EPollSelectorImpl@4a2ee2e8
06:24:50.314 [XNIO-4 I/O-1] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-4 I/O-1', selector sun.nio.ch.EPollSelectorImpl@385e0e09
06:24:50.315 [XNIO-4 I/O-7] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-4 I/O-7', selector sun.nio.ch.EPollSelectorImpl@26eff9fb
06:24:50.314 [XNIO-4 I/O-3] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-4 I/O-3', selector sun.nio.ch.EPollSelectorImpl@579ab565
06:24:50.315 [XNIO-4 I/O-8] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-4 I/O-8', selector sun.nio.ch.EPollSelectorImpl@a233160
06:24:50.316 [Test worker] DEBUG ersatz.undertow - Configuring listener with protocol HTTP for interface localhost and port 0
06:24:50.314 [XNIO-4 I/O-5] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-4 I/O-5', selector sun.nio.ch.EPollSelectorImpl@2d4ec044
06:24:50.315 [XNIO-4 Accept] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-4 Accept', selector sun.nio.ch.EPollSelectorImpl@1d38993d
06:24:50.323 [Test worker] DEBUG groovyx.net.http.JavaHttpBuilder - Request-URI(POST): http://localhost:44423/multi
06:24:50.324 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Accept-Encoding -> [gzip, deflate]
06:24:50.324 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Content-Type -> [multipart/mixed; 
	boundary="----=_Part_3_991363731.1511180690323"; charset=utf-8]
06:24:50.324 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.content - Request-Body(multipart/mixed; 
	boundary="----=_Part_3_991363731.1511180690323"): ------=_Part_3_991363731.1511180690323
Content-Type: text/plain
Content-Disposition: form-data; name="filea"; filename="file-a.txt"

some-a-content
------=_Part_3_991363731.1511180690323
Content-Type: text/plain
Content-Disposition: form-data; name="fileb"; filename="file-b.xtx"

some-b-content
------=_Part_3_991363731.1511180690323--

06:24:50.326 [XNIO-4 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Request: { POST /multi (query=[:], headers={Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Connection=[keep-alive], Accept-Encoding=[gzip, deflate], Content-Type=[multipart/mixed; boundary="----=_Part_3_991363731.1511180690323"; charset=utf-8], Content-Length=[348], User-Agent=[Java/1.8.0_131], Host=[localhost:44423]}, cookies=[:]): ------=_Part_3_991363731.1511180690323
Content-Type: text/plain
Content-Disposition: form-data; name="filea"; filename="file-a.txt"

some-a-content
------=_Part_3_991363731.1511180690323
Content-Type: text/plain
Content-Disposition: form-data; name="fileb"; filename="file-b.xtx"

some-b-content
------=_Part_3_991363731.1511180690323--
 }
06:24:50.331 [XNIO-4 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Response({Content-Type=[text/plain]}): ok
06:24:50.332 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.content - Response-Body: ok
06:24:50.332 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Encoding -> gzip
06:24:50.332 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Connection -> keep-alive
06:24:50.332 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Type -> text/plain
06:24:50.332 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Length -> 22
06:24:50.332 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Date -> Mon, 20 Nov 2017 12:24:50 GMT
06:24:50.332 [Test worker] DEBUG ersatz.undertow - stopping undertow server ersatz.undertow.Undertow@286d27
06:24:50.346 [Test worker] DEBUG ersatz.undertow - starting undertow server ersatz.undertow.Undertow@2b153aed
06:24:50.351 [XNIO-5 I/O-1] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-5 I/O-1', selector sun.nio.ch.EPollSelectorImpl@4c8a0d7c
06:24:50.352 [XNIO-5 I/O-3] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-5 I/O-3', selector sun.nio.ch.EPollSelectorImpl@36ae86ea
06:24:50.351 [XNIO-5 I/O-2] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-5 I/O-2', selector sun.nio.ch.EPollSelectorImpl@17e3d9f4
06:24:50.354 [XNIO-5 I/O-4] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-5 I/O-4', selector sun.nio.ch.EPollSelectorImpl@3d0220c3
06:24:50.354 [XNIO-5 I/O-5] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-5 I/O-5', selector sun.nio.ch.EPollSelectorImpl@646fcd9c
06:24:50.355 [XNIO-5 I/O-7] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-5 I/O-7', selector sun.nio.ch.EPollSelectorImpl@96ff822
06:24:50.355 [XNIO-5 I/O-6] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-5 I/O-6', selector sun.nio.ch.EPollSelectorImpl@60aa203a
06:24:50.356 [XNIO-5 I/O-8] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-5 I/O-8', selector sun.nio.ch.EPollSelectorImpl@39eab7c9
06:24:50.356 [Test worker] DEBUG ersatz.undertow - Configuring listener with protocol HTTP for interface localhost and port 0
06:24:50.356 [XNIO-5 Accept] DEBUG ersatz.xnio.nio - Started channel thread 'XNIO-5 Accept', selector sun.nio.ch.EPollSelectorImpl@539a8406
06:24:50.362 [Test worker] DEBUG groovyx.net.http.JavaHttpBuilder - Request-URI(POST): http://localhost:38953/multi
06:24:50.362 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Accept-Encoding -> [gzip, deflate]
06:24:50.362 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Request-Header: Content-Type -> [multipart/mixed; 
	boundary="----=_Part_4_1576367559.1511180690361"; charset=utf-8]
06:24:50.363 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.content - Request-Body(multipart/mixed; 
	boundary="----=_Part_4_1576367559.1511180690361"): ------=_Part_4_1576367559.1511180690361
Content-Type: text/plain
Content-Disposition: form-data; name="filea"; filename="file-a.txt"

some-a-content
------=_Part_4_1576367559.1511180690361
Content-Type: text/plain
Content-Disposition: form-data; name="fileb"; filename="file-b.xtx"

some-b-content
------=_Part_4_1576367559.1511180690361--

06:24:50.366 [XNIO-5 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Request: { POST /multi (query=[:], headers={Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Connection=[keep-alive], Accept-Encoding=[gzip, deflate], Content-Type=[multipart/mixed; boundary="----=_Part_4_1576367559.1511180690361"; charset=utf-8], Content-Length=[351], User-Agent=[Java/1.8.0_131], Host=[localhost:38953]}, cookies=[:]): ------=_Part_4_1576367559.1511180690361
Content-Type: text/plain
Content-Disposition: form-data; name="filea"; filename="file-a.txt"

some-a-content
------=_Part_4_1576367559.1511180690361
Content-Type: text/plain
Content-Disposition: form-data; name="fileb"; filename="file-b.xtx"

some-b-content
------=_Part_4_1576367559.1511180690361--
 }
06:24:50.369 [XNIO-5 task-1] DEBUG com.stehno.ersatz.ErsatzServer - Response({Content-Type=[text/plain]}): ok
06:24:50.370 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.content - Response-Body: ok
06:24:50.370 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Encoding -> gzip
06:24:50.370 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Connection -> keep-alive
06:24:50.370 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Type -> text/plain
06:24:50.370 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Content-Length -> 22
06:24:50.370 [Test worker] DEBUG groovy.net.http.JavaHttpBuilder.headers - Response-Header: Date -> Mon, 20 Nov 2017 12:24:50 GMT
06:24:50.373 [Test worker] DEBUG ersatz.undertow - stopping undertow server ersatz.undertow.Undertow@2b153aed