PriceListsIntegrationTests

10

tests

0

failures

0

ignored

0.199s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.081s passed
deleteInexistentMaestroShouldReturnKO() 0.010s passed
deleteMaestroShouldReturnOK() 0.016s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.009s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.004s passed
modifyInexistentMaestroShouldReturnKO() 0.009s passed
modifyMaestroShouldReturnOK() 0.019s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.007s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.006s passed
retrieveCreatedMaestroShouldReturnOK() 0.038s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.PriceListsIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.PriceListsIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.PriceListsIntegrationTests]: PriceListsIntegrationTests 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.PriceListsIntegrationTests
- 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@2c4eae94, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3f33bb6f, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@446cc036, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@33b2ba25, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@6ad198c9, org.springframework.test.context.support.DirtiesContextTestExecutionListener@481bae3f, org.springframework.test.context.event.EventPublishingTestExecutionListener@6a54aa7a, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@4c114687, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@2a60981c, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@3f1fb139, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@7057dbda, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@36349e29, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@183a508b]
2026-07-03 16:59:45.637 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:45.639 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NSwiZXhwIjoyNjQ3MDExNTg1fQ.7tuCsB8U2hnZ06bw1Fju1o8RNU1M0fHwuEr5R1
2026-07-03 16:59:45.647 INFO - PriceListController.addPriceList Arg1: class PriceList {,     actualizarpreciosconfacturadecompra: false,     adClientId: 1010016,     adComponentobjectuid: null,     adComponentversionId: null,     adOrgId: 1010053,     basepricelistId: null,     cCurrencyId: 118,     created: null,     createdby: null,     description: null,     enforcepricelimit: false,     isactive: null,     isdefault: false,     isperceptionsincluded: true,     issopricelist: false,     istaxincluded: true,     mPricelistId: null,     name: Prueba,     priceprecision: 2.000000,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:45.719 INFO - PriceListController.addPriceList: <200 OK OK,1011015,[]>
1011015
2026-07-03 16:59:45.725 INFO - PriceListController.retrievePriceList Arg1: 1011015,  
2026-07-03 16:59:45.757 INFO - PriceListController.retrievePriceList: <200 OK OK,class PriceListVersion {,     adClientId: 1010016,     adComponentobjectuid: CORE-M_PriceList-20260703165945669-079984,     adComponentversionId: 1010409,     adOrgId: 1010053,     created: 2026-07-03 16:59:45.656486,     createdby: 1010717,     description: null,     isactive: true,     
2026-07-03 16:59:45.763 INFO - PriceListController.updatePriceList Arg1: 1011015, Arg2: class PriceList {,     actualizarpreciosconfacturadecompra: null,     adClientId: null,     adComponentobjectuid: null,     adComponentversionId: null,     adOrgId: null,     basepricelistId: null,     cCurrencyId: null,     created: null,     createdby: null,     description: null,     enforcepricelimit: null,     isactive: null,     isdefault: null,     isperceptionsincluded: null,     issopricelist: null,     istaxincluded: null,     mPricelistId: null,     name: null,     priceprecision: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:45.776 INFO - PriceListController.updatePriceList: <200 OK OK,[]>
2026-07-03 16:59:45.782 INFO - PriceListController.updatePriceList Arg1: -1, Arg2: class PriceList {,     actualizarpreciosconfacturadecompra: null,     adClientId: null,     adComponentobjectuid: null,     adComponentversionId: null,     adOrgId: null,     basepricelistId: null,     cCurrencyId: null,     created: null,     createdby: null,     description: null,     enforcepricelimit: null,     isactive: null,     isdefault: null,     isperceptionsincluded: null,     issopricelist: null,     istaxincluded: null,     mPricelistId: null,     name: null,     priceprecision: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:45.785 INFO - PriceListController.updatePriceList: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:45.791 INFO - PriceListController.deletePriceList Arg1: 1011015,  
2026-07-03 16:59:45.802 INFO - PriceListController.deletePriceList: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:45.807 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:45.809 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NSwiZXhwIjoyNjQ3MDExNTg1fQ.7tuCsB8U2hnZ06bw1Fju1o8RNU1M0fHwuEr5R1
2026-07-03 16:59:45.814 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:45.815 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:45.826 INFO - PriceListController.deletePriceList Arg1: -1,  
2026-07-03 16:59:45.829 INFO - PriceListController.deletePriceList: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:45.835 INFO - PriceListController.deletePriceList Arg1: 1000522,  
2026-07-03 16:59:45.839 INFO - PriceListController.deletePriceList: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>