TriggerMessageTest

8

tests

0

failures

0

ignored

22.346s

duration

100%

successful

Tests

Test Method name Duration Result
TriggerMessage - BootNotification check1() 3.220s passed
TriggerMessage - StatusNotification check2() 3.164s passed
TriggerMessage - Heartbeat check3() 3.153s passed
TriggerMessage - MeterValues check4() 3.158s passed
TriggerMessage - DiagnosticsStatusNotification check5() 3.158s passed
TriggerMessage - FirmwareStatusNotification check6() 3.157s passed
TriggerMessage - StatusNotification for connector №0 check7() 0.180s passed
TriggerMessage - StatusNotification for connector №2 check8() 3.156s passed

Standard output

23:19:10,362 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word clr with class [org.springframework.boot.logging.logback.ColorConverter]
23:19:10,362 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word wEx with class [org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter]
23:19:10,362 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - <level> element is deprecated. Near [level] on line 25
23:19:10,362 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within <logger> or <root> elements instead.
23:19:10,362 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - <level> element is deprecated. Near [level] on line 30
23:19:10,362 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within <logger> or <root> elements instead.
23:19:10,362 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [CONSOLE]
23:19:10,362 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
23:19:10,363 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
23:19:10,363 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [TEST-FILE]
23:19:10,363 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
23:19:10,363 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
23:19:10,363 |-INFO in ch.qos.logback.core.FileAppender[TEST-FILE] - File property is set to [LOG_FILE_IS_UNDEFINED]
23:19:10,363 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@5c98f2ef - Propagating DEBUG level on Logger[com.yablochkov] onto the JUL framework
23:19:10,363 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - com.yablochkov level set to DEBUG
23:19:10,363 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@5c98f2ef - Propagating TRACE level on Logger[org.springframework.web.servlet.mvc] onto the JUL framework
23:19:10,363 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - org.springframework.web.servlet.mvc level set to TRACE
23:19:10,363 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [CONSOLE] to Logger[org.springframework.web.servlet.mvc]
23:19:10,363 |-INFO in ch.qos.logback.classic.model.processor.RootLoggerModelHandler - Setting level of ROOT logger to WARN
23:19:10,363 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@5c98f2ef - Propagating WARN level on Logger[ROOT] onto the JUL framework
23:19:10,363 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [TEST-FILE] to Logger[ROOT]
23:19:10,363 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [CONSOLE] to Logger[ROOT]
23:19:10,363 |-INFO in ch.qos.logback.core.model.processor.DefaultProcessor@2106fb7d - End of configuration.
23:19:10,363 |-INFO in org.springframework.boot.logging.logback.SpringBootJoranConfigurator@38a5eb35 - Registering current configuration as safe fallback point


  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.0.2)

23:19:10.365 [Test worker] INFO  c.y.o.a.ocpp16.TriggerMessageTest - Starting TriggerMessageTest using Java 17.0.2 with PID 827 (started by root in /builds/yablochkov/mainboard/autotests)
23:19:10.366 [Test worker] DEBUG c.y.o.a.ocpp16.TriggerMessageTest - Running with Spring Boot, Spring
23:19:10.366 [Test worker] INFO  c.y.o.a.ocpp16.TriggerMessageTest - The following 1 profile is active: "test"
23:19:10.366 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@9336bc5, started on Wed Apr 22 23:19:10 UTC 2026
23:19:10.410 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
23:19:10.410 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
23:19:10.435 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
23:19:10.435 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
23:19:10.439 [Test worker] TRACE o.s.w.s.m.m.a.RequestMappingHandlerMapping - 
	o.s.b.a.w.s.e.BasicErrorController:
	{ [/error]}: error(HttpServletRequest)
	{ [/error], produces [text/html]}: errorHtml(HttpServletRequest,HttpServletResponse)
23:19:10.439 [Test worker] TRACE o.s.w.s.m.m.a.RequestMappingHandlerMapping - 
	o.s.b.a.w.s.e.BasicErrorController:
	{ [/error]}: error(HttpServletRequest)
	{ [/error], produces [text/html]}: errorHtml(HttpServletRequest,HttpServletResponse)
23:19:10.439 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
23:19:10.439 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
23:19:10.440 [Test worker] DEBUG o.s.w.s.h.BeanNameUrlHandlerMapping - Detected 0 mappings in 'beanNameHandlerMapping'
23:19:10.440 [Test worker] TRACE o.s.w.s.f.s.RouterFunctionMapping - 0 RouterFunction(s) in 'routerFunctionMapping'
23:19:10.441 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/webjars/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]
23:19:10.441 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
23:19:10.441 [Test worker] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
23:19:10.442 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
23:19:10.442 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
23:19:10.450 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Using LifecycleProcessor [org.springframework.context.support.DefaultLifecycleProcessor@79a6e0e6]
23:19:10.451 [Test worker] INFO  c.y.o.a.ocpp16.TriggerMessageTest - Started TriggerMessageTest in 0.099 seconds (process running for 4144.901)
23:19:10.454 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=BootNotification
23:19:10.456 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
23:19:10.564 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:10.564 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
23:19:13.565 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
23:19:13.566 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
23:19:13.618 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:13.618 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
23:19:13.622 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
23:19:13.671 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:13.674 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=StatusNotification
23:19:13.674 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
23:19:13.732 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:13.732 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
23:19:16.733 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
23:19:16.733 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
23:19:16.783 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:16.783 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
23:19:16.788 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
23:19:16.836 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:16.839 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=Heartbeat
23:19:16.839 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
23:19:16.890 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:16.890 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
23:19:19.890 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
23:19:19.891 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
23:19:19.941 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:19.941 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
23:19:19.942 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
23:19:19.990 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:19.993 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=MeterValues
23:19:19.993 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
23:19:20.047 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:20.047 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
23:19:23.048 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
23:19:23.048 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
23:19:23.099 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:23.099 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
23:19:23.101 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
23:19:23.149 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:23.152 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=DiagnosticsStatusNotification
23:19:23.152 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
23:19:23.204 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:23.205 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
23:19:26.205 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
23:19:26.205 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
23:19:26.257 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:26.257 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
23:19:26.260 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
23:19:26.308 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:26.311 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=FirmwareStatusNotification
23:19:26.311 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
23:19:26.364 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:26.364 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
23:19:29.365 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
23:19:29.365 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
23:19:29.415 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:29.415 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
23:19:29.418 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
23:19:29.467 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:29.470 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=StatusNotification&connectorId=0
23:19:29.470 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
23:19:29.545 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 500 INTERNAL_SERVER_ERROR
23:19:29.552 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
23:19:29.648 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:29.652 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=StatusNotification&connectorId=2
23:19:29.652 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
23:19:29.705 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:29.705 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
23:19:32.705 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
23:19:32.706 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
23:19:32.756 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:32.756 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
23:19:32.757 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
23:19:32.805 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
23:19:32.807 [Test worker] DEBUG o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@9336bc5, started on Wed Apr 22 23:19:10 UTC 2026