Interface PerformanceTest

All Known Implementing Classes:
AbstractJaloItemTest, AbstractPerformanceTest, ConfigGetDatabase, ConfigGetOracle, ConfigGetParameter, ConfigGetString, JaloFlexibleSearchWithCache, JaloFlexiblSearchWithoutCache, JaloGetNonExistingProperty, JaloGetPk, JaloItemSetNonExistingProperty, JaloTenTimesSetNonExistingProperty, JaloTenTimesSetNonExistingPropertyInTx, ModelGetPk, RegistryGetDataSource, SlFlexibleSearch

public interface PerformanceTest
Interface containing methods to write any performance test which will be executed on "OverallTest" page.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cleanup after test if needed.
    computeScores(int seconds)
    Compute scores and returns as map.
    void
    Executes block of code to be tested.
    Gets the test name.
    void
    Prepare test if needed.
  • Method Details

    • executeBlock

      void executeBlock() throws Exception
      Executes block of code to be tested.
      Throws:
      Exception
    • computeScores

      Map<String,Object> computeScores(int seconds)
      Compute scores and returns as map.
      Parameters:
      seconds - the seconds
      Returns:
      the map with test scores
    • getTestName

      String getTestName()
      Gets the test name.
      Returns:
      the test name
    • prepare

      void prepare() throws Exception
      Prepare test if needed.
      Throws:
      Exception - the exception
    • cleanup

      void cleanup()
      Cleanup after test if needed.