Class RandomTextGenerator


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

      • RandomTextGenerator

        public RandomTextGenerator​(DictionaryHolder dictionary)
    • Method Detail

      • 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()