ProductFamiliesIntegrationTests

10

tests

0

failures

0

ignored

0.177s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.058s passed
deleteInexistentMaestroShouldReturnKO() 0.011s passed
deleteMaestroShouldReturnOK() 0.021s 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.024s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.ProductFamiliesIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.ProductFamiliesIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.ProductFamiliesIntegrationTests]: ProductFamiliesIntegrationTests 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.ProductFamiliesIntegrationTests
- 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@578d5d02, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@77f04d1a, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@27682fa9, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@2fb70301, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@126f2eb8, org.springframework.test.context.support.DirtiesContextTestExecutionListener@67823972, org.springframework.test.context.event.EventPublishingTestExecutionListener@1f1574c, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@16c9e378, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@7d3815f7, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@b87ea8b, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@c79780, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@594c66c3, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@64e657b0]
2026-07-03 16:59:46.078 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:46.080 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NiwiZXhwIjoyNjQ3MDExNTg2fQ.KazCMGRQqTxq3FvJ3JRWbDdD_yj6i5M12r5hcT
2026-07-03 16:59:46.087 INFO - ProductFamiliesController.addProductFamily Arg1: class ProductFamilies {,     adClientId: 1010016,     adComponentobjectuid: null,     adOrgId: 1010053,     created: null,     createdby: null,     description: null,     isactive: null,     isdefault: false,     isselfservice: false,     mProductFamilyId: null,     name: Prueba,     updated: null,     updatedby: null,     value: ABC,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:46.136 INFO - ProductFamiliesController.addProductFamily: <200 OK OK,1010424,[]>
1010424
2026-07-03 16:59:46.143 INFO - ProductFamiliesController.retrieveProductFamily Arg1: 1010424,  
2026-07-03 16:59:46.160 INFO - ProductFamiliesController.retrieveProductFamily: <200 OK OK,class ProductFamilies {,     adClientId: 1010016,     adComponentobjectuid: CORE-M_Product_Family-20260703165946119-386537,     adOrgId: 1010053,     created: 2026-07-03 16:59:46.098809,     createdby: 1010717,     description: null,     isactive: true,     isdefault: false,     isselfser
2026-07-03 16:59:46.167 INFO - ProductFamiliesController.updateProductFamily Arg1: 1010424, Arg2: class ProductFamilies {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     created: null,     createdby: null,     description: null,     isactive: null,     isdefault: null,     isselfservice: null,     mProductFamilyId: null,     name: null,     updated: null,     updatedby: null,     value: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:46.185 INFO - ProductFamiliesController.updateProductFamily: <200 OK OK,[]>
2026-07-03 16:59:46.192 INFO - ProductFamiliesController.updateProductFamily Arg1: -1, Arg2: class ProductFamilies {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     created: null,     createdby: null,     description: null,     isactive: null,     isdefault: null,     isselfservice: null,     mProductFamilyId: null,     name: null,     updated: null,     updatedby: null,     value: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:46.197 INFO - ProductFamiliesController.updateProductFamily: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:46.203 INFO - ProductFamiliesController.deleteProductFamily Arg1: 1010424,  
2026-07-03 16:59:46.219 INFO - ProductFamiliesController.deleteProductFamily: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:46.224 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:46.227 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NiwiZXhwIjoyNjQ3MDExNTg2fQ.KazCMGRQqTxq3FvJ3JRWbDdD_yj6i5M12r5hcT
2026-07-03 16:59:46.232 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:46.233 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:46.244 INFO - ProductFamiliesController.deleteProductFamily Arg1: -1,  
2026-07-03 16:59:46.248 INFO - ProductFamiliesController.deleteProductFamily: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:46.255 INFO - ProductFamiliesController.deleteProductFamily Arg1: 1000000,  
2026-07-03 16:59:46.259 INFO - ProductFamiliesController.deleteProductFamily: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>