TriggerMessageTest

8

tests

0

failures

0

ignored

22.349s

duration

100%

successful

Tests

Test Method name Duration Result
TriggerMessage - BootNotification check1() 3.211s passed
TriggerMessage - StatusNotification check2() 3.157s passed
TriggerMessage - Heartbeat check3() 3.151s passed
TriggerMessage - MeterValues check4() 3.150s passed
TriggerMessage - DiagnosticsStatusNotification check5() 3.158s passed
TriggerMessage - FirmwareStatusNotification check6() 3.154s passed
TriggerMessage - StatusNotification for connector №0 check7() 0.217s passed
TriggerMessage - StatusNotification for connector №2 check8() 3.151s passed

Standard output

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


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

12:19:33.592 [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)
12:19:33.592 [Test worker] DEBUG c.y.a.ocpp16.TriggerMessageTest - Running with Spring Boot, Spring
12:19:33.593 [Test worker] INFO  c.y.a.ocpp16.TriggerMessageTest - The following 1 profile is active: "test"
12:19:33.593 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@6a74797e, started on Mon Mar 02 12:19:33 UTC 2026
12:19:33.636 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
12:19:33.636 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
12:19:33.659 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
12:19:33.659 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
12:19:33.662 [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)
12:19:33.662 [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)
12:19:33.662 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
12:19:33.662 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
12:19:33.663 [Test worker] DEBUG o.s.w.s.h.BeanNameUrlHandlerMapping - Detected 0 mappings in 'beanNameHandlerMapping'
12:19:33.664 [Test worker] TRACE o.s.w.s.f.s.RouterFunctionMapping - 0 RouterFunction(s) in 'routerFunctionMapping'
12:19:33.664 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/webjars/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]
12:19:33.664 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
12:19:33.664 [Test worker] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
12:19:33.665 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
12:19:33.665 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
12:19:33.672 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Using LifecycleProcessor [org.springframework.context.support.DefaultLifecycleProcessor@261ddbf5]
12:19:33.674 [Test worker] INFO  c.y.a.ocpp16.TriggerMessageTest - Started TriggerMessageTest in 0.094 seconds (process running for 4093.698)
12:19:33.676 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=BootNotification
12:19:33.678 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:19:33.781 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:33.781 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
12:19:36.783 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:19:36.783 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:19:36.832 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:36.833 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:19:36.837 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
12:19:36.884 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:36.888 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=StatusNotification
12:19:36.888 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:19:36.945 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:36.945 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
12:19:39.946 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:19:39.946 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:19:39.995 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:39.995 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:19:39.997 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
12:19:40.043 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:40.046 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=Heartbeat
12:19:40.046 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:19:40.095 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:40.095 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
12:19:43.095 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:19:43.096 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:19:43.147 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:43.147 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:19:43.148 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
12:19:43.194 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:43.197 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=MeterValues
12:19:43.198 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:19:43.247 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:43.247 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
12:19:46.248 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:19:46.248 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:19:46.298 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:46.298 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:19:46.300 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
12:19:46.346 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:46.349 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=DiagnosticsStatusNotification
12:19:46.350 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:19:46.401 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:46.401 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
12:19:49.404 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:19:49.404 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:19:49.455 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:49.455 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:19:49.458 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
12:19:49.506 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:49.509 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=FirmwareStatusNotification
12:19:49.509 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:19:49.563 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:49.563 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
12:19:52.563 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:19:52.564 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:19:52.612 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:52.612 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:19:52.615 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
12:19:52.662 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:52.665 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=StatusNotification&connectorId=0
12:19:52.665 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:19:52.783 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 500 INTERNAL_SERVER_ERROR
12:19:52.787 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
12:19:52.880 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:52.883 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/trigger?type=StatusNotification&connectorId=2
12:19:52.883 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:19:52.935 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:52.935 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.remotetrigger.TriggerMessageConfirmation]
12:19:55.936 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:19:55.936 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:19:55.985 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:55.985 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:19:55.986 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
12:19:56.032 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:19:56.034 [Test worker] DEBUG o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@6a74797e, started on Mon Mar 02 12:19:33 UTC 2026