Class DalPerformanceProductTest


  • public class DalPerformanceProductTest
    extends OBBaseTest
    Does some simple performance tests by reading and updating of all Product objects, either directly or in paged mode.
    Author:
    mtaal
    • Constructor Detail

      • DalPerformanceProductTest

        public DalPerformanceProductTest()
    • Method Detail

      • testProduct25PageRead

        public void testProduct25PageRead()
        Tests a paged read of products and print of the identifier. The timing is reported in the log.
      • testProduct25PageReadGetExtra

        public void testProduct25PageReadGetExtra()
        Tests a paged read of products and print of the identifier. In addition extra information is read for the Product, nl. the Product.getProductCategory() and the Product.getTaxCategory(). The timing is reported in the log.
      • testUpdateAllProducts

        public void testUpdateAllProducts()
        Reads all Product objects and updates the name.
      • testUpdateAllProductsByPage

        public void testUpdateAllProductsByPage()
        Reads all products in a paged manner and updates the name.