| Author: | Benoit Delbosc |
|---|---|
| Address: | bdelbosc _at_ nuxeo.com |
| Revision: | CHANGES.txt 53638 2009-06-03 12:07:52Z bdelbosc |
Abstract
This document describes changes between FunkLoad versions.
| Svn: | http://svn.nuxeo.org/pub/funkload/trunk |
|---|---|
| Target: | 1.10.1 |
| Package: | http://pypi.python.org/packages/source/f/funkload/funkload-1.10.0.tar.gz |
|---|---|
| Svn: | http://svn.nuxeo.org/pub/funkload/tags/1.10.0 |
| Released date: | 2009-03-23 |
| Package: | http://pypi.python.org/packages/source/f/funkload/funkload-1.9.0.tar.gz |
|---|---|
| Svn: | http://svn.nuxeo.org/pub/funkload/tags/1.9.0 |
| Released date: | 2008-11-07 |
Switch to gnuplot 4.2 for charts generation. Gnuplot script and data are kept with the report enabling charts customization. No more gdchart charting woes.
Enhanced charts displaying more information, view a report example.
New diff report option, comparing 2 reports is a long and error prone task, fl-build-report has been enhanced to produce a differencial report. This new feature requires gnuplot.
To produce a diff report:
fl-build-report --diff path/to/report-reference path/to/report-challanger
View a diff report example.
Post method handles custom data and content type. For example to post a xmlrpc by hand
from funkload.utils import Data
...
data = Data('text/xml', """<?xml version='1.0'?>
<methodCall>
<methodName>getStatus</methodName>
<params>
</params>
</methodCall>
""")
self.post(server_url, data, description="Post user data")
The recorder translates properly application/xml or any content type using the new Data class (see above exemple).
New test script provided with fl-install-demo to bench the JBoss Seam Booking application.
| Package: | http://pypi.python.org/packages/source/f/funkload/funkload-1.8.0.tar.gz |
|---|---|
| Svn: | http://svn.nuxeo.org/pub/funkload/tags/1.8.0/ |
| Released date: | 2008-07-28 |
| Package: | http://funkload.nuxeo.org/funkload-1.7.0.tar.gz |
|---|---|
| Svn: | http://svn.nuxeo.org/pub/funkload/tags/1.7.0/ |
| Released date: | 2008-07-23 |
| Package: | http://funkload.nuxeo.org/funkload-1.6.2.tar.gz |
|---|---|
| Svn: | http://svn.nuxeo.org/pub/funkload/tags/1.6.2/ |
| Released date: | 2007-04-06 |
| Package: | http://funkload.nuxeo.org/funkload-1.6.1.tar.gz |
|---|---|
| Svn: | http://svn.nuxeo.org/pub/funkload/tags/1.6.1/ |
| Released date: | 2007-03-09 |
| Package: | http://funkload.nuxeo.org/funkload-1.6.0.tar.gz |
|---|---|
| Svn: | http://svn.nuxeo.org/pub/funkload/tags/1.6.0/ |
| Released date: | 2007-02-27 |
| Package: | http://funkload.nuxeo.org/funkload-1.5.0.tar.gz |
|---|---|
| Svn: | http://svn.nuxeo.org/pub/funkload/tags/1.5.0/ |
| Released date: | 2006-01-31 |
# 1284: TestCase: support of doctest
There is a new FunkLoadDocTest class that ease usage of FunkLoad from doctest:
>>> from funkload.FunkLoadDocTest import FunkLoadDocTest
>>> fl = FunkLoadDocTest()
>>> response = fl.get('http://localhost/')
>>> 'HTML' in response.body
True
>>> response
<response url="http://127.0.0.1:80//" code="200" message="OK" />
If you use python2.4, the test runner fl-run-test is able launch doctest from a plain text file or embedded in python docstring:
$ fl-run-test -v doctest_dummy.txt Doctest: doctest_dummy.txt Ok ----------------------------------------------------- Ran 1 test in 0.077s OK
And the --debug option makes doctests verbose:
$ fl-run-test -d doctest_dummy.txt
...
Trying:
fl = FunkLoadDocTest()
Expecting nothing
ok
Trying:
fl.get('http://localhost/')
Expecting:
<response url="http://127.0.0.1:80//" code="200" message="OK" />
ok
Ok
----------------------------------------------------------------------
Ran 1 test in 0.051s
OK
Test runner can use a negative regex to select tests. For example if you want to launch all tests that does not ends with 'foo'
fl-run-test myFile.py -e '!foo$'
# 1282: TestRunner: more verbosity
The new fl-run-test option --debug-level=2 will produce debug output on each link (images or css) fetched.
Improve firefox view in real time by using approriate file extention for the content type.
CPSTestCase is up to date for 3.4.0, use CPS338TestCase for a CPS 3.3.8.
| Package: | http://funkload.nuxeo.org/funkload-1.4.1.tar.gz |
|---|---|
| Svn: | http://svn.nuxeo.org/pub/funkload/tags/1.4.1/ |
| Released date: | 2005-12-16 |
| Package: | http://funkload.nuxeo.org/funkload-1.4.0.tar.gz |
|---|---|
| Svn: | http://svn.nuxeo.org/pub/funkload/tags/1.4.0/ |
| Released date: | 2005-12-08 |
New --loop-on-pages option for fl-run-test.
This option enable to check response time of some specific pages inside a test without changing the script, which make easy to tune a page in a complex context. Use the debug option to find the page numbers. For example:
fl-run-test myfile.py MyTestCase.testSomething -l 3 -n 100
Run MyTestCase.testSomething, reload one hundred time the page 3 without concurrency and as fast as possible. Output response time stats. You can loop on many pages using slice -l 2:4.
New --accept-invalid-links option for fl-run-test and fl-run-bench
Don't fail if css/image links are not reachable.
New --list option for fl-run-test to list the test names without running them.
# 936: TestRunner: use regexp to load test
New --regex or -e option for fl-run-test to filter test names that match a regular expression.
# 939: Browser: Provide an option to disable image and links load
New --simple-fetch option for fl-run-test and fl-run-bench.
# 937: TestRunner: Add an immediate fail option
New --stop-on-fail option for fl-run-test that stops tests on first failure or error.
# 933: Report: Add global info
Adding total number of tests, pages and requests during the bench.
CPSTestCase.listDocumentHref is renamed into cpsListDocumentHref
FunkLoadTestCase.xmlrpc_call is renamed into xmlrpc (xmlrpc_call is still working)
Some code cleaning, cheesecake index 460/560 ~82%.
fl-run-test is now able to run standard unittest.TestCase.
| Package: | http://funkload.nuxeo.org/funkload-1.3.1.tar.gz |
|---|---|
| Svn: | http://svn.nuxeo.org/pub/funkload/tags/1.3.1/ |
| Released date: | 2005-11-10 |
| Package: | http://funkload.nuxeo.org/funkload-1.3.0.tar.gz |
|---|---|
| Svn: | http://svn.nuxeo.org/pub/funkload/tags/1.3.0/ |
| Released date: | 2005-11-08 |
# 944: Recorder: replace TestMaker recorder.
Providing a fl-record command that drive a TCPWatch proxy. See INSTALL to setup TCPWatch.
# 1041: Browser: implement an addHeader method.
FunkLoadTestCase provides new methods setUserAgent, addHeader and clearHeaders.
# 1088: TestRunner / BenchRunner: use compatible command line option
- All fl-* executables have a --version option to display the FunkLoad version.
- All fl-run-* are now in color mode by default. Use --no-color options for monochrome output. You need to remove the -c option for fl-run-test and -C for fl-run-bench in your scripts.
- Changing fl-run-bench short option -d into -D for duration, keeping -d for debug mode.
- Removing fl-run-test short option -D to not conflict with new -D option of fl-run-bench, you now have to use the long format --dump-directory.
| Package: | http://funkload.nuxeo.org/funkload-1.2.0.tar.gz |
|---|---|
| Svn: | http://svn.nuxeo.org/pub/funkload/tags/1.2.0/ |
| Released date: | 2005-10-18 |
| Package: | http://funkload.nuxeo.org/funkload-1.1.0.tar.gz |
|---|---|
| Svn: | http://svn.nuxeo.org/pub/funkload/tags/1.1.0/ |
| Released date: | 2005-10-07 |
| Location: | http://funkload.nuxeo.org/funkload-1.0.0.tar.gz |
|---|---|
| Released date: | 2005-09-01 |
First public release.
See the INSTALL file for requirement and installation.