1. Sylvain Hellegouarch
  2. CherryPy Recipes


CherryPy Recipes / testing / load / funkload_ /

Filename Size Date modified Message
691 B
585 B
897 B
Basic recipe for load testing a CherryPy application using funkload.

You will require:
gnuplot for the report charts

First start the basic myapp found in the parent directory:

 $ cd ../myapp
 $ python __init__.py

Then in a different shell run the bench:

 $ cd funkload_
 $ fl-run-bench test_blog.py Blog.test_comment

Generate the load test reports:

 $ fl-build-report --html load.xml

Since the demo app is using sqlite3 and no caching with a fairly intensive load, 
the results may not be great which is a good example for investigating load problems.