Gradle Test Run :bootstrap:test
malformed_json_returns_400_json()
summary
|
100%
successful |
standard output
2026-05-12T15:59:43.215+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-05-12T15:59:43.215+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet ''
2026-05-12T15:59:43.217+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 2 ms
2026-05-12T15:59:43.220+09:00 DEBUG 3742337 --- [ Test worker] [traceId=d7a73beebf9319316d2f2386bf85a9f4] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.project.auth.ExceptionHandlingIntegrationTest$TestExceptionController#bodyEndpoint(Map)
2026-05-12T15:59:43.221+09:00 DEBUG 3742337 --- [ Test worker] [traceId=d7a73beebf9319316d2f2386bf85a9f4] o.s.web.method.HandlerMethod : Could not resolve parameter [0] in java.lang.String com.project.auth.ExceptionHandlingIntegrationTest$TestExceptionController.bodyEndpoint(java.util.Map<java.lang.String, java.lang.Object>): JSON parse error: Unexpected character ('i' (code 105)): was expecting double-quote to start property name
2026-05-12T15:59:43.221+09:00 DEBUG 3742337 --- [ Test worker] [traceId=d7a73beebf9319316d2f2386bf85a9f4] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler com.project.auth.presentation.support.exception.RequestExceptionHandler#handleMessageNotReadableException(HttpMessageNotReadableException, HttpServletRequest)
2026-05-12T15:59:43.221+09:00 WARN 3742337 --- [ Test worker] [traceId=d7a73beebf9319316d2f2386bf85a9f4] c.p.a.p.s.e.RequestExceptionHandler : Request body not readable. method=POST requestPath=/test-support/body errorCode=PRES-002
2026-05-12T15:59:43.221+09:00 DEBUG 3742337 --- [ Test worker] [traceId=d7a73beebf9319316d2f2386bf85a9f4] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json, application/yaml]
2026-05-12T15:59:43.222+09:00 DEBUG 3742337 --- [ Test worker] [traceId=d7a73beebf9319316d2f2386bf85a9f4] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [ApiResult[success=false, code=PRES-002, message=요청 본문을 읽을 수 없습니다., data=null, errors=null, traceId=d (truncated)...]
2026-05-12T15:59:43.222+09:00 DEBUG 3742337 --- [ Test worker] [traceId=d7a73beebf9319316d2f2386bf85a9f4] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unexpected character ('i' (code 105)): was expecting double-quote to start property name]