RemoteTransactionTest

4

tests

0

failures

0

ignored

4m32.50s

duration

100%

successful

Tests

Test Method name Duration Result
CableConnected, RemoteStart, CableOut check1() 43.528s passed
RemoteStart, CableConnected, RemoteStop,CableOut check2() 1m20.54s passed
Check that txProfile can be applied after Remote Start Transaction check3() 51.292s passed
Timeout after Cable plugged in, timeout, Authorization, Charging check4() 1m37.13s passed

Standard output

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


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

16:13:32.611 [Test worker] INFO  c.y.a.ocpp16.RemoteTransactionTest - Starting RemoteTransactionTest using Java 17.0.2 with PID 708 (started by root in /builds/yablochkov/mainboard/autotests/autotests1.6)
16:13:32.611 [Test worker] DEBUG c.y.a.ocpp16.RemoteTransactionTest - Running with Spring Boot, Spring
16:13:32.611 [Test worker] INFO  c.y.a.ocpp16.RemoteTransactionTest - The following 1 profile is active: "test"
16:13:32.612 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@70054599, started on Thu Dec 25 16:13:32 UTC 2025
16:13:32.658 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
16:13:32.658 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
16:13:32.682 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
16:13:32.682 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
16:13:32.685 [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:13:32.685 [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:13:32.685 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
16:13:32.685 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
16:13:32.686 [Test worker] DEBUG o.s.w.s.h.BeanNameUrlHandlerMapping - Detected 0 mappings in 'beanNameHandlerMapping'
16:13:32.687 [Test worker] TRACE o.s.w.s.f.s.RouterFunctionMapping - 0 RouterFunction(s) in 'routerFunctionMapping'
16:13:32.687 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/webjars/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]
16:13:32.687 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
16:13:32.687 [Test worker] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
16:13:32.688 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
16:13:32.688 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
16:13:32.696 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Using LifecycleProcessor [org.springframework.context.support.DefaultLifecycleProcessor@14270971]
16:13:32.697 [Test worker] INFO  c.y.a.ocpp16.RemoteTransactionTest - Started RemoteTransactionTest in 0.102 seconds (process running for 3912.242)
16:13:46.235 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:13:46.235 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:13:46.367 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:13:46.367 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
hashmap2 - Preparing
16:13:46.369 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/startTransaction?connectorId=2&idTag=111111-Accepted
16:13:46.370 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:13:47.148 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:13:47.148 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.RemoteStartTransactionConfirmation]
16:13:48.149 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:13:48.149 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:13:48.216 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:13:48.216 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
hashmap2 - Preparing
hashmap2 - Charging
16:13:48.217 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:13:48.217 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:13:48.283 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:13:48.283 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:13:59.684 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:13:59.685 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:13:59.753 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:13:59.753 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
hashmap2 - Preparing
hashmap2 - Charging
hashmap2 - Available
16:14:16.158 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:14:16.225 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:14:16.228 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/startTransaction?connectorId=2&idTag=111111-Accepted
16:14:16.229 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:14:16.916 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:14:16.916 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.RemoteStartTransactionConfirmation]
16:14:17.917 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:14:17.917 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:14:17.983 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:14:17.983 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
hashmap2 - Preparing
16:14:31.523 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:14:31.523 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:14:31.591 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:14:31.591 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
hashmap2 - Preparing
hashmap2 - Charging
16:14:31.593 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:14:31.594 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:14:31.660 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:14:31.660 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:14:31.661 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:14:31.661 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:14:31.727 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:14:31.727 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
hashmap2 - Preparing
hashmap2 - Charging
16:14:31.727 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/stopTransaction?idTag=111111-Accepted
16:14:31.728 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:14:31.811 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:14:31.811 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.RemoteStopTransactionConfirmation]
16:15:01.812 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:15:01.812 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:15:01.896 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:15:01.896 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
hashmap2 - Preparing
hashmap2 - Charging
hashmap2 - Finishing
16:15:36.703 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:15:36.771 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:15:55.309 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:15:55.309 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:15:55.377 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:15:55.378 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
hashmap2 - Preparing
16:15:55.378 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/startTransaction?connectorId=2&idTag=111111-Accepted
16:15:55.378 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:15:56.135 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:15:56.135 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.RemoteStartTransactionConfirmation]
16:15:56.135 [Test worker] INFO  c.y.a.ocpp16.RemoteTransactionTest - Sleep 5 sec...
16:16:01.135 [Test worker] INFO  c.y.a.ocpp16.RemoteTransactionTest - Apply txProfile for 1st connector...
16:16:01.136 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/lastTransactionId
16:16:01.136 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:16:01.203 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:16:01.204 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.lang.Integer]
16:16:01.207 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/setChargingProfile
16:16:01.209 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:16:01.210 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [SmartChargingDto(connectorId=2, csChargingProfiles=ChargingProfile{chargingProfileId=1, transactionId=30, stackLevel=1, chargingProfilePurpose=TxProfile, chargingProfileKind=Absolute, recurrencyKind=null, validFrom="", validTo="", chargingSchedule=ChargingSchedule{duration=null, startSchedule="2025-12-25T13:15:36Z", chargingRateUnit=W, chargingSchedulePeriod.length=1, minChargingRate=null, isValid=true}, isValid=true})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
16:16:01.449 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:16:01.449 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.smartcharging.SetChargingProfileConfirmation]
16:16:27.995 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:16:28.063 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:16:41.609 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:16:41.610 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:16:41.678 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:16:41.678 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
hashmap2 - Preparing
16:16:46.679 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/getConfiguration?configurationKey=ConnectionTimeOut
16:16:46.682 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:16:46.756 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:16:46.756 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.GetConfigurationConfirmation]
16:17:46.757 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:17:46.757 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:17:46.888 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:17:46.888 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
hashmap2 - Preparing
hashmap2 - Finishing
16:17:46.889 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/startTransaction?connectorId=2&idTag=111111-Accepted
16:17:46.889 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:17:47.659 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:17:47.659 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.RemoteStartTransactionConfirmation]
16:17:48.659 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:17:48.659 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:17:48.726 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:17:48.726 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
hashmap2 - Preparing
hashmap2 - Finishing
hashmap2 - Charging
16:18:05.130 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:18:05.199 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:18:05.200 [Test worker] DEBUG o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@70054599, started on Thu Dec 25 16:13:32 UTC 2025