ProductGamasIntegrationTests

10

tests

0

failures

0

ignored

0.189s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.066s passed
deleteInexistentMaestroShouldReturnKO() 0.009s passed
deleteMaestroShouldReturnOK() 0.015s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.032s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.004s passed
modifyInexistentMaestroShouldReturnKO() 0.011s passed
modifyMaestroShouldReturnOK() 0.017s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.008s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.005s passed
retrieveCreatedMaestroShouldReturnOK() 0.022s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.ProductGamasIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.ProductGamasIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.ProductGamasIntegrationTests]: ProductGamasIntegrationTests 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.ProductGamasIntegrationTests
- 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@b5390, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@59831016, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@37f71e8, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@63b0b3dd, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@397dfbe8, org.springframework.test.context.support.DirtiesContextTestExecutionListener@783f5f71, org.springframework.test.context.event.EventPublishingTestExecutionListener@3791af, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@66fff42f, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@308be1a3, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@32cde414, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@e4bb10b, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@178c6261, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@78e50fca]
2026-07-03 16:59:46.269 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.272 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NiwiZXhwIjoyNjQ3MDExNTg2fQ.KazCMGRQqTxq3FvJ3JRWbDdD_yj6i5M12r5hcT
2026-07-03 16:59:46.278 INFO - ProductGamasController.addProductGama Arg1: class ProductGamas {,     adClientId: 1010016,     adComponentobjectuid: null,     adOrgId: 1010053,     created: null,     createdby: null,     description: null,     isactive: null,     isdefault: false,     isselfservice: false,     mProductGamasId: null,     mProductLinesId: null,     name: Prueba,     processed: false,     updated: null,     updatedby: null,     value: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:46.336 INFO - ProductGamasController.addProductGama: <200 OK OK,1010431,[]>
1010431
2026-07-03 16:59:46.342 INFO - ProductGamasController.retrieveProductGama Arg1: 1010431,  
2026-07-03 16:59:46.358 INFO - ProductGamasController.retrieveProductGama: <200 OK OK,class ProductGamas {,     adClientId: 1010016,     adComponentobjectuid: CORE-M_Product_Gamas-20260703165946319-856011,     adOrgId: 1010053,     created: 2026-07-03 16:59:46.289589,     createdby: 1010717,     description: null,     isactive: true,     isdefault: false,     isselfservice
2026-07-03 16:59:46.365 INFO - ProductGamasController.updateProductGama Arg1: 1010431, Arg2: class ProductGamas {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     created: null,     createdby: null,     description: null,     isactive: null,     isdefault: null,     isselfservice: null,     mProductGamasId: null,     mProductLinesId: null,     name: null,     processed: null,     updated: null,     updatedby: null,     value: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:46.376 INFO - ProductGamasController.updateProductGama: <200 OK OK,[]>
2026-07-03 16:59:46.383 INFO - ProductGamasController.updateProductGama Arg1: -1, Arg2: class ProductGamas {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     created: null,     createdby: null,     description: null,     isactive: null,     isdefault: null,     isselfservice: null,     mProductGamasId: null,     mProductLinesId: null,     name: null,     processed: null,     updated: null,     updatedby: null,     value: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:46.387 INFO - ProductGamasController.updateProductGama: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:46.393 INFO - ProductGamasController.deleteProductGama Arg1: 1010431,  
2026-07-03 16:59:46.402 INFO - ProductGamasController.deleteProductGama: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:46.407 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.410 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NiwiZXhwIjoyNjQ3MDExNTg2fQ.KazCMGRQqTxq3FvJ3JRWbDdD_yj6i5M12r5hcT
2026-07-03 16:59:46.415 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.416 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:46.425 INFO - ProductGamasController.deleteProductGama Arg1: -1,  
2026-07-03 16:59:46.428 INFO - ProductGamasController.deleteProductGama: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:46.435 INFO - ProductGamasController.deleteProductGama Arg1: 1000001,  
2026-07-03 16:59:46.460 INFO - ProductGamasController.deleteProductGama: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>