Class RandomTextGenerator

java.lang.Object
org.nuxeo.ecm.platform.importer.random.RandomTextGenerator

public class RandomTextGenerator extends Object
Random text generator to be used for load testing
Author:
Thierry Delprat
  • Field Details

  • Constructor Details

  • Method Details

    • getTargetPageMaxSizeB

      protected int getTargetPageMaxSizeB()
    • getTargetParagraphMaxSizeB

      protected int getTargetParagraphMaxSizeB()
    • getRandomTitle

      public String getRandomTitle(int nbWord)
    • getRandomLine

      public String getRandomLine()
    • generateParagraph

      public String generateParagraph()
    • prefilCache

      public void prefilCache()
    • getRandomParagraph

      public String getRandomParagraph()
    • generatePage

      public String generatePage()
    • getRandomPage

      public String getRandomPage()
    • generateBloc

      public String generateBloc()
    • getRandomBloc

      public String getRandomBloc()
    • getRandomText

      public String getRandomText(int avSizeInK)
    • getRandomText

      public String getRandomText()