OfflineWorkingTest

2

tests

0

failures

0

ignored

3m8.87s

duration

100%

successful

Tests

Test Method name Duration Result
Authorize 2, station is offline, occupied 2, station is online, start transaction check1() 1m31.26s passed
Authorize 2,occupied 2, start transaction, station is offline, output 2, station is online check2() 1m37.61s passed

Standard output

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


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

16:10:23.629 [Test worker] INFO  c.y.a.ocpp16.OfflineWorkingTest - Starting OfflineWorkingTest using Java 17.0.2 with PID 708 (started by root in /builds/yablochkov/mainboard/autotests/autotests1.6)
16:10:23.629 [Test worker] DEBUG c.y.a.ocpp16.OfflineWorkingTest - Running with Spring Boot, Spring
16:10:23.629 [Test worker] INFO  c.y.a.ocpp16.OfflineWorkingTest - The following 1 profile is active: "test"
16:10:23.630 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@1c3de826, started on Thu Dec 25 16:10:23 UTC 2025
16:10:23.675 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
16:10:23.675 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
16:10:23.700 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
16:10:23.700 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
16:10:23.703 [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:10:23.703 [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:10:23.704 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
16:10:23.704 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
16:10:23.704 [Test worker] DEBUG o.s.w.s.h.BeanNameUrlHandlerMapping - Detected 0 mappings in 'beanNameHandlerMapping'
16:10:23.705 [Test worker] TRACE o.s.w.s.f.s.RouterFunctionMapping - 0 RouterFunction(s) in 'routerFunctionMapping'
16:10:23.705 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/webjars/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]
16:10:23.705 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
16:10:23.705 [Test worker] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
16:10:23.706 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
16:10:23.706 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
16:10:23.714 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Using LifecycleProcessor [org.springframework.context.support.DefaultLifecycleProcessor@5a6a336c]
16:10:23.717 [Test worker] INFO  c.y.a.ocpp16.OfflineWorkingTest - Started OfflineWorkingTest in 0.102 seconds (process running for 3723.262)
16:10:44.615 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/closeServer
16:10:44.615 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:10:44.751 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
Station is offline
16:11:13.296 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/restartServer
16:11:13.296 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:11:13.365 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
Server online
16:11:43.366 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:11:43.366 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:11:43.436 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:11:43.436 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
Size: 12
StatusNotificationRequest{connectorId=0, errorCode=NoError, info=null, status=Available, timestamp="2025-12-25T16:11:24.802290492Z[UTC]", vendorId=Origin, vendorErrorCode=null, isValid=true}
StartTransactionRequest{connectorId=2, idTag=111111-Accepted, meterStart=0, reservationId=null, timestamp="2025-12-25T16:11:05.867071032Z[UTC]", isValid=true}
DataTransferRequest{vendorId=Origin, messageId=stationStatus, data={"errorId":9,"failureStart":{"connector0":"2025-12-25T17:20:14"},"failureEnd":{"connector0":"2025-12-25T17:20:26"},"maintenanceStart":{"connector1":"2025-12-25T19:05:51","connector2":"2025-12-25T19:05:51","connector3":"2025-12-25T19:05:51","connector0":"2025-12-25T19:05:51"},"maintenanceEnd":{"connector1":"2025-12-25T19:07:37","connector2":"2025-12-25T19:08:07","connector3":"2025-12-25T19:08:18","connector0":"2025-12-25T19:07:07"},"failureDurationS":{"connector1":0,"connector2":0,"connector3":0,"connector0":12},"maintenanceDurationS":{"connector1":106,"connector2":136,"connector3":147,"connector0":76},"failureDurationMonthlyS":{"connector1":0,"connector2":0,"connector3":0,"connector0":56},"maintenanceDurationMonthlyS":{"connector1":83622490,"connector2":65694793,"connector3":80133395,"connector0":82877263},"switchOperationCounter":0,"currentSetByStationA":500,"voltageSetByStationV":750,"fanOK":false,"doorsOpen":false,"controlModulPowerON":false,"outputContactorClose":false,"timestamp":"2025-12-25T19:11:25.316113239+03:00"}, isValid=true}
StatusNotificationRequest{connectorId=1, errorCode=NoError, info=null, status=Available, timestamp="2025-12-25T16:11:25.316390604Z[UTC]", vendorId=Origin, vendorErrorCode=null, isValid=true}
DataTransferRequest{vendorId=Origin, messageId=stationStatus, data={"errorId":9,"failureStart":{"connector0":"2025-12-25T17:20:14"},"failureEnd":{"connector0":"2025-12-25T17:20:26"},"maintenanceStart":{"connector1":"2025-12-25T19:05:51","connector2":"2025-12-25T19:05:51","connector3":"2025-12-25T19:05:51","connector0":"2025-12-25T19:05:51"},"maintenanceEnd":{"connector1":"2025-12-25T19:07:37","connector2":"2025-12-25T19:08:07","connector3":"2025-12-25T19:08:18","connector0":"2025-12-25T19:07:07"},"failureDurationS":{"connector1":0,"connector2":0,"connector3":0,"connector0":12},"maintenanceDurationS":{"connector1":106,"connector2":136,"connector3":147,"connector0":76},"failureDurationMonthlyS":{"connector1":0,"connector2":0,"connector3":0,"connector0":56},"maintenanceDurationMonthlyS":{"connector1":83622490,"connector2":65694793,"connector3":80133395,"connector0":82877263},"switchOperationCounter":0,"currentSetByStationA":500,"voltageSetByStationV":750,"fanOK":false,"doorsOpen":false,"controlModulPowerON":false,"outputContactorClose":false,"timestamp":"2025-12-25T19:11:25.826675370+03:00"}, isValid=true}
StatusNotificationRequest{connectorId=2, errorCode=NoError, info=null, status=Charging, timestamp="2025-12-25T16:11:25.826913710Z[UTC]", vendorId=Origin, vendorErrorCode=null, isValid=true}
DataTransferRequest{vendorId=Origin, messageId=stationStatus, data={"errorId":9,"failureStart":{"connector0":"2025-12-25T17:20:14"},"failureEnd":{"connector0":"2025-12-25T17:20:26"},"maintenanceStart":{"connector1":"2025-12-25T19:05:51","connector2":"2025-12-25T19:05:51","connector3":"2025-12-25T19:05:51","connector0":"2025-12-25T19:05:51"},"maintenanceEnd":{"connector1":"2025-12-25T19:07:37","connector2":"2025-12-25T19:08:07","connector3":"2025-12-25T19:08:18","connector0":"2025-12-25T19:07:07"},"failureDurationS":{"connector1":0,"connector2":0,"connector3":0,"connector0":12},"maintenanceDurationS":{"connector1":106,"connector2":136,"connector3":147,"connector0":76},"failureDurationMonthlyS":{"connector1":0,"connector2":0,"connector3":0,"connector0":56},"maintenanceDurationMonthlyS":{"connector1":83622490,"connector2":65694793,"connector3":80133395,"connector0":82877263},"switchOperationCounter":0,"currentSetByStationA":500,"voltageSetByStationV":750,"fanOK":false,"doorsOpen":false,"controlModulPowerON":false,"outputContactorClose":false,"timestamp":"2025-12-25T19:11:26.337031687+03:00"}, isValid=true}
StatusNotificationRequest{connectorId=3, errorCode=NoError, info=null, status=Available, timestamp="2025-12-25T16:11:26.337315687Z[UTC]", vendorId=Origin, vendorErrorCode=null, isValid=true}
DataTransferRequest{vendorId=Origin, messageId=stationStatus, data={"errorId":9,"failureStart":{"connector0":"2025-12-25T17:20:14"},"failureEnd":{"connector0":"2025-12-25T17:20:26"},"maintenanceStart":{"connector1":"2025-12-25T19:05:51","connector2":"2025-12-25T19:05:51","connector3":"2025-12-25T19:05:51","connector0":"2025-12-25T19:05:51"},"maintenanceEnd":{"connector1":"2025-12-25T19:07:37","connector2":"2025-12-25T19:08:07","connector3":"2025-12-25T19:08:18","connector0":"2025-12-25T19:07:07"},"failureDurationS":{"connector1":0,"connector2":0,"connector3":0,"connector0":12},"maintenanceDurationS":{"connector1":106,"connector2":136,"connector3":147,"connector0":76},"failureDurationMonthlyS":{"connector1":0,"connector2":0,"connector3":0,"connector0":56},"maintenanceDurationMonthlyS":{"connector1":83622490,"connector2":65694793,"connector3":80133395,"connector0":82877263},"switchOperationCounter":0,"currentSetByStationA":500,"voltageSetByStationV":750,"fanOK":false,"doorsOpen":false,"controlModulPowerON":false,"outputContactorClose":false,"timestamp":"2025-12-25T19:11:26.849357969+03:00"}, isValid=true}
MeterValuesRequest{connectorId=0, transactionId=null, meterValue.length=1, isValid=true}
HeartbeatRequest{isValid=true}
DataTransferRequest{vendorId=Origin, messageId=stationMeters, data={"consumedEnergyDailyWh":0,"consumedEnergyWh":0,"deliveredEnergyDailyWh":{"connector1":0,"connector2":0,"connector3":0},"deliveredEnergyWh":{"connector1":0,"connector2":0,"connector3":0},"inputVoltageV":0,"uptime":51264235,"uptimeDaily":5990,"uptimeCurrent":5990,"successfulSessions":{"connector1":0,"connector2":0,"connector3":0},"successfulSessionsDaily":{"connector1":0,"connector2":0,"connector3":0},"sessionCount":{"connector1":542,"connector2":543,"connector3":2},"sessionCountDaily":{"connector1":42,"connector2":22,"connector3":0},"voltageToContactorV":{"connector1":0,"connector2":0,"connector3":0},"voltageAfterContactorV":{"connector1":0,"connector2":0,"connector3":0},"timestamp":"2025-12-25T19:11:36.286633433+03:00"}, isValid=true}
16:11:43.440 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:11:43.441 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:11:43.507 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:11:43.507 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
hashmap0 - Available
hashmap1 - Available
hashmap2 - Charging
hashmap3 - Available
16:11:54.914 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:11:54.981 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:12:24.443 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:12:24.443 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:12:24.511 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:12:24.511 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:12:24.512 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/closeServer
16:12:24.512 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:12:24.580 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
Station is offline
16:12:50.982 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/restartServer
16:12:50.982 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:12:51.050 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
Server online
16:13:21.051 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:13:21.051 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:13:21.119 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:13:21.119 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
hashmap0 - Available
hashmap1 - Available
hashmap2 - Available
hashmap3 - Available
16:13:32.520 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:13:32.588 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:13:32.589 [Test worker] DEBUG o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@1c3de826, started on Thu Dec 25 16:10:23 UTC 2025