POSIntegrationTests

10

tests

0

failures

0

ignored

0.297s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.107s passed
deleteInexistentMaestroShouldReturnKO() 0.008s passed
deleteMaestroShouldReturnOK() 0.058s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.009s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.004s passed
modifyInexistentMaestroShouldReturnKO() 0.009s passed
modifyMaestroShouldReturnOK() 0.028s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.007s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.006s passed
retrieveCreatedMaestroShouldReturnOK() 0.061s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.POSIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.POSIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.POSIntegrationTests]: POSIntegrationTests 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.POSIntegrationTests
- 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@a97a895, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@5401c6a8, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@1ef5cde4, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@359fa722, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@27b7204, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5895c065, org.springframework.test.context.event.EventPublishingTestExecutionListener@683fac7e, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@2051a0ec, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@79631db0, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@f837c11, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@1aca6dc3, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@3731e8b6, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@565efd7d]
2026-07-03 16:59:43.136 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.139 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4MywiZXhwIjoyNjQ3MDExNTgzfQ.MbuWL8MQgMtIROQRYPrGgDnuhvjth9FaWD6T2G
2026-07-03 16:59:43.148 INFO - POSController.addPOS Arg1: class POS {,     adClientId: 1010016,     adOrgId: 1010053,     adRoleId: 1000043,     allowcreditnotesearch: true,     authorizegeneralmanualdiscount: null,     cBankaccountId: 1000025,     cBpartnercashtrxId: 1002050,     cCashbookId: 1010024,     cDoctypeId: 1000341,     cInoutdoctypeId: null,     cInvoicedoctypeId: null,     cOrderdoctypeId: 1000338,     cPosId: null,     cPoskeylayoutId: 1000001,     created: null,     createdby: null,     creditcardcashretirementChargeId: null,     creditcardcashretirementDoctypeId: null,     creditcardcashretirementProductId: null,     description: ,     draftedinout: null,     help: ,     initialposauthorization: null,     isactive: null,     isallowcreditcardcashretirement: null,     iscopyentity: null,     iscreateinvoice: null,     isdeliverorderinwarehouse: null,     ismodifyprice: false,     isprintcurrentaccountdocument: null,     isprintwarehousedeliverdocument: null,     issalewithoutstock: null,     issearchbyname: false,     issearchbynamelike: false,     issearchbyupc: false,     issearchbyupclike: false,     issearchbyvalue: true,     issearchbyvaluelike: false,     issearchtoday: false,     lockedclosed: null,     maxreturnedcashincn: null,     mPricelistId: 1000581,     mWarehouseId: 1010048,     name: POS Prueba,     operationmode: null,     posnet: null,     posnumber: 43,     printername: ,     returnedcashincncontrol: null,     salesrepId: 1000692,     updated: null,     updatedby: null,     voiddocuments: null,     voiddocumentsEf: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:43.245 INFO - POSController.addPOS: <200 OK OK,1010430,[]>
1010430
2026-07-03 16:59:43.251 INFO - POSController.retrievePOS Arg1: 1010430,  
2026-07-03 16:59:43.305 INFO - POSController.retrievePOS: <200 OK OK,class POS {,     adClientId: 1010016,     adOrgId: 1010053,     adRoleId: 1000043,     allowcreditnotesearch: true,     authorizegeneralmanualdiscount: true,     cBankaccountId: 1000025,     cBpartnercashtrxId: 1002050,     cCashbookId: 1010024,     cDoctypeId: 1000341,     cInoutdoctypeI
2026-07-03 16:59:43.312 INFO - POSController.updatePOS Arg1: 1010430, Arg2: class POS {,     adClientId: null,     adOrgId: null,     adRoleId: null,     allowcreditnotesearch: null,     authorizegeneralmanualdiscount: null,     cBankaccountId: null,     cBpartnercashtrxId: null,     cCashbookId: null,     cDoctypeId: null,     cInoutdoctypeId: null,     cInvoicedoctypeId: null,     cOrderdoctypeId: null,     cPosId: null,     cPoskeylayoutId: null,     created: null,     createdby: null,     creditcardcashretirementChargeId: null,     creditcardcashretirementDoctypeId: null,     creditcardcashretirementProductId: null,     description: null,     draftedinout: null,     help: null,     initialposauthorization: null,     isactive: null,     isallowcreditcardcashretirement: null,     iscopyentity: null,     iscreateinvoice: null,     isdeliverorderinwarehouse: null,     ismodifyprice: null,     isprintcurrentaccountdocument: null,     isprintwarehousedeliverdocument: null,     issalewithoutstock: null,     issearchbyname: null,     issearchbynamelike: null,     issearchbyupc: null,     issearchbyupclike: null,     issearchbyvalue: null,     issearchbyvaluelike: null,     issearchtoday: null,     lockedclosed: null,     maxreturnedcashincn: null,     mPricelistId: null,     mWarehouseId: null,     name: null,     operationmode: null,     posnet: null,     posnumber: null,     printername: null,     returnedcashincncontrol: null,     salesrepId: null,     updated: null,     updatedby: null,     voiddocuments: null,     voiddocumentsEf: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:43.334 INFO - POSController.updatePOS: <200 OK OK,[]>
2026-07-03 16:59:43.340 INFO - POSController.updatePOS Arg1: -1, Arg2: class POS {,     adClientId: null,     adOrgId: null,     adRoleId: null,     allowcreditnotesearch: null,     authorizegeneralmanualdiscount: null,     cBankaccountId: null,     cBpartnercashtrxId: null,     cCashbookId: null,     cDoctypeId: null,     cInoutdoctypeId: null,     cInvoicedoctypeId: null,     cOrderdoctypeId: null,     cPosId: null,     cPoskeylayoutId: null,     created: null,     createdby: null,     creditcardcashretirementChargeId: null,     creditcardcashretirementDoctypeId: null,     creditcardcashretirementProductId: null,     description: null,     draftedinout: null,     help: null,     initialposauthorization: null,     isactive: null,     isallowcreditcardcashretirement: null,     iscopyentity: null,     iscreateinvoice: null,     isdeliverorderinwarehouse: null,     ismodifyprice: null,     isprintcurrentaccountdocument: null,     isprintwarehousedeliverdocument: null,     issalewithoutstock: null,     issearchbyname: null,     issearchbynamelike: null,     issearchbyupc: null,     issearchbyupclike: null,     issearchbyvalue: null,     issearchbyvaluelike: null,     issearchtoday: null,     lockedclosed: null,     maxreturnedcashincn: null,     mPricelistId: null,     mWarehouseId: null,     name: null,     operationmode: null,     posnet: null,     posnumber: null,     printername: null,     returnedcashincncontrol: null,     salesrepId: null,     updated: null,     updatedby: null,     voiddocuments: null,     voiddocumentsEf: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:43.344 INFO - POSController.updatePOS: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:43.350 INFO - POSController.deletePOS Arg1: 1010430,  
2026-07-03 16:59:43.402 INFO - POSController.deletePOS: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:43.406 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.409 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4MywiZXhwIjoyNjQ3MDExNTgzfQ.MbuWL8MQgMtIROQRYPrGgDnuhvjth9FaWD6T2G
2026-07-03 16:59:43.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:43.416 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:43.425 INFO - POSController.deletePOS Arg1: -1,  
2026-07-03 16:59:43.429 INFO - POSController.deletePOS: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:43.434 INFO - POSController.deletePOS Arg1: 1000001,  
2026-07-03 16:59:43.438 INFO - POSController.deletePOS: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>