A package with tools to be used for load-testing with MightyCrawler and jMeter
- Create a new crawler configuration in the ./configuration directory to specify what you would like to crawl
- Crawl by running crawl.sh configuration/. The result will be placed in the folder specified in the "outputDirectory" option of you crawler configuration
- Use the ./getUrls.sh to generate the urls, e.g "./getUrls.sh websites/enonic-prod/enonic.com > enonic_prod.url"
- The ./getErrors.sh will find errors, some of them specific to errors generated by Enonic CMS.
- Open jmeter, open the url-runner.jmx script. Add the path to the generated url-file to the "filename" property of the "UrlFile" element
- Run
- Run the ./loadtest.sh, specifying url-file and number of threads. You will probably also have to modify these parameters to suit your needs:
- "url-loop-count" : how many of the lines in the url files you will run through each loop
- "thread-loop-count": how many times to run the loop