RemoteTransactionTest

4

tests

0

failures

0

ignored

4m30.67s

duration

100%

successful

Tests

Test Method name Duration Result
CableConnected, RemoteStart, CableOut check1() 43.073s passed
RemoteStart, CableConnected, RemoteStop,CableOut check2() 1m19.99s passed
Check that txProfile can be applied after Remote Start Transaction check3() 50.880s passed
Timeout after Cable plugged in, timeout, Authorization, Charging check4() 1m36.73s passed

Standard output

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


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

12:00:59.618 [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)
12:00:59.618 [Test worker] DEBUG c.y.a.ocpp16.RemoteTransactionTest - Running with Spring Boot, Spring
12:00:59.618 [Test worker] INFO  c.y.a.ocpp16.RemoteTransactionTest - The following 1 profile is active: "test"
12:00:59.619 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@6f543c90, started on Mon Mar 02 12:00:59 UTC 2026
12:00:59.665 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
12:00:59.665 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
12:00:59.691 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
12:00:59.691 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
12:00:59.695 [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:00:59.695 [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:00:59.695 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
12:00:59.695 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
12:00:59.696 [Test worker] DEBUG o.s.w.s.h.BeanNameUrlHandlerMapping - Detected 0 mappings in 'beanNameHandlerMapping'
12:00:59.696 [Test worker] TRACE o.s.w.s.f.s.RouterFunctionMapping - 0 RouterFunction(s) in 'routerFunctionMapping'
12:00:59.697 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/webjars/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]
12:00:59.697 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
12:00:59.697 [Test worker] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
12:00:59.698 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
12:00:59.698 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
12:00:59.707 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Using LifecycleProcessor [org.springframework.context.support.DefaultLifecycleProcessor@74931852]
12:00:59.709 [Test worker] INFO  c.y.a.ocpp16.RemoteTransactionTest - Started RemoteTransactionTest in 0.106 seconds (process running for 2979.733)
12:01:13.098 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:01:13.098 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:01:13.193 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:01:13.193 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:01:13.197 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/startTransaction?connectorId=2&idTag=111111-Accepted
12:01:13.198 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:01:14.005 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:01:14.005 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.RemoteStartTransactionConfirmation]
12:01:15.006 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:01:15.006 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:01:15.055 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:01:15.055 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:01:15.056 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:01:15.057 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:01:15.105 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:01:15.106 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:01:26.394 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:01:26.395 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:01:26.443 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:01:26.444 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:01:42.733 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
12:01:42.781 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:01:42.785 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/startTransaction?connectorId=2&idTag=111111-Accepted
12:01:42.785 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:01:43.452 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:01:43.452 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.RemoteStartTransactionConfirmation]
12:01:44.452 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:01:44.453 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:01:44.500 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:01:44.500 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:01:57.883 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:01:57.884 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:01:57.933 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:01:57.933 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:01:57.934 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:01:57.934 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:01:57.982 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:01:57.982 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:01:57.982 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:01:57.982 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:01:58.029 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:01:58.029 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:01:58.029 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/stopTransaction?idTag=111111-Accepted
12:01:58.030 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:01:58.096 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:01:58.096 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.RemoteStopTransactionConfirmation]
12:02:28.097 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:02:28.097 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:02:28.146 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:02:28.146 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:03:02.726 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
12:03:02.775 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:03:21.169 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:03:21.169 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:03:21.218 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:03:21.218 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:03:21.219 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/startTransaction?connectorId=2&idTag=111111-Accepted
12:03:21.219 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:03:21.977 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:03:21.978 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.RemoteStartTransactionConfirmation]
12:03:21.978 [Test worker] INFO  c.y.a.ocpp16.RemoteTransactionTest - Sleep 5 sec...
12:03:26.978 [Test worker] INFO  c.y.a.ocpp16.RemoteTransactionTest - Apply txProfile for 1st connector...
12:03:26.979 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/lastTransactionId
12:03:26.979 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:03:27.026 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:03:27.026 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.lang.Integer]
12:03:27.031 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/setChargingProfile
12:03:27.033 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:03:27.034 [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-02T09:03:02Z", chargingRateUnit=W, chargingSchedulePeriod.length=1, minChargingRate=null, isValid=true}, isValid=true})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
12:03:27.218 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:03:27.219 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.smartcharging.SetChargingProfileConfirmation]
12:03:53.606 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
12:03:53.656 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:04:07.046 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:04:07.047 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:04:07.095 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:04:07.095 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:04:12.096 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/getConfiguration?configurationKey=ConnectionTimeOut
12:04:12.098 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:04:12.151 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:04:12.151 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.GetConfigurationConfirmation]
12:05:12.151 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:05:12.152 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:05:12.245 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:05:12.245 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:05:12.246 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/startTransaction?connectorId=2&idTag=111111-Accepted
12:05:12.246 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:05:12.996 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:05:12.996 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.RemoteStartTransactionConfirmation]
12:05:13.996 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
12:05:13.997 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
12:05:14.045 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:05:14.046 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
12:05:30.336 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
12:05:30.385 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
12:05:30.386 [Test worker] DEBUG o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@6f543c90, started on Mon Mar 02 12:00:59 UTC 2026