BanksIntegrationTests

10

tests

0

failures

0

ignored

0.212s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.064s passed
deleteInexistentMaestroShouldReturnKO() 0.013s passed
deleteMaestroShouldReturnOK() 0.036s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.012s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.007s passed
modifyInexistentMaestroShouldReturnKO() 0.014s passed
modifyMaestroShouldReturnOK() 0.022s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.010s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.007s passed
retrieveCreatedMaestroShouldReturnOK() 0.027s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.BanksIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.BanksIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.BanksIntegrationTests]: BanksIntegrationTests 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.BanksIntegrationTests
- 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@72c704f1, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@76f9e000, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@7612116b, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@1c05097c, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@562f6681, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6f6f65a4, org.springframework.test.context.event.EventPublishingTestExecutionListener@990b86b, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@3dea1ecc, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@105c6c9e, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@40a7974, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@8d5da7e, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@65a4b9d6, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@16ef1160]
2026-07-03 16:59:31.582 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:31.585 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MSwiZXhwIjoyNjQ3MDExNTcxfQ.GCBvYEsWT-gI-1DU4aOFnJuUCQ2sufGoFRFJIF
2026-07-03 16:59:31.599 INFO - BankController.addBank Arg1: class Bank {,     adClientId: 1010016,     adComponentobjectuid: null,     adOrgId: 1010053,     cBankId: null,     cLocationId: null,     created: null,     createdby: null,     description: null,     isactive: null,     isownbank: true,     name: Prueba,     routingno: 1,     swiftcode: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:31.647 INFO - BankController.addBank: <200 OK OK,1010467,[]>
1010467
2026-07-03 16:59:31.656 INFO - BankController.retrieveBank Arg1: 1010467,  
2026-07-03 16:59:31.673 INFO - BankController.retrieveBank: <200 OK OK,class Bank {,     adClientId: 1010016,     adComponentobjectuid: CORE-C_Bank-20260703165931631-810535,     adOrgId: 1010053,     cBankId: 1010467,     cLocationId: null,     created: 2026-07-03 16:59:31.614027,     createdby: 1010717,     description: null,     isactive: true,     isownba
2026-07-03 16:59:31.683 INFO - BankController.updateBank Arg1: 1010467, Arg2: class Bank {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     cBankId: null,     cLocationId: null,     created: null,     createdby: null,     description: null,     isactive: null,     isownbank: null,     name: null,     routingno: null,     swiftcode: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:31.697 INFO - BankController.updateBank: <200 OK OK,[]>
2026-07-03 16:59:31.705 INFO - BankController.updateBank Arg1: -1, Arg2: class Bank {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     cBankId: null,     cLocationId: null,     created: null,     createdby: null,     description: null,     isactive: null,     isownbank: null,     name: null,     routingno: null,     swiftcode: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:31.711 INFO - BankController.updateBank: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:31.720 INFO - BankController.deleteBank Arg1: 1010467,  
2026-07-03 16:59:31.747 INFO - BankController.deleteBank: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:31.755 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:31.758 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MSwiZXhwIjoyNjQ3MDExNTcxfQ.GCBvYEsWT-gI-1DU4aOFnJuUCQ2sufGoFRFJIF
2026-07-03 16:59:31.764 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:31.765 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:31.781 INFO - BankController.deleteBank Arg1: -1,  
2026-07-03 16:59:31.786 INFO - BankController.deleteBank: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:31.794 INFO - BankController.deleteBank Arg1: 1000030,  
2026-07-03 16:59:31.799 INFO - BankController.deleteBank: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>