CurrenciesIntegrationTests

10

tests

0

failures

0

ignored

0.553s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.348s passed
deleteInexistentMaestroShouldReturnKO() 0.020s passed
deleteMaestroShouldReturnOK() 0.097s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.010s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.005s passed
modifyInexistentMaestroShouldReturnKO() 0.012s passed
modifyMaestroShouldReturnOK() 0.023s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.007s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.006s passed
retrieveCreatedMaestroShouldReturnOK() 0.025s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.CurrenciesIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.CurrenciesIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.CurrenciesIntegrationTests]: CurrenciesIntegrationTests 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.CurrenciesIntegrationTests
- 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@1d0dad12, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3c6fb501, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@58a8ea6f, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@2e6b379c, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@5e7e7a7e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1ff81b0d, org.springframework.test.context.event.EventPublishingTestExecutionListener@1c610f, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@773c7147, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@5abc5854, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@5c3007d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@66b40dd3, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@7296fe0b, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@4a5066f5]
2026-07-03 16:59:32.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:32.977 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MiwiZXhwIjoyNjQ3MDExNTcyfQ.z85JJ6APhzvQxzApByhla6FpDLH5oFnBPuXWN_
2026-07-03 16:59:32.987 INFO - CurrencyController.addCurrency Arg1: class Currency {,     adClientId: 1010016,     adComponentobjectuid: null,     adOrgId: 1010053,     cCurrencyId: null,     costingprecision: 4,     created: null,     createdby: null,     cursymbol: Prueba,     description: Prueba,     emuentrydate: null,     emurate: 0,     isactive: null,     isemumember: false,     iseuro: false,     isoCode: Prueba,     stdprecision: 2,     updated: null,     updatedby: null,     wsfecode: PRU,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:33.323 INFO - CurrencyController.addCurrency: <200 OK OK,1010428,[]>
1010428
2026-07-03 16:59:33.331 INFO - CurrencyController.retrieveCurrency Arg1: 1010428,  
2026-07-03 16:59:33.347 INFO - CurrencyController.retrieveCurrency: <200 OK OK,class Currency {,     adClientId: 1010016,     adComponentobjectuid: CORE-C_Currency-20260703165933014-706973,     adOrgId: 1010053,     cCurrencyId: 1010428,     costingprecision: 4,     created: 2026-07-03 16:59:32.999592,     createdby: 1010717,     cursymbol: Prueba,     description: 
2026-07-03 16:59:33.356 INFO - CurrencyController.updateCurrency Arg1: 1010428, Arg2: class Currency {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     cCurrencyId: null,     costingprecision: null,     created: null,     createdby: null,     cursymbol: null,     description: null,     emuentrydate: null,     emurate: null,     isactive: null,     isemumember: null,     iseuro: null,     isoCode: null,     stdprecision: null,     updated: null,     updatedby: null,     wsfecode: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:33.372 INFO - CurrencyController.updateCurrency: <200 OK OK,[]>
2026-07-03 16:59:33.379 INFO - CurrencyController.updateCurrency Arg1: -1, Arg2: class Currency {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     cCurrencyId: null,     costingprecision: null,     created: null,     createdby: null,     cursymbol: null,     description: null,     emuentrydate: null,     emurate: null,     isactive: null,     isemumember: null,     iseuro: null,     isoCode: null,     stdprecision: null,     updated: null,     updatedby: null,     wsfecode: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:33.384 INFO - CurrencyController.updateCurrency: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:33.391 INFO - CurrencyController.deleteCurrency Arg1: 1010428,  
2026-07-03 16:59:33.481 INFO - CurrencyController.deleteCurrency: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:33.487 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:33.489 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MywiZXhwIjoyNjQ3MDExNTczfQ.zQiAt5P-UF7vBsjuWTxq7vzum9WVnRUQbrP8fq
2026-07-03 16:59:33.495 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:33.496 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:33.508 INFO - CurrencyController.deleteCurrency Arg1: -1,  
2026-07-03 16:59:33.522 INFO - CurrencyController.deleteCurrency: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:33.528 INFO - CurrencyController.deleteCurrency Arg1: 277,  
2026-07-03 16:59:33.532 INFO - CurrencyController.deleteCurrency: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>