UOMsIntegrationTests

10

tests

0

failures

0

ignored

0.315s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.163s passed
deleteInexistentMaestroShouldReturnKO() 0.009s passed
deleteMaestroShouldReturnOK() 0.067s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.010s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.005s passed
modifyInexistentMaestroShouldReturnKO() 0.008s passed
modifyMaestroShouldReturnOK() 0.020s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.006s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.007s passed
retrieveCreatedMaestroShouldReturnOK() 0.020s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.UOMsIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.UOMsIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.UOMsIntegrationTests]: UOMsIntegrationTests 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.UOMsIntegrationTests
- 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@5f65e0c0, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@566cc6af, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@d70dbeb, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@7f8f5d37, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@f9cd1e6, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3ff53704, org.springframework.test.context.event.EventPublishingTestExecutionListener@34d11c92, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@31b289da, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@58486deb, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@4e933cf1, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@729a9c3d, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@574327ed, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@4c7f2fdb]
2026-07-03 16:59:48.340 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:48.342 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4OCwiZXhwIjoyNjQ3MDExNTg4fQ.YTcgAD5325XWq3Y54z6IkzzrOqFaSLtE3x9cPl
2026-07-03 16:59:48.348 INFO - UOMController.addUOM Arg1: class UOM {,     adClientId: 1010016,     adComponentobjectuid: null,     adOrgId: 1010053,     allowdecimals: true,     costingprecision: 0,     created: null,     createdby: null,     cUomGroupId: null,     cUomId: null,     description: null,     isactive: null,     isdefault: false,     name: Prueba,     productselectable: true,     stdprecision: 2,     uomcodefe: 3,     uomsymbol: Prueba,     updated: null,     updatedby: null,     x12de355: Prueba,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:48.503 INFO - UOMController.addUOM: <200 OK OK,1010455,[]>
1010455
2026-07-03 16:59:48.509 INFO - UOMController.retrieveUOM Arg1: 1010455,  
2026-07-03 16:59:48.523 INFO - UOMController.retrieveUOM: <200 OK OK,class UOM {,     adClientId: 1010016,     adComponentobjectuid: CORE-C_UOM-20260703165948378-747734,     adOrgId: 1010053,     allowdecimals: true,     costingprecision: 0,     created: 2026-07-03 16:59:48.360259,     createdby: 1010717,     cUomGroupId: null,     cUomId: 1010455,     des
2026-07-03 16:59:48.529 INFO - UOMController.updateUOM Arg1: 1010455, Arg2: class UOM {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     allowdecimals: null,     costingprecision: null,     created: null,     createdby: null,     cUomGroupId: null,     cUomId: null,     description: null,     isactive: null,     isdefault: null,     name: null,     productselectable: null,     stdprecision: null,     uomcodefe: null,     uomsymbol: null,     updated: null,     updatedby: null,     x12de355: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:48.544 INFO - UOMController.updateUOM: <200 OK OK,[]>
2026-07-03 16:59:48.550 INFO - UOMController.updateUOM Arg1: -1, Arg2: class UOM {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     allowdecimals: null,     costingprecision: null,     created: null,     createdby: null,     cUomGroupId: null,     cUomId: null,     description: null,     isactive: null,     isdefault: null,     name: null,     productselectable: null,     stdprecision: null,     uomcodefe: null,     uomsymbol: null,     updated: null,     updatedby: null,     x12de355: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:48.553 INFO - UOMController.updateUOM: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:48.558 INFO - UOMController.deleteUOM Arg1: 1010455,  
2026-07-03 16:59:48.620 INFO - UOMController.deleteUOM: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:48.624 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:48.626 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4OCwiZXhwIjoyNjQ3MDExNTg4fQ.YTcgAD5325XWq3Y54z6IkzzrOqFaSLtE3x9cPl
2026-07-03 16:59:48.632 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:48.632 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:48.643 INFO - UOMController.deleteUOM Arg1: -1,  
2026-07-03 16:59:48.646 INFO - UOMController.deleteUOM: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:48.652 INFO - UOMController.deleteUOM Arg1: 1000018,  
2026-07-03 16:59:48.656 INFO - UOMController.deleteUOM: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>