RemoteTransactionTest

4

tests

0

failures

0

ignored

4m30.95s

duration

100%

successful

Tests

Test Method name Duration Result
CableConnected, RemoteStart, CableOut check1() 43.151s passed
RemoteStart, CableConnected, RemoteStop,CableOut check2() 1m20.09s passed
Check that txProfile can be applied after Remote Start Transaction check3() 50.916s passed
Timeout after Cable plugged in, timeout, Authorization, Charging check4() 1m36.80s passed

Standard output

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


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

16:08:28.820 [Test worker] INFO  c.y.a.ocpp16.RemoteTransactionTest - Starting RemoteTransactionTest using Java 17.0.2 with PID 737 (started by root in /builds/yablochkov/mainboard/autotests/autotests1.6)
16:08:28.820 [Test worker] DEBUG c.y.a.ocpp16.RemoteTransactionTest - Running with Spring Boot, Spring
16:08:28.820 [Test worker] INFO  c.y.a.ocpp16.RemoteTransactionTest - The following 1 profile is active: "test"
16:08:28.821 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@89ebacd, started on Thu Mar 19 16:08:28 UTC 2026
16:08:28.867 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
16:08:28.867 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
16:08:28.893 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
16:08:28.893 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
16:08:28.896 [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:08:28.896 [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:08:28.896 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
16:08:28.896 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
16:08:28.900 [Test worker] DEBUG o.s.w.s.h.BeanNameUrlHandlerMapping - Detected 0 mappings in 'beanNameHandlerMapping'
16:08:28.900 [Test worker] TRACE o.s.w.s.f.s.RouterFunctionMapping - 0 RouterFunction(s) in 'routerFunctionMapping'
16:08:28.901 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/webjars/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]
16:08:28.901 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
16:08:28.901 [Test worker] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
16:08:28.902 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
16:08:28.902 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
16:08:28.910 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Using LifecycleProcessor [org.springframework.context.support.DefaultLifecycleProcessor@321aecb0]
16:08:28.911 [Test worker] INFO  c.y.a.ocpp16.RemoteTransactionTest - Started RemoteTransactionTest in 0.106 seconds (process running for 2990.187)
16:08:42.320 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:08:42.321 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:08:42.420 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:08:42.420 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:08:42.424 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/startTransaction?connectorId=2&idTag=111111-Accepted
16:08:42.425 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:08:43.254 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:08:43.255 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.RemoteStartTransactionConfirmation]
16:08:44.255 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:08:44.255 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:08:44.306 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:08:44.306 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:08:44.308 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:08:44.308 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:08:44.357 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:08:44.357 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:08:55.660 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:08:55.660 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:08:55.712 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:08:55.712 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:09:12.012 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:09:12.063 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:09:12.067 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/startTransaction?connectorId=2&idTag=111111-Accepted
16:09:12.067 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:09:12.751 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:09:12.751 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.RemoteStartTransactionConfirmation]
16:09:13.752 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:09:13.752 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:09:13.802 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:09:13.802 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:09:27.203 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:09:27.204 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:09:27.255 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:09:27.255 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:09:27.256 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:09:27.256 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:09:27.306 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:09:27.306 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:09:27.306 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:09:27.306 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:09:27.354 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:09:27.354 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:09:27.354 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/stopTransaction?idTag=111111-Accepted
16:09:27.356 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:09:27.424 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:09:27.425 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.RemoteStopTransactionConfirmation]
16:09:57.425 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:09:57.426 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:09:57.476 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:09:57.477 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:10:32.100 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:10:32.151 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:10:50.557 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:10:50.557 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:10:50.608 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:10:50.608 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:10:50.609 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/startTransaction?connectorId=2&idTag=111111-Accepted
16:10:50.609 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:10:51.396 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:10:51.396 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.RemoteStartTransactionConfirmation]
16:10:51.397 [Test worker] INFO  c.y.a.ocpp16.RemoteTransactionTest - Sleep 5 sec...
16:10:56.397 [Test worker] INFO  c.y.a.ocpp16.RemoteTransactionTest - Apply txProfile for 1st connector...
16:10:56.397 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/lastTransactionId
16:10:56.398 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:10:56.449 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:10:56.449 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.lang.Integer]
16:10:56.453 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/setChargingProfile
16:10:56.454 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:10:56.456 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [SmartChargingDto(connectorId=2, csChargingProfiles=ChargingProfile{chargingProfileId=1, transactionId=26, stackLevel=1, chargingProfilePurpose=TxProfile, chargingProfileKind=Absolute, recurrencyKind=null, validFrom="", validTo="", chargingSchedule=ChargingSchedule{duration=null, startSchedule="2026-03-19T13:10:32Z", chargingRateUnit=W, chargingSchedulePeriod.length=1, minChargingRate=null, isValid=true}, isValid=true})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
16:10:56.612 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:10:56.612 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.smartcharging.SetChargingProfileConfirmation]
16:11:23.017 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:11:23.069 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:11:36.473 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:11:36.473 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:11:36.524 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:11:36.524 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:11:41.525 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/getConfiguration?configurationKey=ConnectionTimeOut
16:11:41.528 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:11:41.585 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:11:41.585 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.GetConfigurationConfirmation]
16:12:41.586 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:12:41.586 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:12:41.685 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:12:41.685 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:12:41.686 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/startTransaction?connectorId=2&idTag=111111-Accepted
16:12:41.686 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:12:42.461 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:12:42.461 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.RemoteStartTransactionConfirmation]
16:12:43.461 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
16:12:43.462 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:12:43.512 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:12:43.512 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
16:12:59.818 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:12:59.866 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:12:59.868 [Test worker] DEBUG o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@89ebacd, started on Thu Mar 19 16:08:28 UTC 2026