ProductPriceIntegrationTest

5

tests

0

failures

0

ignored

0.119s

duration

100%

successful

Tests

Test Duration Result
createProductPriceShouldReturnOK() 0.062s passed
deleteProductPriceShouldReturnOK() 0.015s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.008s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.006s passed
updateProductPriceShouldReturnOK() 0.028s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.ProductPriceIntegrationTest], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.ProductPriceIntegrationTest]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.ProductPriceIntegrationTest]: ProductPriceIntegrationTest 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.ProductPriceIntegrationTest
- 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@78bce1c4, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@189e96af, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@45b6c666, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@60e80279, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@7fc56d61, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1382a7d8, org.springframework.test.context.event.EventPublishingTestExecutionListener@6074d638, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@402feb85, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@14d53884, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@126ff1a1, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@546c30c2, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@6ba08a09, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@568c9ee1]
2026-07-03 16:59:47.262 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:47.264 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NywiZXhwIjoyNjQ3MDExNTg3fQ.S325TAVCc_R5zCabnD-4l8YLOmf8dgwA5eGWrv
2026-07-03 16:59:47.273 INFO - ProductPriceController.addProductPrice Arg1: class ProductPrice {,     adClientId: 1010016,     adOrgId: 1010053,     created: null,     createdby: null,     isactive: null,     mPricelistVersionId: 1010527,     mProductId: 1015400,     pricelimit: 10,     pricelist: 10,     pricestd: 10,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:47.325 INFO - ProductPriceController.addProductPrice: <200 OK OK,1015400-1010527,[]>
2026-07-03 16:59:47.331 INFO - ProductPriceController.updateProductPrice Arg1: 1015400, Arg2: 1010527, Arg3: class ProductPrice {,     adClientId: null,     adOrgId: null,     created: null,     createdby: null,     isactive: null,     mPricelistVersionId: null,     mProductId: null,     pricelimit: null,     pricelist: 80,     pricestd: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:47.352 INFO - ProductPriceController.updateProductPrice: <200 OK OK,[]>
2026-07-03 16:59:47.359 INFO - ProductPriceController.deleteProductPrice Arg1: 1015400, Arg2: 1010527,  
2026-07-03 16:59:47.369 INFO - ProductPriceController.deleteProductPrice: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:47.374 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:47.376 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NywiZXhwIjoyNjQ3MDExNTg3fQ.S325TAVCc_R5zCabnD-4l8YLOmf8dgwA5eGWrv
2026-07-03 16:59:47.382 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:47.383 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>