BPartnerIntegrationTests

10

tests

0

failures

0

ignored

0.819s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.554s passed
deleteInexistentMaestroShouldReturnKO() 0.018s passed
deleteMaestroShouldReturnOK() 0.063s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.016s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.007s passed
modifyInexistentMaestroShouldReturnKO() 0.019s passed
modifyMaestroShouldReturnOK() 0.046s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.011s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.008s passed
retrieveCreatedMaestroShouldReturnOK() 0.077s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.BPartnerIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.BPartnerIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.BPartnerIntegrationTests]: BPartnerIntegrationTests 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.BPartnerIntegrationTests
- 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@6fc7e828, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@26a9c6df, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@2ce24a1a, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@26bce60d, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@76eadc5a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1e9d7366, org.springframework.test.context.event.EventPublishingTestExecutionListener@20914835, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@615c4ea4, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@417446d9, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@34070bd2, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@1e7d3d87, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@1dd76982, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@7e76a66f]
2026-07-03 16:59:29.925 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:29.928 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk2OSwiZXhwIjoyNjQ3MDExNTY5fQ.XoIxtKMfQh0RS_e6uBENRZzkJgGsvWTk3fEmv6
2026-07-03 16:59:29.961 INFO - BPartnerController.addBPartner Arg1: class BPartner {,     acqusitioncost: null,     actuallifetimevalue: null,     adClientId: 1010016,     adComponentobjectuid: null,     adLanguage: null,     adOrgbpId: null,     adOrgId: 1010053,     allowadvancedpaymentreceipts: true,     allowpartialpayment: true,     aNameCheck: null,     automaticcreditnotes: false,     batchPaymentRule: null,     bpartnerParentId: null,     builtcabajurisdiction: false,     cBankaccountId: 99999999,     cBpartnerId: null,     cBpGroupId: 1010045,     cCategoriaIvaId: 1010287,     cDunningId: null,     cGreetingId: null,     cInvoicescheduleId: null,     cJobcategoryId: null,     cLocationId: null,     copyfrom: null,     copyvendorproducts: null,     cPaymenttermId: 1010083,     cPospaymentmediumId: null,     created: null,     createdby: null,     creditminimumamt: 0,     creditsituation: null,     cRegionSedeId: null,     customertype: null,     deliveryrule: null,     deliveryviarule: null,     description: null,     discountcontext: null,     documentcopies: null,     duns: null,     emitirMiPyme: false,     endholidays: null,     endholidays2: null,     firstsale: null,     flatdiscount: 0,     freightcostrule: null,     goal: null,     iibb: null,     iibbtype: null,     invoicePrintformatId: null,     invoicerule: null,     isactive: true,     iscompoundtax: false,     isconveniomultilateral: null,     iscustomer: false,     isdiscountprinted: false,     isemployee: false,     isgroupinvoices: false,     isiso: false,     ismandatorycai: false,     ismulticuit: false,     isonetime: false,     isprospect: false,     issalesrep: false,     issummary: false,     istaxexempt: false,     isvendor: false,     mDiscountschemaId: null,     minimumpurchasedamt: null,     minOrderQty: null,     mPricelistId: 1000587,     mProductRelatedId: null,     mShipperId: null,     naics: null,     name: Test,     name2: null,     numberemployees: null,     paymentblocked: false,     paymentblockeddescr: null,     paymentrule: null,     paymentrulepo: null,     poDiscountschemaId: null,     poPaymenttermId: null,     poPricelistId: null,     poreference: null,     potentiallifetimevalue: null,     processpo: Y,     programAmt: null,     programAmtUsed: null,     rating: null,     referenceno: null,     salesrepId: null,     salesvolume: null,     searchunallocatedpayments: true,     secondarycreditstatus: OK,     sendemail: false,     shareofcustomer: null,     shelflifeminpct: null,     soCreditlimit: 0,     socreditstatus: X,     soCreditused: 0,     soDescription: null,     startholidays: null,     startholidays2: null,     taxid: 20-12801863-9,     taxidtype: 80,     totalopenbalance: null,     trxenabled: true,     updatebalance: null,     updated: null,     updatedby: null,     url: null,     value: Test,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:30.480 INFO - BPartnerController.addBPartner: <200 OK OK,1012568,[]>
1012568
2026-07-03 16:59:30.490 INFO - BPartnerController.retrieveBPartner Arg1: 1012568,  
2026-07-03 16:59:30.551 INFO - BPartnerController.retrieveBPartner: <200 OK OK,class BPartner {,     acqusitioncost: 0.0000,     actuallifetimevalue: 0.00,     adClientId: 1010016,     adComponentobjectuid: CORE-C_BPartner-20260703165930039-236708,     adLanguage: null,     adOrgbpId: null,     adOrgId: 1010053,     allowadvancedpaymentreceipts: true,     allowparti
2026-07-03 16:59:30.568 INFO - BPartnerController.updateBPartner Arg1: 1012568, Arg2: class BPartner {,     acqusitioncost: null,     actuallifetimevalue: null,     adClientId: null,     adComponentobjectuid: null,     adLanguage: null,     adOrgbpId: null,     adOrgId: null,     allowadvancedpaymentreceipts: null,     allowpartialpayment: null,     aNameCheck: null,     automaticcreditnotes: null,     batchPaymentRule: null,     bpartnerParentId: null,     builtcabajurisdiction: null,     cBankaccountId: null,     cBpartnerId: null,     cBpGroupId: null,     cCategoriaIvaId: null,     cDunningId: null,     cGreetingId: null,     cInvoicescheduleId: null,     cJobcategoryId: null,     cLocationId: null,     copyfrom: null,     copyvendorproducts: null,     cPaymenttermId: null,     cPospaymentmediumId: null,     created: null,     createdby: null,     creditminimumamt: null,     creditsituation: null,     cRegionSedeId: null,     customertype: null,     deliveryrule: null,     deliveryviarule: null,     description: null,     discountcontext: null,     documentcopies: null,     duns: null,     emitirMiPyme: null,     endholidays: null,     endholidays2: null,     firstsale: null,     flatdiscount: null,     freightcostrule: null,     goal: null,     iibb: null,     iibbtype: null,     invoicePrintformatId: null,     invoicerule: null,     isactive: null,     iscompoundtax: null,     isconveniomultilateral: null,     iscustomer: null,     isdiscountprinted: null,     isemployee: null,     isgroupinvoices: null,     isiso: null,     ismandatorycai: null,     ismulticuit: null,     isonetime: null,     isprospect: null,     issalesrep: null,     issummary: null,     istaxexempt: null,     isvendor: null,     mDiscountschemaId: null,     minimumpurchasedamt: null,     minOrderQty: null,     mPricelistId: null,     mProductRelatedId: null,     mShipperId: null,     naics: null,     name: null,     name2: null,     numberemployees: null,     paymentblocked: null,     paymentblockeddescr: null,     paymentrule: null,     paymentrulepo: null,     poDiscountschemaId: null,     poPaymenttermId: null,     poPricelistId: null,     poreference: null,     potentiallifetimevalue: null,     processpo: null,     programAmt: null,     programAmtUsed: null,     rating: null,     referenceno: null,     salesrepId: null,     salesvolume: null,     searchunallocatedpayments: null,     secondarycreditstatus: null,     sendemail: null,     shareofcustomer: null,     shelflifeminpct: null,     soCreditlimit: null,     socreditstatus: null,     soCreditused: null,     soDescription: null,     startholidays: null,     startholidays2: null,     taxid: null,     taxidtype: null,     totalopenbalance: null,     trxenabled: null,     updatebalance: null,     updated: null,     updatedby: null,     url: null,     value: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:30.605 INFO - BPartnerController.updateBPartner: <200 OK OK,[]>
2026-07-03 16:59:30.614 INFO - BPartnerController.updateBPartner Arg1: -1, Arg2: class BPartner {,     acqusitioncost: null,     actuallifetimevalue: null,     adClientId: null,     adComponentobjectuid: null,     adLanguage: null,     adOrgbpId: null,     adOrgId: null,     allowadvancedpaymentreceipts: null,     allowpartialpayment: null,     aNameCheck: null,     automaticcreditnotes: null,     batchPaymentRule: null,     bpartnerParentId: null,     builtcabajurisdiction: null,     cBankaccountId: null,     cBpartnerId: null,     cBpGroupId: null,     cCategoriaIvaId: null,     cDunningId: null,     cGreetingId: null,     cInvoicescheduleId: null,     cJobcategoryId: null,     cLocationId: null,     copyfrom: null,     copyvendorproducts: null,     cPaymenttermId: null,     cPospaymentmediumId: null,     created: null,     createdby: null,     creditminimumamt: null,     creditsituation: null,     cRegionSedeId: null,     customertype: null,     deliveryrule: null,     deliveryviarule: null,     description: null,     discountcontext: null,     documentcopies: null,     duns: null,     emitirMiPyme: null,     endholidays: null,     endholidays2: null,     firstsale: null,     flatdiscount: null,     freightcostrule: null,     goal: null,     iibb: null,     iibbtype: null,     invoicePrintformatId: null,     invoicerule: null,     isactive: null,     iscompoundtax: null,     isconveniomultilateral: null,     iscustomer: null,     isdiscountprinted: null,     isemployee: null,     isgroupinvoices: null,     isiso: null,     ismandatorycai: null,     ismulticuit: null,     isonetime: null,     isprospect: null,     issalesrep: null,     issummary: null,     istaxexempt: null,     isvendor: null,     mDiscountschemaId: null,     minimumpurchasedamt: null,     minOrderQty: null,     mPricelistId: null,     mProductRelatedId: null,     mShipperId: null,     naics: null,     name: null,     name2: null,     numberemployees: null,     paymentblocked: null,     paymentblockeddescr: null,     paymentrule: null,     paymentrulepo: null,     poDiscountschemaId: null,     poPaymenttermId: null,     poPricelistId: null,     poreference: null,     potentiallifetimevalue: null,     processpo: null,     programAmt: null,     programAmtUsed: null,     rating: null,     referenceno: null,     salesrepId: null,     salesvolume: null,     searchunallocatedpayments: null,     secondarycreditstatus: null,     sendemail: null,     shareofcustomer: null,     shelflifeminpct: null,     soCreditlimit: null,     socreditstatus: null,     soCreditused: null,     soDescription: null,     startholidays: null,     startholidays2: null,     taxid: null,     taxidtype: null,     totalopenbalance: null,     trxenabled: null,     updatebalance: null,     updated: null,     updatedby: null,     url: null,     value: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:30.624 INFO - BPartnerController.updateBPartner: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:30.633 INFO - BPartnerController.deleteBPartner Arg1: 1012568,  
2026-07-03 16:59:30.688 INFO - BPartnerController.deleteBPartner: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:30.696 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.700 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MCwiZXhwIjoyNjQ3MDExNTcwfQ.u1depy6vYTqdClYxQVUhUnsz0-mtI4JFcLPE4W
2026-07-03 16:59:30.707 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:30.708 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:30.725 INFO - BPartnerController.deleteBPartner Arg1: -1,  
2026-07-03 16:59:30.734 INFO - BPartnerController.deleteBPartner: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:30.743 INFO - BPartnerController.deleteBPartner Arg1: 1002088,  
2026-07-03 16:59:30.749 INFO - BPartnerController.deleteBPartner: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>