BPartnerLocationIntegrationTests

10

tests

0

failures

0

ignored

0.499s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.139s passed
deleteInexistentMaestroShouldReturnKO() 0.017s passed
deleteMaestroShouldReturnOK() 0.180s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.012s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.005s passed
modifyInexistentMaestroShouldReturnKO() 0.016s passed
modifyMaestroShouldReturnOK() 0.070s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.008s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.007s passed
retrieveCreatedMaestroShouldReturnOK() 0.045s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.BPartnerLocationIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.BPartnerLocationIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.BPartnerLocationIntegrationTests]: BPartnerLocationIntegrationTests 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.BPartnerLocationIntegrationTests
- 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@2b058bfd, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4805069b, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@14ca88bc, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@f01fc6d, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@85cd413, org.springframework.test.context.support.DirtiesContextTestExecutionListener@688d2a5d, org.springframework.test.context.event.EventPublishingTestExecutionListener@2842c098, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@2820b369, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@46b21632, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@476c137b, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@79144d0e, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@540212be, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@2579d8a]
2026-07-03 16:59:30.765 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:30.769 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MCwiZXhwIjoyNjQ3MDExNTcwfQ.u1depy6vYTqdClYxQVUhUnsz0-mtI4JFcLPE4W
2026-07-03 16:59:30.783 INFO - BPartnerLocationController.addBPartnerLocation Arg1: class BPartnerLocation {,     adClientId: 1010016,     adComponentobjectuid: null,     adOrgId: 1010053,     cBpartnerId: 1012145,     cBpartnerLocationId: null,     cLocationId: 1012296,     created: null,     createdby: null,     cSalesregionId: null,     email: null,     fax: null,     isactive: null,     isbillto: true,     isdn: null,     ispayfrom: true,     isremitto: true,     isshipto: true,     istemporal: false,     name: JUAN B. JUSTO 1122 Piso:01 Depto:12,     phone: null,     phone2: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:30.906 INFO - BPartnerLocationController.addBPartnerLocation: <200 OK OK,1012580,[]>
1012580
2026-07-03 16:59:30.915 INFO - BPartnerLocationController.retrieveBPartnerLocation Arg1: 1012580,  
2026-07-03 16:59:30.950 INFO - BPartnerLocationController.retrieveBPartnerLocation: <200 OK OK,class BPartnerLocation {,     adClientId: 1010016,     adComponentobjectuid: CORE-C_BPartner_Location-20260703165930840-122572,     adOrgId: 1010053,     cBpartnerId: 1012145,     cBpartnerLocationId: 1012580,     cLocationId: 1012296,     created: 2026-07-03 16:59:30.801416,     createdb
2026-07-03 16:59:30.962 INFO - BPartnerLocationController.updateBPartnerLocation Arg1: 1012580, Arg2: class BPartnerLocation {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     cBpartnerId: null,     cBpartnerLocationId: null,     cLocationId: null,     created: null,     createdby: null,     cSalesregionId: null,     email: null,     fax: null,     isactive: null,     isbillto: null,     isdn: null,     ispayfrom: null,     isremitto: null,     isshipto: null,     istemporal: null,     name: null,     phone: null,     phone2: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:31.019 INFO - BPartnerLocationController.updateBPartnerLocation: <200 OK OK,[]>
2026-07-03 16:59:31.034 INFO - BPartnerLocationController.updateBPartnerLocation Arg1: -1, Arg2: class BPartnerLocation {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     cBpartnerId: null,     cBpartnerLocationId: null,     cLocationId: null,     created: null,     createdby: null,     cSalesregionId: null,     email: null,     fax: null,     isactive: null,     isbillto: null,     isdn: null,     ispayfrom: null,     isremitto: null,     isshipto: null,     istemporal: null,     name: null,     phone: null,     phone2: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:31.039 INFO - BPartnerLocationController.updateBPartnerLocation: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:31.047 INFO - BPartnerLocationController.deleteBPartnerLocation Arg1: 1012580,  
2026-07-03 16:59:31.220 INFO - BPartnerLocationController.deleteBPartnerLocation: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:31.227 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:31.229 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MSwiZXhwIjoyNjQ3MDExNTcxfQ.GCBvYEsWT-gI-1DU4aOFnJuUCQ2sufGoFRFJIF
2026-07-03 16:59:31.236 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:31.237 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:31.253 INFO - BPartnerLocationController.deleteBPartnerLocation Arg1: -1,  
2026-07-03 16:59:31.257 INFO - BPartnerLocationController.deleteBPartnerLocation: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:31.270 INFO - BPartnerLocationController.deleteBPartnerLocation Arg1: 1002060,  
2026-07-03 16:59:31.275 INFO - BPartnerLocationController.deleteBPartnerLocation: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>