ProductLinesIntegrationTests

9

tests

0

failures

0

ignored

0.139s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.050s passed
deleteInexistentMaestroShouldReturnKO() 0.008s passed
deleteMaestroShouldReturnOK() 0.015s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.004s passed
modifyInexistentMaestroShouldReturnKO() 0.009s passed
modifyMaestroShouldReturnOK() 0.019s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.007s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.005s passed
retrieveCreatedMaestroShouldReturnOK() 0.022s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.ProductLinesIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.ProductLinesIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.ProductLinesIntegrationTests]: ProductLinesIntegrationTests 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.ProductLinesIntegrationTests
- 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@31a024ea, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@362c48c, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@62aee901, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@1983a4e4, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@29b4444a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3ce7a354, org.springframework.test.context.event.EventPublishingTestExecutionListener@2914a328, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@2d34866a, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@26291192, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@27d5eb00, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@2b540131, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@225ac5e7, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@4c91f5bf]
2026-07-03 16:59:47.111 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:47.113 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NywiZXhwIjoyNjQ3MDExNTg3fQ.S325TAVCc_R5zCabnD-4l8YLOmf8dgwA5eGWrv
2026-07-03 16:59:47.120 INFO - ProductLinesController.addProductLine Arg1: class ProductLines {,     adClientId: 1010016,     adComponentobjectuid: null,     adOrgId: 1010053,     created: null,     createdby: null,     description: null,     isactive: null,     isdefault: false,     isselfservice: false,     mProductLinesId: null,     name: Azul,     processed: false,     updated: null,     updatedby: null,     value: Azul,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:47.161 INFO - ProductLinesController.addProductLine: <200 OK OK,1010422,[]>
1010422
2026-07-03 16:59:47.168 INFO - ProductLinesController.retrieveProductLine Arg1: 1010422,  
2026-07-03 16:59:47.183 INFO - ProductLinesController.retrieveProductLine: <200 OK OK,class ProductLines {,     adClientId: 1010016,     adComponentobjectuid: CORE-M_Product_Lines-20260703165947144-287978,     adOrgId: 1010053,     created: 2026-07-03 16:59:47.130275,     createdby: 1010717,     description: null,     isactive: true,     isdefault: false,     isselfservice
2026-07-03 16:59:47.190 INFO - ProductLinesController.updateProductLine Arg1: 1010422, Arg2: class ProductLines {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     created: null,     createdby: null,     description: null,     isactive: null,     isdefault: null,     isselfservice: null,     mProductLinesId: null,     name: null,     processed: null,     updated: null,     updatedby: null,     value: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:47.202 INFO - ProductLinesController.updateProductLine: <200 OK OK,[]>
2026-07-03 16:59:47.208 INFO - ProductLinesController.updateProductLine Arg1: -1, Arg2: class ProductLines {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     created: null,     createdby: null,     description: null,     isactive: null,     isdefault: null,     isselfservice: null,     mProductLinesId: null,     name: null,     processed: null,     updated: null,     updatedby: null,     value: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:47.212 INFO - ProductLinesController.updateProductLine: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:47.218 INFO - ProductLinesController.deleteProductLine Arg1: 1010422,  
2026-07-03 16:59:47.228 INFO - ProductLinesController.deleteProductLine: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:47.232 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:47.235 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NywiZXhwIjoyNjQ3MDExNTg3fQ.S325TAVCc_R5zCabnD-4l8YLOmf8dgwA5eGWrv
2026-07-03 16:59:47.239 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:47.240 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:47.249 INFO - ProductLinesController.deleteProductLine Arg1: -1,  
2026-07-03 16:59:47.253 INFO - ProductLinesController.deleteProductLine: <404 NOT_FOUND Not Found,[]>