LocationIntegrationTests

10

tests

0

failures

0

ignored

0.176s

duration

100%

successful

Tests

Test Duration Result
createLocationShouldReturnOK() 0.035s passed
deleteInexistentLocationShouldReturnKO() 0.009s passed
deleteLocationShouldReturnOK() 0.032s passed
deleteLocationWithCompanyMismatchShouldReturnKO() 0.009s passed
deleteLocationWithWrongTokenShouldReturnKO() 0.005s passed
modifyInexistentLocationShouldReturnKO() 0.010s passed
modifyLocationShouldReturnOK() 0.037s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.006s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.005s passed
retrieveCreatedLocationShouldReturnOK() 0.028s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.LocationIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.LocationIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.LocationIntegrationTests]: LocationIntegrationTests 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.LocationIntegrationTests
- 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@55e5415d, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@b8142f4, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@52d59507, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@4d75c604, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@3265995e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@33f2eb04, org.springframework.test.context.event.EventPublishingTestExecutionListener@4df13dd0, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@2ed7978c, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@30665461, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@146833a2, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@50b38342, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@424a152f, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@408d945b]
2026-07-03 16:59:38.215 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.218 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3OCwiZXhwIjoyNjQ3MDExNTc4fQ.RwBAxq-NvKv38LYZV7FHcwXUTLCacbe2HPUxBx
2026-07-03 16:59:38.223 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.251 INFO - LocationController.addLocation: <200 OK OK,1012754,[]>
1012754
2026-07-03 16:59:38.256 INFO - LocationController.retrieveLocation Arg1: 1012754,  
2026-07-03 16:59:38.279 INFO - LocationController.retrieveLocation: <200 OK OK,class Location {,     adClientId: 1010016,     adComponentobjectuid: CORE-C_Location-20260703165938229-716843,     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.285 INFO - LocationController.updateLocation Arg1: 1012754, 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.317 INFO - LocationController.updateLocation: <200 OK OK,[]>
2026-07-03 16:59:38.324 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.327 INFO - LocationController.updateLocation: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:38.333 INFO - LocationController.deleteLocation Arg1: 1012754,  
2026-07-03 16:59:38.359 INFO - LocationController.deleteLocation: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:38.364 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.366 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3OCwiZXhwIjoyNjQ3MDExNTc4fQ.RwBAxq-NvKv38LYZV7FHcwXUTLCacbe2HPUxBx
2026-07-03 16:59:38.370 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.371 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:38.377 INFO - LocationController.deleteLocation Arg1: -1,  
2026-07-03 16:59:38.381 INFO - LocationController.deleteLocation: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:38.392 INFO - LocationController.deleteLocation Arg1: 1002133,  
2026-07-03 16:59:38.395 INFO - LocationController.deleteLocation: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>