Funkload 1.0: new Python-based functional+load testing framework released
FunkLoad 1.0 has been released.
FunkLoad is a functional and load web tester, written in Python, whose main use cases are:
- Functional testing of web projects and thus regression testing.
- Performance testing tool by loading the web application and monitoring your servers it helps you to pinpoint bottlenecks, giving a detail report of performance measurement.
- Load testing tool to expose bugs that do not surface in cursory testing, like volume testing or longevity testing.
- Stress testing tool to overwhelming the web application resources and test the application recoverability.
- Writing web agents by scripting any web repetitive task, like checking if a site is alive.Main FunkLoad features are:
- Functional tests are pure Python scripts using the pyUnit framework like normal unit tests. Python enable complex scenarios to handle real world app.
- Truly emulates a web browser (single-threaded) using Richard Jones’ Mechanical Cat WebUnit: basic authentication support; cookies support; fetching css, javascript and images; emulate a browser cache; file upload and multipart/form-data submission; https support.
- Advanced test runner with many command line options: set the target server url; display the fetched page in real time in your browser; debug mode; green/red color mode.
- Turn a functional test into a load test, just by invoking the bench runner you can identify scalability and performance problems.
- Detail bench report in ReST or HTML (PDF via ps2pdf) containing: bench configuration; tests, pages, requests stats and charts; 5 slowest requests; servers cpu usage, load average, memory/swap usage and network traffic charts; http error summary list.
- Easy test customization using configuration file or command line options.
- Easy test creation using TestMaker / maxq recorder, you can use your web browser and produce a FunkLoad test automatically.
- Provide web assertion helpers.
- Provide a funkload.CPSTestCase to ease Zope and Nuxeo CPS testing.
- Easy to use, see examples in the demo folder.
Funkload is free/open source software, available under the GPL license at funkload.nuxeo.org.