TriggerMessageTest

8

tests

0

failures

0

ignored

22.373s

duration

100%

successful

Tests

Test Method name Duration Result
TriggerMessage - BootNotification check1() 3.222s passed
TriggerMessage - StatusNotification check2() 3.161s passed
TriggerMessage - Heartbeat check3() 3.154s passed
TriggerMessage - MeterValues check4() 3.158s passed
TriggerMessage - DiagnosticsStatusNotification check5() 3.160s passed
TriggerMessage - FirmwareStatusNotification check6() 3.159s passed
TriggerMessage - StatusNotification for connector №0 check7() 0.202s passed
TriggerMessage - StatusNotification for connector №2 check8() 3.157s passed

Standard output

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


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

16:27:02.953 [Test worker] INFO  c.y.a.ocpp16.TriggerMessageTest - Starting TriggerMessageTest using Java 17.0.2 with PID 737 (started by root in /builds/yablochkov/mainboard/autotests/autotests1.6)
16:27:02.953 [Test worker] DEBUG c.y.a.ocpp16.TriggerMessageTest - Running with Spring Boot, Spring
16:27:02.953 [Test worker] INFO  c.y.a.ocpp16.TriggerMessageTest - The following 1 profile is active: "test"
16:27:02.954 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@5e90de14, started on Thu Mar 19 16:27:02 UTC 2026
16:27:02.993 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
16:27:02.993 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
16:27:03.015 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
16:27:03.015 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
16:27:03.018 [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)
16:27:03.018 [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)
16:27:03.018 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
16:27:03.018 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
16:27:03.019 [Test worker] DEBUG o.s.w.s.h.BeanNameUrlHandlerMapping - Detected 0 mappings in 'beanNameHandlerMapping'
16:27:03.019 [Test worker] TRACE o.s.w.s.f.s.RouterFunctionMapping - 0 RouterFunction(s) in 'routerFunctionMapping'
16:27:03.020 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/webjars/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]
16:27:03.020 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
16:27:03.020 [Test worker] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
16:27:03.021 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
16:27:03.021 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
16:27:03.028 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Using LifecycleProcessor [org.springframework.context.support.DefaultLifecycleProcessor@4d5d8bdb]
16:27:03.029 [Test worker] INFO  c.y.a.ocpp16.TriggerMessageTest - Started TriggerMessageTest in 0.089 seconds (process running for 4104.305)
16:27:03.031 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=BootNotification
16:27:03.033 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:27:03.144 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:03.144 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
16:27:06.145 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:27:06.146 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:27:06.196 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:06.196 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:27:06.201 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:27:06.250 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:06.253 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=StatusNotification
16:27:06.253 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:27:06.310 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:06.310 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
16:27:09.311 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:27:09.311 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:27:09.362 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:09.362 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:27:09.364 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:27:09.413 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:09.416 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=Heartbeat
16:27:09.416 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:27:09.467 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:09.467 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
16:27:12.467 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:27:12.467 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:27:12.519 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:12.519 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:27:12.519 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:27:12.568 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:12.571 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=MeterValues
16:27:12.571 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:27:12.624 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:12.624 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
16:27:15.624 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:27:15.625 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:27:15.676 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:15.676 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:27:15.679 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:27:15.728 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:15.731 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=DiagnosticsStatusNotification
16:27:15.731 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:27:15.784 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:15.784 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
16:27:18.784 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:27:18.785 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:27:18.836 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:18.837 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:27:18.839 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:27:18.888 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:18.891 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=FirmwareStatusNotification
16:27:18.891 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:27:18.945 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:18.945 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
16:27:21.945 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:27:21.946 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:27:21.997 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:21.997 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:27:21.999 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:27:22.048 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:22.051 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=StatusNotification&connectorId=0
16:27:22.051 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:27:22.148 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 500 INTERNAL_SERVER_ERROR
16:27:22.153 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:27:22.251 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:22.254 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=StatusNotification&connectorId=2
16:27:22.254 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:27:22.309 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:22.309 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
16:27:25.309 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:27:25.310 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:27:25.360 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:25.361 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:27:25.361 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:27:25.410 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:27:25.411 [Test worker] DEBUG o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@5e90de14, started on Thu Mar 19 16:27:02 UTC 2026