OrgsIntegrationTests

10

tests

0

failures

0

ignored

0.813s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.517s passed
deleteInexistentMaestroShouldReturnKO() 0.010s passed
deleteMaestroShouldReturnOK() 0.181s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.030s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.004s passed
modifyInexistentMaestroShouldReturnKO() 0.010s passed
modifyMaestroShouldReturnOK() 0.024s 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.OrgsIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.OrgsIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.OrgsIntegrationTests]: OrgsIntegrationTests 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.OrgsIntegrationTests
- 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@5d20195b, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@2674ca88, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@67a3dd86, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@430212cb, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@1eb52131, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1e1598e5, org.springframework.test.context.event.EventPublishingTestExecutionListener@67a3394c, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@34e4fb39, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@36fe83d, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@310f8a05, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@4f98ac31, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@5cb6abc8, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@20e48e63]
2026-07-03 16:59:42.310 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:42.312 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4MiwiZXhwIjoyNjQ3MDExNTgyfQ.2bask5a-lKVevy6zZa7lWyPah4gKCz0erH99ZF
2026-07-03 16:59:42.318 INFO - OrgController.addOrg Arg1: class Org {,     adClientId: 1010016,     adOrgId: null,     created: null,     createdby: null,     description: null,     isactive: null,     issummary: false,     name: Test3201350460902301,     updated: null,     updatedby: null,     value: Test3201350460894157,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:42.827 INFO - OrgController.addOrg: <200 OK OK,1010475,[]>
1010475
2026-07-03 16:59:42.834 INFO - OrgController.retrieveOrg Arg1: 1010475,  
2026-07-03 16:59:42.851 INFO - OrgController.retrieveOrg: <200 OK OK,class Org {,     adClientId: 1010016,     adOrgId: 1010475,     created: 2026-07-03 16:59:42.326616,     createdby: 1010717,     description: null,     isactive: true,     issummary: false,     name: Test3201350460902301,     updated: 2026-07-03 16:59:42.327008,     updatedby: 1010717,   
2026-07-03 16:59:42.858 INFO - OrgController.updateOrg Arg1: 1010475, Arg2: class Org {,     adClientId: null,     adOrgId: null,     created: null,     createdby: null,     description: null,     isactive: null,     issummary: null,     name: null,     updated: null,     updatedby: null,     value: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:42.876 INFO - OrgController.updateOrg: <200 OK OK,[]>
2026-07-03 16:59:42.882 INFO - OrgController.updateOrg Arg1: -1, Arg2: class Org {,     adClientId: null,     adOrgId: null,     created: null,     createdby: null,     description: null,     isactive: null,     issummary: null,     name: null,     updated: null,     updatedby: null,     value: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:42.886 INFO - OrgController.updateOrg: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:42.892 INFO - OrgController.deleteOrg Arg1: 1010475,  
2026-07-03 16:59:43.068 INFO - OrgController.deleteOrg: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:43.072 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:43.075 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4MywiZXhwIjoyNjQ3MDExNTgzfQ.MbuWL8MQgMtIROQRYPrGgDnuhvjth9FaWD6T2G
2026-07-03 16:59:43.080 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:43.081 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:43.091 INFO - OrgController.deleteOrg Arg1: -1,  
2026-07-03 16:59:43.095 INFO - OrgController.deleteOrg: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:43.101 INFO - OrgController.deleteOrg Arg1: 1000036,  
2026-07-03 16:59:43.126 INFO - OrgController.deleteOrg: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>