LocationExtendedIntegrationTests

10

tests

0

failures

0

ignored

0.227s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.101s passed
deleteInexistentMaestroShouldReturnKO() 0.010s passed
deleteMaestroShouldReturnOK() 0.023s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.009s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.004s passed
modifyInexistentMaestroShouldReturnKO() 0.010s passed
modifyMaestroShouldReturnOK() 0.026s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.007s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.006s passed
retrieveCreatedMaestroShouldReturnOK() 0.031s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.LocationExtendedIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.LocationExtendedIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.LocationExtendedIntegrationTests]: LocationExtendedIntegrationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
- Found @SpringBootConfiguration org.libertya.api.LYRestAPI for test class org.libertya.api.LocationExtendedIntegrationTests
- Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener]
- Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6eb5b9e7, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@77e730bd, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@2d3c501b, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@7b8cb283, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@38b54694, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7619fbe7, org.springframework.test.context.event.EventPublishingTestExecutionListener@39ead1b7, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@27ec74a3, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@35ff072c, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@c0004b7, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@63880be9, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@27053257, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@6a0e97fc]
2026-07-03 16:59:37.974 INFO - SecurityController.keygen Arg1: {}, Arg2: {accept=text/plain, application/json, application/*+json, */*, username=AdminLibertya, password=AdminLibertya, clientid=1010016, orgid=1010053, content-length=0, host=localhost:46480, connection=Keep-Alive, user-agent=Apache-HttpClient/4.5.2 (Java/1.8.0_121), accept-encoding=gzip,deflate},  
2026-07-03 16:59:37.976 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3NywiZXhwIjoyNjQ3MDExNTc3fQ.yO9n4ycVLA1XJmKK-hkKmYQVsYEo9dPM8cXTmr
2026-07-03 16:59:37.984 INFO - LocationController.addLocation Arg1: class Location {,     adClientId: 1010016,     adComponentobjectuid: null,     address1: RONDEAU 1234 Piso:02 Depto:42,     address2: null,     address3: null,     address4: null,     adOrgId: 1010053,     cCityId: null,     cCountryId: 119,     city: CAPITAL FEDERAL,     cLocationId: null,     created: null,     createdby: null,     cRegionId: 1000083,     isactive: null,     plaza: null,     postal: 1086,     postalAdd: null,     regionname: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:38.076 INFO - LocationController.addLocation: <200 OK OK,1012753,[]>
1012753
2026-07-03 16:59:38.082 INFO - LocationController.retrieveLocation Arg1: 1012753,  
2026-07-03 16:59:38.106 INFO - LocationController.retrieveLocation: <200 OK OK,class Location {,     adClientId: 1010016,     adComponentobjectuid: CORE-C_Location-20260703165938017-669198,     address1: RONDEAU 1234 Piso:02 Depto:42,     address2: null,     address3: null,     address4: null,     adOrgId: 1010053,     cCityId: null,     cCountryId: 119,     city: C
2026-07-03 16:59:38.114 INFO - LocationController.updateLocation Arg1: 1012753, Arg2: class Location {,     adClientId: null,     adComponentobjectuid: null,     address1: null,     address2: null,     address3: null,     address4: null,     adOrgId: null,     cCityId: null,     cCountryId: null,     city: null,     cLocationId: null,     created: null,     createdby: null,     cRegionId: null,     isactive: null,     plaza: null,     postal: null,     postalAdd: null,     regionname: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:38.133 INFO - LocationController.updateLocation: <200 OK OK,[]>
2026-07-03 16:59:38.140 INFO - LocationController.updateLocation Arg1: -1, Arg2: class Location {,     adClientId: null,     adComponentobjectuid: null,     address1: null,     address2: null,     address3: null,     address4: null,     adOrgId: null,     cCityId: null,     cCountryId: null,     city: null,     cLocationId: null,     created: null,     createdby: null,     cRegionId: null,     isactive: null,     plaza: null,     postal: null,     postalAdd: null,     regionname: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:38.144 INFO - LocationController.updateLocation: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:38.151 INFO - LocationController.deleteLocation Arg1: 1012753,  
2026-07-03 16:59:38.167 INFO - LocationController.deleteLocation: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:38.173 INFO - SecurityController.keygen Arg1: {}, Arg2: {accept=text/plain, application/json, application/*+json, */*, username=AdminLibertya, password=AdminLibertya, clientid=1010016, orgid=1010053, content-length=0, host=localhost:46480, connection=Keep-Alive, user-agent=Apache-HttpClient/4.5.2 (Java/1.8.0_121), accept-encoding=gzip,deflate},  
2026-07-03 16:59:38.175 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3OCwiZXhwIjoyNjQ3MDExNTc4fQ.RwBAxq-NvKv38LYZV7FHcwXUTLCacbe2HPUxBx
2026-07-03 16:59:38.180 INFO - SecurityController.keygen Arg1: {}, Arg2: {accept=text/plain, application/json, application/*+json, */*, username=AdminLibertya, content-length=0, host=localhost:46480, connection=Keep-Alive, user-agent=Apache-HttpClient/4.5.2 (Java/1.8.0_121), accept-encoding=gzip,deflate},  
2026-07-03 16:59:38.181 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:38.191 INFO - LocationController.deleteLocation Arg1: -1,  
2026-07-03 16:59:38.195 INFO - LocationController.deleteLocation: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:38.200 INFO - LocationController.deleteLocation Arg1: 1002133,  
2026-07-03 16:59:38.204 INFO - LocationController.deleteLocation: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>