UserIntegrationTests

10

tests

0

failures

0

ignored

0.174s

duration

100%

successful

Tests

Test Duration Result
createUserShouldReturnOK() 0.052s passed
deleteInexistentUserShouldReturnKO() 0.011s passed
deleteUserShouldReturnOK() 0.033s passed
deleteUserWithCompanyMismatchShouldReturnKO() 0.009s passed
deleteUserWithWrongTokenShouldReturnKO() 0.005s passed
modifyInexistentUserShouldReturnKO() 0.009s passed
modifyUserShouldReturnOK() 0.019s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.008s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.006s passed
retrieveCreatedUserShouldReturnOKAndNotContainPassword() 0.022s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.UserIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.UserIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.UserIntegrationTests]: UserIntegrationTests 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.UserIntegrationTests
- 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@4687366b, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3a17acd4, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@8f589d7, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@65da1cbe, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@1a914a00, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1d67348a, org.springframework.test.context.event.EventPublishingTestExecutionListener@39f8adc0, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@c7269ad, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@1c23e369, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@38445703, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@44ae6b66, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@5b0e5d5f, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@58b5d5fc]
2026-07-03 16:59:48.666 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.669 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4OCwiZXhwIjoyNjQ3MDExNTg4fQ.YTcgAD5325XWq3Y54z6IkzzrOqFaSLtE3x9cPl
2026-07-03 16:59:48.677 INFO - UserController.addUser Arg1: class User {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     adOrgtrxId: null,     adUserId: null,     birthday: null,     cBpartnerContactId: null,     cBpartnerId: null,     cBpartnerLocationId: null,     cGreetingId: null,     comments: null,     created: null,     createdby: null,     description: null,     email: null,     emailuser: null,     emailuserpw: null,     emailverify: null,     emailverifydate: null,     fax: null,     isactive: null,     isldapauthorized: null,     issystemaccess: null,     lastcontact: null,     lastpasswordchangedate: null,     lastresult: null,     name: Un usuario 3201356818017892,     notificationtype: null,     notifyonconversationactivity: null,     paGoalId: null,     paGoalprivateId: null,     password: FooBarPass,     phone: null,     phone2: null,     phone3: null,     processing: null,     supervisorId: null,     title: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:48.720 INFO - UserController.addUser: <200 OK OK,1011142,[]>
1011142
2026-07-03 16:59:48.726 INFO - UserController.retrieveUser Arg1: 1011142,  
2026-07-03 16:59:48.741 INFO - UserController.retrieveUser: <200 OK OK,class User {,     adClientId: 1010016,     adComponentobjectuid: CORE-AD_User-20260703165948695-682592,     adOrgId: 1010053,     adOrgtrxId: null,     adUserId: 1011142,     birthday: null,     cBpartnerContactId: null,     cBpartnerId: null,     cBpartnerLocationId: null,     cGreetingI
2026-07-03 16:59:48.749 INFO - UserController.updateUser Arg1: 1011142, Arg2: class User {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     adOrgtrxId: null,     adUserId: null,     birthday: null,     cBpartnerContactId: null,     cBpartnerId: null,     cBpartnerLocationId: null,     cGreetingId: null,     comments: null,     created: null,     createdby: null,     description: null,     email: null,     emailuser: null,     emailuserpw: null,     emailverify: null,     emailverifydate: null,     fax: null,     isactive: null,     isldapauthorized: null,     issystemaccess: null,     lastcontact: null,     lastpasswordchangedate: null,     lastresult: null,     name: null,     notificationtype: null,     notifyonconversationactivity: null,     paGoalId: null,     paGoalprivateId: null,     password: null,     phone: null,     phone2: null,     phone3: null,     processing: null,     supervisorId: null,     title: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:48.761 INFO - UserController.updateUser: <200 OK OK,[]>
2026-07-03 16:59:48.767 INFO - UserController.updateUser Arg1: -1, Arg2: class User {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     adOrgtrxId: null,     adUserId: null,     birthday: null,     cBpartnerContactId: null,     cBpartnerId: null,     cBpartnerLocationId: null,     cGreetingId: null,     comments: null,     created: null,     createdby: null,     description: null,     email: null,     emailuser: null,     emailuserpw: null,     emailverify: null,     emailverifydate: null,     fax: null,     isactive: null,     isldapauthorized: null,     issystemaccess: null,     lastcontact: null,     lastpasswordchangedate: null,     lastresult: null,     name: null,     notificationtype: null,     notifyonconversationactivity: null,     paGoalId: null,     paGoalprivateId: null,     password: null,     phone: null,     phone2: null,     phone3: null,     processing: null,     supervisorId: null,     title: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:48.771 INFO - UserController.updateUser: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:48.776 INFO - UserController.deleteUser Arg1: 1011142,  
2026-07-03 16:59:48.803 INFO - UserController.deleteUser: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:48.808 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.811 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4OCwiZXhwIjoyNjQ3MDExNTg4fQ.YTcgAD5325XWq3Y54z6IkzzrOqFaSLtE3x9cPl
2026-07-03 16:59:48.816 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.817 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:48.823 INFO - UserController.deleteUser Arg1: 1000703,  
2026-07-03 16:59:48.826 INFO - UserController.deleteUser: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>
2026-07-03 16:59:48.837 INFO - UserController.deleteUser Arg1: -1,  
2026-07-03 16:59:48.841 INFO - UserController.deleteUser: <404 NOT_FOUND Not Found,[]>