Class io.micronaut.http.server.netty.status.CustomStaticMappingGlobalSpec
Tests
Test |
Duration |
Result |
test that a bad request is handled is handled by a globally marked controller method |
0.030s |
passed |
test that a bad request response for invalid request data can be handled by a globally marked controller method |
0.026s |
passed |
test that a not found response request data can be handled by a local method |
0.004s |
passed |
Standard output
00:20:25.275 [Test worker] INFO i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:20:25.278 [Test worker] INFO i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:20:25.395 [nioEventLoopGroup-21-8] ERROR i.m.h.s.netty.RoutingInBoundHandler - Unexpected error occurred: Required argument [Integer age] not specified
io.micronaut.web.router.exceptions.UnsatisfiedRouteException: Required argument [Integer age] not specified
at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:275)
at io.micronaut.web.router.RouteMatch.execute(RouteMatch.java:123)
at io.micronaut.http.server.netty.RoutingInBoundHandler.lambda$buildResultEmitter$13(RoutingInBoundHandler.java:1126)
at io.reactivex.internal.operators.flowable.FlowableCreate.subscribeActual(FlowableCreate.java:72)
at io.reactivex.Flowable.subscribe(Flowable.java:14349)
at io.reactivex.internal.operators.flowable.FlowableMap.subscribeActual(FlowableMap.java:38)
at io.reactivex.Flowable.subscribe(Flowable.java:14349)
at io.reactivex.internal.operators.flowable.FlowableSwitchIfEmpty.subscribeActual(FlowableSwitchIfEmpty.java:32)
at io.reactivex.Flowable.subscribe(Flowable.java:14349)
at io.reactivex.Flowable.subscribe(Flowable.java:14295)
at io.reactivex.internal.operators.flowable.FlowableSubscribeOn$SubscribeOnSubscriber.run(FlowableSubscribeOn.java:82)
at io.reactivex.internal.schedulers.ExecutorScheduler$ExecutorWorker$BooleanRunnable.run(ExecutorScheduler.java:261)
at io.reactivex.internal.schedulers.ExecutorScheduler$ExecutorWorker.run(ExecutorScheduler.java:226)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
00:20:25.404 [nioEventLoopGroup-21-9] ERROR i.m.h.s.netty.RoutingInBoundHandler - Unexpected error occurred: Required argument [Integer age] not specified
io.micronaut.web.router.exceptions.UnsatisfiedRouteException: Required argument [Integer age] not specified
at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:275)
at io.micronaut.web.router.RouteMatch.execute(RouteMatch.java:123)
at io.micronaut.http.server.netty.RoutingInBoundHandler.lambda$buildResultEmitter$13(RoutingInBoundHandler.java:1126)
at io.reactivex.internal.operators.flowable.FlowableCreate.subscribeActual(FlowableCreate.java:72)
at io.reactivex.Flowable.subscribe(Flowable.java:14349)
at io.reactivex.internal.operators.flowable.FlowableMap.subscribeActual(FlowableMap.java:38)
at io.reactivex.Flowable.subscribe(Flowable.java:14349)
at io.reactivex.internal.operators.flowable.FlowableSwitchIfEmpty.subscribeActual(FlowableSwitchIfEmpty.java:32)
at io.reactivex.Flowable.subscribe(Flowable.java:14349)
at io.reactivex.Flowable.subscribe(Flowable.java:14295)
at io.reactivex.internal.operators.flowable.FlowableSubscribeOn$SubscribeOnSubscriber.run(FlowableSubscribeOn.java:82)
at io.reactivex.internal.schedulers.ExecutorScheduler$ExecutorWorker$BooleanRunnable.run(ExecutorScheduler.java:261)
at io.reactivex.internal.schedulers.ExecutorScheduler$ExecutorWorker.run(ExecutorScheduler.java:226)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)