TriggerMessageTest

8

tests

0

failures

0

ignored

22.425s

duration

100%

successful

Tests

Test Method name Duration Result
TriggerMessage - BootNotification check1() 3.232s passed
TriggerMessage - StatusNotification check2() 3.169s passed
TriggerMessage - Heartbeat check3() 3.164s passed
TriggerMessage - MeterValues check4() 3.166s passed
TriggerMessage - DiagnosticsStatusNotification check5() 3.166s passed
TriggerMessage - FirmwareStatusNotification check6() 3.171s passed
TriggerMessage - StatusNotification for connector №0 check7() 0.171s passed
TriggerMessage - StatusNotification for connector №2 check8() 3.186s passed

Standard output

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


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

15:29:42.199 [Test worker] INFO  c.y.a.ocpp16.TriggerMessageTest - Starting TriggerMessageTest using Java 17.0.2 with PID 731 (started by root in /builds/yablochkov/mainboard/autotests/autotests1.6)
15:29:42.199 [Test worker] DEBUG c.y.a.ocpp16.TriggerMessageTest - Running with Spring Boot, Spring
15:29:42.199 [Test worker] INFO  c.y.a.ocpp16.TriggerMessageTest - The following 1 profile is active: "test"
15:29:42.200 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@2130262a, started on Fri Mar 20 15:29:42 UTC 2026
15:29:42.239 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
15:29:42.239 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
15:29:42.263 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
15:29:42.263 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
15:29:42.266 [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)
15:29:42.266 [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)
15:29:42.266 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
15:29:42.266 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
15:29:42.267 [Test worker] DEBUG o.s.w.s.h.BeanNameUrlHandlerMapping - Detected 0 mappings in 'beanNameHandlerMapping'
15:29:42.268 [Test worker] TRACE o.s.w.s.f.s.RouterFunctionMapping - 0 RouterFunction(s) in 'routerFunctionMapping'
15:29:42.268 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/webjars/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]
15:29:42.268 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
15:29:42.268 [Test worker] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
15:29:42.269 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
15:29:42.269 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
15:29:42.277 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Using LifecycleProcessor [org.springframework.context.support.DefaultLifecycleProcessor@291be813]
15:29:42.278 [Test worker] INFO  c.y.a.ocpp16.TriggerMessageTest - Started TriggerMessageTest in 0.092 seconds (process running for 3936.897)
15:29:42.281 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=BootNotification
15:29:42.283 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:29:42.394 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:42.394 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
15:29:45.399 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
15:29:45.400 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:29:45.454 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:45.454 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
15:29:45.458 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
15:29:45.510 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:45.513 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=StatusNotification
15:29:45.513 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:29:45.572 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:45.572 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
15:29:48.573 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
15:29:48.573 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:29:48.627 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:48.627 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
15:29:48.629 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
15:29:48.680 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:48.683 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=Heartbeat
15:29:48.683 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:29:48.737 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:48.737 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
15:29:51.738 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
15:29:51.738 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:29:51.792 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:51.792 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
15:29:51.793 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
15:29:51.846 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:51.849 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=MeterValues
15:29:51.849 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:29:51.905 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:51.905 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
15:29:54.905 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
15:29:54.906 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:29:54.960 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:54.960 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
15:29:54.962 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
15:29:55.013 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:55.016 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=DiagnosticsStatusNotification
15:29:55.016 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:29:55.071 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:55.071 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
15:29:58.071 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
15:29:58.072 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:29:58.126 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:58.126 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
15:29:58.128 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
15:29:58.180 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:58.183 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=FirmwareStatusNotification
15:29:58.183 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:29:58.238 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:29:58.238 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
15:30:01.239 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
15:30:01.239 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:30:01.296 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:30:01.296 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
15:30:01.299 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
15:30:01.352 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:30:01.355 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=StatusNotification&connectorId=0
15:30:01.355 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:30:01.413 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 500 INTERNAL_SERVER_ERROR
15:30:01.413 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
15:30:01.524 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:30:01.527 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=StatusNotification&connectorId=2
15:30:01.527 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:30:01.603 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:30:01.603 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
15:30:04.603 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
15:30:04.603 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:30:04.658 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:30:04.658 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
15:30:04.659 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
15:30:04.712 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:30:04.713 [Test worker] DEBUG o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@2130262a, started on Fri Mar 20 15:29:42 UTC 2026