debian/ 0000755 0000000 0000000 00000000000 12013201455 007157 5 ustar debian/manpage.sgml 0000644 0000000 0000000 00000011115 12012516544 011461 0 ustar manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'. A typical entry in a Makefile or Makefile.am is:
manpage.1: manpage.sgml
docbook-to-man $< > $@
The docbook-to-man binary is found in the docbook-to-man package.
Please remember that if you create the nroff version in one of the
debian/rules file targets (such as build), you will need to include
docbook-to-man in your Build-Depends control field.
-->
Toni">
Müller">
December 13, 2007">
1">
toni@debian.org">
FUNKLOAD">
Debian">
GNU">
GPL">
]>
&dhemail;
&dhfirstname;
&dhsurname;
2003&dhusername;
&dhdate;
&dhucpackage;
&dhsection;
&dhpackage;is a package to support testing and benchmarking of
web applications&dhpackage;DESCRIPTIONThis manual page documents briefly the
&dhpackage; and bar
commands.This manual page was written for the &debian; distribution
because the original program does not have a manual page.
Instead, it has documentation in the &gnu;
Info format; see below.&dhpackage; is a program that...OPTIONSThese programs follow the usual &gnu; command line syntax,
with long options starting with two dashes (`-'). A summary of
options is included below. For a complete description, see the
Info files.Show summary of options.Show version of program.SEE ALSObar (1), baz (1).The programs are documented fully by The Rise and
Fall of a Fooish Bar available via the
Info system.AUTHORThis manual page was written by &dhusername; &dhemail; for
the &debian; system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under
the terms of the &gnu; General Public License, Version 2 any
later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL.
debian/fl-credential-ctl.1 0000644 0000000 0000000 00000002075 12012516544 012545 0 ustar .TH "FL-CREDENTIAL-CTL" "1" "26 March 2009" "Debian Project" "Debian manual"
.SH "NAME"
fl\-credential\-ctl \- XML\-RPC credential server for funkload
.SH "SYNOPSIS"
.B fl\-credential\-ctl
.B [ options ]
.B config_file
.B [ start | startd | stop | restart | status | test ]
.SH "DESCRIPTION"
fl\-credential\-ctl controls the XML\-RPC based credential server for Funkload. This server is meant to be used in order to write benchs that require authentication.
.PP
A configuration file needs to be setup in order to use this server. Please refer to demo/cmf/credential.conf for an example.
.SH "OPTIONS"
.TP
.B \-\-version
Show program's version number and exit
.TP
.B \-\-help, \-h
Show a help message and exit
.TP
.B \-\-quiet, \-q
Verbose output
.SH "SEE ALSO"
.BR fl\-build\-report (1),
.BR fl\-install\-demo (1),
.BR fl\-monitor\-ctl (1),
.BR fl\-record (1),
.BR fl\-run\-bench (1),
.BR fl\-run\-test (1).
.SH "AUTHOR"
Funkload was written by Benoit Delbosc.
.PP
This manual page was written by Jose Parrella ,
for the Debian project (but may be used by others).
debian/dh_installoverrides 0000644 0000000 0000000 00000002625 12012516544 013162 0 ustar #!/usr/bin/perl -w
#
# dh_installoverrides
=head 1 NAME
dh_installoverrides = install lintian/linda override files
=cut
use strict;
use Debian::Debhelper::Dh_Lib;
=head 1 SYNOPSIS
B
=head1 DESCRIPTION
dh_installoverrides is a debhelper program that is responsible for
installing lintian and linda overrides into package build directories.
If a file named debian/package.lintian exists, it is installed
into /usr/share/lintian/overrides/package.
If a file named debian/package.linda exists, it is installed
into /usr/share/linda/overrides/package.
=cut
init();
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
my $file=$package;
my $lintian_overrides=pkgfile($package,"lintian");
my $linda_overrides=pkgfile($package,"linda");
if($lintian_overrides ne '') {
if(! -d "$tmp/usr/share/lintian/overrides") {
doit("install", "-d", "$tmp/usr/share/lintian/overrides");
}
doit("install","-p","-m644",$lintian_overrides,
"$tmp/usr/share/lintian/overrides/$file");
}
if($linda_overrides ne '') {
if (! -d "$tmp/usr/share/linda/overrides") {
doit("install", "-d", "$tmp/usr/share/linda/overrides");
}
doit("install", "-p", "-m644", $linda_overrides,
"$tmp/usr/share/linda/overrides/$file");
}
}
=head1 SEE ALSO
L
This program is a part of debhelper
=head1 AUTHOR
Rene Engelhard
=cut
debian/control 0000644 0000000 0000000 00000002303 12012516544 010567 0 ustar Source: funkload
Section: web
Priority: extra
Maintainer: Toni Mueller
Build-Depends: python, debhelper (>= 7.4), python-support (>> 1.0), python-setuptools, python-sphinx
Standards-Version: 3.9.3
X-Python-Version: >= 2.4, << 2.8
Package: funkload
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, python-setuptools, python-pkg-resources, python-webunit (>= 1:1.3.10)
Recommends: tcpwatch-httpproxy, gnuplot (>= 4.2), python-docutils
Suggests: python-paramiko, python-virtualenv
Description: web testing tool
This web testing tool is designed to allow testing the functionality
and performance of web applications in the same spirit as Perl's
WWW::Mechanize. The tool supports recording clicks through a website,
saving them into a Python class which you can later modify, and
playing them back later. This allows you to script your web
applications. 'funkload' also supports performance and load testing
your applications.
.
Package: funkload-doc
Architecture: all
Section: doc
Depends: ${misc:Depends}
Recommends: libjs-jquery, libjs-sphinxdoc
Description: web testing tool (documentation package)
This package contains the sphinx generated documentation for
funkload.
.
debian/fl-install-demo.1 0000644 0000000 0000000 00000001155 12012516544 012241 0 ustar .TH "FL-INSTALL-DEMO" "1" "26 March 2009" "Debian Project" "Debian manual"
.SH "NAME"
fl\-install\-demo \- installs funkload demonstration files
.SH "SYNOPSIS"
.B fl\-install\-demo
.SH "DESCRIPTION"
fl\-install\-demo installs the funkload demonstration files in ./funkload\-demo
.SH "SEE ALSO"
.BR fl\-build\-report (1),
.BR fl\-credential\-ctl (1),
.BR fl\-monitor\-ctl (1),
.BR fl\-record (1),
.BR fl\-run\-bench (1),
.BR fl\-run\-test (1).
.SH "AUTHOR"
Funkload was written by Benoit Delbosc.
.PP
This manual page was written by Jose Parrella ,
for the Debian project (but may be used by others).
debian/README.Debian 0000644 0000000 0000000 00000000217 12012516544 011227 0 ustar I included upstream documentation for reference.
The manpages were kindly donated by Jose Parella.
Thanks to Julien Lavergne for his patch.
debian/changelog 0000644 0000000 0000000 00000011064 12012516544 011042 0 ustar funkload (1.16.1-4) unstable; urgency=high
* correct installation failure that breaks all binaries
(closes: #684872)
* urgency high due to freeze
-- Toni Mueller Tue, 14 Aug 2012 13:05:36 +0200
funkload (1.16.1-3) unstable; urgency=high
* added the dependency (Closes: #659232)
-- Toni Mueller Sat, 30 Jun 2012 23:24:09 +0200
funkload (1.16.1-2) unstable; urgency=low
* symlink the JS libraries (Closes: #678043)
Note that this only works if the user actually installed the
Recommends: .
-- Toni Mueller Mon, 25 Jun 2012 18:12:50 +0200
funkload (1.16.1-1) unstable; urgency=medium
* new upstream
* medium because of fix to the build process (closes: #643124)
* migrated to using git-buildpackage
* added python-webunit to the dependency list (closes: #627785)
thanks to Benoit Delbosc
* fixed path to demo code (closes: #630236)
thanks to Vincent Férotin
* split out docs package, which is now using Sphinx
* dropped CDBS build dependency
* dropped individual documentation building dependencies
-- Toni Mueller Sun, 13 May 2012 00:10:08 +0200
funkload (1.13.0-1) unstable; urgency=low
* new upstream release
* moved to new packaging scheme
* fixed debian/control (closes: #592079)
-- Toni Mueller Sun, 08 Aug 2010 19:24:57 +0200
funkload (1.12.0-1) unstable; urgency=low
* new upstream
* standards -> 3.9.0
-- Toni Mueller Sat, 17 Jul 2010 02:08:36 +0200
funkload (1.11.0-4) unstable; urgency=low
* correct build error
-- Toni Mueller Sun, 02 May 2010 22:08:53 +0200
funkload (1.11.0-3) unstable; urgency=low
* adds python-setuptools (closes: #579743)
-- Toni Mueller Sun, 02 May 2010 22:00:21 +0200
funkload (1.11.0-2) unstable; urgency=low
* removed obsolete file
-- Toni Mueller Thu, 04 Feb 2010 13:41:02 +0100
funkload (1.11.0-1) unstable; urgency=low
* new upstream, compatible with both webunit 1.3.8 and 1.3.9
-- Toni Mueller Wed, 03 Feb 2010 01:04:29 +0100
funkload (1.10.0-3) unstable; urgency=low
* removing python-xml dependency (closes: #545889)
* cleaned up cruft from now-defunct python-central
-- Toni Mueller Sat, 12 Sep 2009 12:26:52 +0200
funkload (1.10.0-2) unstable; urgency=low
* fixed dependency
-- Toni Mueller Tue, 01 Sep 2009 15:19:45 +0200
funkload (1.10.0-1) unstable; urgency=low
* New upstream release (closes: #541596).
- Fix a crash when using fl-build-report (Closes: #492755)
* debian/rules: Update upstream version.
* debian/control:
- Set XS-Python-Version to >= 2.5 instead of hardcoding versions.
- Add python-setuptools to depends, it doesn't start without it.
- Add gnuplot as recommends, it's necessary to run tests.
* debian/patches: Drop, merged upstream.
* debian/docs Update funkload.egg-info location.
* debian/watch: Update.
* python-central -> python-support
-- Toni Mueller Tue, 01 Sep 2009 10:27:24 +0200
funkload (1.6.2-6) unstable; urgency=low
* changed dependencies wrt. python-webunit to require at least
1:1.3.8, but to conflict with 1:1.3.9.
* added python-docutils (closes: #493205)
-- Toni Mueller Mon, 04 Aug 2008 10:09:36 +0200
funkload (1.6.2-5) unstable; urgency=low
* added python-docutils (closes: #493205)
* suggests -> recommends due to the high usability impact
* fixed python-webunit at 1.3.8 (compatibilty issue with 1.3.9)
-- Toni Mueller Fri, 01 Aug 2008 11:11:58 +0200
funkload (1.6.2-4) unstable; urgency=low
* upgraded to new standards version
* dropped runtime dependency on python-setuptools (Closes: #468733)
* dropped python-xml dependency (Closes: #468593)
* rebuild with new python-central (Closes: #490464)
-- Toni Mueller Thu, 10 Jul 2008 23:23:25 +0200
funkload (1.6.2-3) unstable; urgency=low
* renamed recommends "tcpwatch" to "tcpwatch-httpproxy"
* added python-setup to build-depends (closes: #457240)
* added Jose Miguel Parrella Romero's manpages (thank you!)
* fixed typos in the control file (closes: #457344)
-- Toni Mueller Fri, 21 Dec 2007 23:19:17 +0100
funkload (1.6.2-2) unstable; urgency=low
* added missing dependency
-- Toni Mueller Wed, 19 Dec 2007 11:33:38 +0100
funkload (1.6.2-1) unstable; urgency=low
* Initial release (Closes: #351082)
-- Toni Mueller Wed, 12 Dec 2007 17:07:33 +0100
debian/dirs 0000644 0000000 0000000 00000000010 12012516544 010041 0 ustar usr/bin
debian/fl-monitor-ctl.1 0000644 0000000 0000000 00000002011 12012516544 012110 0 ustar .TH "FL-MONITOR-CTL" "1" "26 March 2009" "Debian Project" "Debian manual"
.SH "NAME"
fl\-monitor\-ctl \- monitors server health during funkload benchs
.SH "SYNOPSIS"
.B fl\-monitor\-ctl
.B [ options ]
.B config_file
.B [ start | startd | stop | restart | status | test ]
.SH "DESCRIPTION"
fl\-monitor\-ctl monitors server health during a Funkload bench. It is implemented as an XML\-RPC server.
.PP
A configuration file needs to be setup in order to use this server. Please refer to demo/simple/credential.conf for an example.
.SH "OPTIONS"
.TP
.B \-\-version
Show program's version number and exit
.TP
.B \-\-help, \-h
Show a help message and exit
.TP
.B \-\-quiet, \-q
Verbose output
.SH "SEE ALSO"
.BR fl\-build\-report (1),
.BR fl\-credential\-ctl (1),
.BR fl\-install\-demo (1),
.BR fl\-record (1),
.BR fl\-run\-bench (1),
.BR fl\-run\-test (1).
.SH "AUTHOR"
Funkload was written by Benoit Delbosc.
.PP
This manual page was written by Jose Parrella ,
for the Debian project (but may be used by others).
debian/funkload.manpages 0000644 0000000 0000000 00000000243 12012516544 012505 0 ustar debian/fl-build-report.1
debian/fl-credential-ctl.1
debian/fl-install-demo.1
debian/fl-monitor-ctl.1
debian/fl-record.1
debian/fl-run-bench.1
debian/fl-run-test.1
debian/watch 0000644 0000000 0000000 00000000203 12012516544 010212 0 ustar # watch control file for uscan
version=3
http://pypi.python.org/packages/source/f/funkload/ funkload-([\d+\.]+|\d+)[a-z]*\.tar\.gz
debian/pycompat 0000644 0000000 0000000 00000000002 12012516544 010735 0 ustar 2
debian/compat 0000644 0000000 0000000 00000000002 12012516544 010364 0 ustar 7
debian/docs 0000644 0000000 0000000 00000000024 12012516544 010035 0 ustar README.txt
TODO.txt
debian/note-to-self 0000644 0000000 0000000 00000000020 12012516544 011415 0 ustar current tree 27
debian/patches/ 0000755 0000000 0000000 00000000000 12012516620 010610 5 ustar debian/patches/series 0000644 0000000 0000000 00000000101 12012516544 012022 0 ustar make-demo-work.diff
remove-old-cps-docs.diff
fix-setup-file.diff
debian/patches/make-demo-work.diff 0000644 0000000 0000000 00000001230 12012516544 014262 0 ustar --- a/src/funkload/DemoInstaller.py
+++ b/src/funkload/DemoInstaller.py
@@ -4,11 +4,14 @@
from shutil import copytree
from pkg_resources import resource_filename, cleanup_resources
+DEMO_DEBIAN_PATH = os.path.join("/", "usr", "share", "doc", "funkload",
+ "examples")
+
def main():
"""main."""
demo_path = 'funkload-demo'
print "Extract FunkLoad examples into ./%s : ... " % demo_path,
- cache_path = resource_filename('funkload', 'demo')
+ cache_path = DEMO_DEBIAN_PATH
demo_path = os.path.join(os.path.abspath(os.path.curdir), demo_path)
copytree(cache_path, demo_path)
cleanup_resources()
debian/patches/remove-old-cps-docs.diff 0000644 0000000 0000000 00000001365 12012516544 015236 0 ustar --- a/doc/source/api/core_api.rst
+++ b/doc/source/api/core_api.rst
@@ -10,25 +10,3 @@
.. automodule:: funkload.FunkLoadDocTest
:members:
-:mod:`funkload.CPSTestCase` -- CPSTestCase
-------------------------------------------
-.. automodule:: funkload.CPSTestCase
- :members:
-
-:mod:`funkload.CPS338TestCase` -- CPS338TestCase
-------------------------------------------------
-.. automodule:: funkload.CPS338TestCase
- :members:
-
-:mod:`funkload.CPS340TestCase` -- CPS340TestCase
-------------------------------------------------
-.. automodule:: funkload.CPS340TestCase
- :members:
-
-:mod:`funkload.CPS340DocTest` -- CPS340DocTest
-----------------------------------------------
-.. automodule:: funkload.CPS340DocTest
- :members:
-
-
-
debian/patches/fix-setup-file.diff 0000644 0000000 0000000 00000000671 12012516544 014314 0 ustar --- a/setup.py
+++ b/setup.py
@@ -60,9 +60,7 @@
'Topic :: System :: Monitoring',
],
# setuptools specific keywords
- install_requires = ['webunit >= 1.3.8',
- 'docutils >= 0.3.7',
- 'setuptools'],
+ install_requires = ['webunit >= 1.3.8', ],
zip_safe=True,
package_data={'funkload': ['data/*',
'demo/simple/*', 'demo/zope/*',
debian/fl-record.1 0000644 0000000 0000000 00000002156 12012516544 011131 0 ustar .TH "FL-RECORD" "1" "26 March 2009" "Debian Project" "Debian manual"
.SH "NAME"
fl\-record \- records a live funkload test using TCPWatch
.SH "SYNOPSIS"
.B fl\-record
.B [ options ]
.B test_case
.SH "DESCRIPTION"
fl\-record uses TCPWatch to setup a proxy server which is then used by a browser and records activities. It generates a Funkload script or a unit test if a name is passed to the script.
.SH "OPTIONS"
.TP
.B \-\-version
Show program's version number and exit
.TP
.B \-\-help, \-h
Show a help message and exit
.TP
.B \-\-verbose, \-v
Verbose output
.TP
.B \-\-port=PORT, \-p PORT
TCP port where the proxy listens (Defaults to 8090)
.TP
.B \-\-tcp\-watch\-input=TCPWATCH_PATH, \-i TCPWATCH_PATH
Path to an existing TCPWatch capture
.TP
.B --loop=LOOP, -l LOOP
Loop mode
.SH "SEE ALSO"
.BR fl\-build\-report (1),
.BR fl\-credential\-ctl (1),
.BR fl\-install\-demo (1),
.BR fl\-monitor\-ctl (1),
.BR fl\-run\-bench (1),
.BR fl\-run\-test (1).
.SH "AUTHOR"
Funkload was written by Benoit Delbosc.
.PP
This manual page was written by Jose Parrella ,
for the Debian project (but may be used by others).
debian/fl-build-report.1 0000644 0000000 0000000 00000002570 12012516544 012263 0 ustar .TH "FL-BUILD-REPORT" "1" "26 March 2009" "Debian Project" "Debian manual"
.SH "NAME"
fl\-build\-report - generate a report from a FunkLoad bench result file
.SH "SYNOPSIS"
.B fl\-build\-report
.B [options]
.B XMLFILE
.PP
.B fl\-build\-report
.B \-\-diff
.B REPORT_PATH1 REPORT_PATH2
.SH "DESCRIPTION"
fl-build-report analyze a FunkLoad bench xml result file and output a
report.
.PP
The --diff option expect two report directories and output a differential report.
.PP
Note that you can preview the report for cycles that have been done while the bench is still running by invoking fl\-build\-report.
.SH "OPTIONS"
.TP
.B \-\-version
Show program's version number and exit
.TP
.B \-\-help, \-h
Shows a help message and exit
.TP
.B \-\-html, \-H
Produce an HTML report
.TP
.B \-\-output\-directory=OUTPUT_DIR, \-oOUTPUT_DIR
Parent directory to store reports, the directoryname
of the report will be generated automatically.
.TP
.B --report-directory=REPORT_DIR, -r REPORT_DIR
Directory name to store the report.
.TP
.B --diff, -d
Create differential report.
.SH "SEE ALSO"
.BR fl\-credential\-ctl (1),
.BR fl\-monitor\-ctl (1),
.BR fl\-record (1),
.BR fl\-run\-bench (1),
.BR fl\-run\-test (1).
.BR fl\-install\-demo (1),
.SH "AUTHOR"
Funkload was written by Benoit Delbosc.
.PP
This manual page was written by Jose Parrella ,
for the Debian project (but may be used by others).
debian/copyright 0000644 0000000 0000000 00000000720 12012516544 011120 0 ustar This package was debianized by Toni Mueller on
Wed, 12 Dec 2007 17:07:33 +0100.
It was downloaded from http://funkload.nuxeo.com/, which is also the
homepage of the project.
Upstream Author: Benoit Delbosc
Copyright: (C) Copyright 2005 Nuxeo SAS (http://nuxeo.com).
License: GPLv2
The Debian packaging is (c) 2012, Toni Mueller and
is licensed under the GPLv2, see `/usr/share/common-licenses/GPL-2'.
debian/fl-run-bench.1 0000644 0000000 0000000 00000003435 12012516544 011535 0 ustar .TH "FL-RUN-BENCH" "1" "26 March 2009" "Debian Project" "Debian manual"
.SH "NAME"
fl\-record \- runs a funkload test
.SH "SYNOPSIS"
.B fl\-record
.B [ options ]
.B file
.B class.method
.SH "DESCRIPTION"
A funkload test can be turned into a load test, just by invoking the bench runner fl\-run\-bench.
.SH "OPTIONS"
.TP
.B \-\-version
show program's version number and exit
.TP
.B \-\-help, \-h
show this help message and exit
.TP
.B \-\-url=MAIN_URL, \-uMAIN_URL
Base URL to bench.
.TP
.B \-\-cycles=BENCH_CYCLES, \-cBENCH_CYCLES
Cycles to bench, this is a list of number of virtual concurrent users, to run a bench with 3 cycles with 5, 10 and 20 users use: \-c 2:10:20
.TP
.B \-\-duration=BENCH_DURATION, \-DBENCH_DURATION
Duration of a cycle in seconds.
.TP
.B \-\-sleep\-time\-min=BENCH_SLEEP_TIME_MIN, \-mBENCH_SLEEP_TIME_MIN
Minimum sleep time between request.
.TP
.B \-\-sleep\-time\-max=BENCH_SLEEP_TIME_MAX, \-MBENCH_SLEEP_TIME_MAX
Maximum sleep time between request.
.TP
.B \-\-startup\-delay=BENCH_STARTUP_DELAY, \-sBENCH_STARTUP_DELAY
Startup delay between thread.
.TP
.B \-\-no\-color
Monochrome output.
.TP
.B \-\-accept\-invalid\-links
Do not fail if css/image links are not reachable.
.TP
.B \-\-simple\-fetch
Don't load additional links like css or images when fetching an html page.
.TP
.B --label=LABEL, -l LABEL
Add a label to this bench run for easier identification (it will be appended to the directory name for reports generated from it).
.SH "SEE ALSO"
.BR fl\-build\-report (1),
.BR fl\-credential\-ctl (1),
.BR fl\-install\-demo (1),
.BR fl\-monitor\-ctl (1),
.BR fl\-record (1),
.BR fl\-run\-test (1).
.SH "AUTHOR"
Funkload was written by Benoit Delbosc.
.PP
This manual page was written by Jose Parrella ,
for the Debian project (but may be used by others).
debian/funkload.examples 0000644 0000000 0000000 00000000023 12012516544 012524 0 ustar src/funkload/demo/
debian/source/ 0000755 0000000 0000000 00000000000 12012516544 010466 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 12012516544 011674 0 ustar 3.0 (quilt)
debian/fl-run-test.1 0000644 0000000 0000000 00000004567 12012516544 011444 0 ustar .TH "FL-RUN-TEST" "1" "26 March 2009" "Debian Project" "Debian manual"
.SH "NAME"
fl\-run\-test \- runs a funkload test file
.SH "SYNOPSIS"
.B fl\-run-test
.B [ options ]
.B file
.B [ class.method | class | suite ]
.SH "DESCRIPTION"
A FunkLoad test can be used like a standard unittest using a unittest.main() and a 'python MyFile.py'.
Note that fl\-run\-test can be used to launch normal unittest.TestCase and (if you use python2.4) doctest in a plain text file or embedded in a python docstring. The \-\-debug option makes doctests verbose.
.SH "OPTIONS"
.TP
.B \-\-version
show program's version number and exit
.TP
.B \-\-help, \-h
show this help message and exit
.TP
.B \-\-quiet, \-q
Minimal output.
.TP
.B \-\-verbose, \-v
Verbose output.
.TP
.B \-\-debug, \-d
FunkLoad and doctest debug output.
.TP
.B \-\-debug\-level=DEBUG_LEVEL
Debug level 3 is more verbose.
.TP
.B \-\-url=MAIN_URL, \-uMAIN_URL
Base URL to bench without ending '/'.
.TP
.B \-\-sleep\-time\-min=FTEST_SLEEP_TIME_MIN, \-mFTEST_SLEEP_TIME_MIN
Minumum sleep time between request.
.TP
.B \-\-sleep\-time\-max=FTEST_SLEEP_TIME_MAX, \-MFTEST_SLEEP_TIME_MAX
Maximum sleep time between request.
.TP
.B \-\-dump\-directory=DUMP_DIR
Directory to dump html pages.
.TP
.B \-\-firefox\-view, \-V
Real time view using firefox, you must have a running instance of firefox in the same host.
.TP
.B \-\-no\-color
Monochrome output.
.TP
.B \-\-loop\-on\-pages=LOOP_STEPS, \-lLOOP_STEPS
Loop as fast as possible without concurrency on pages expect a page number or a slice like 3:5. Output some statistics.
.TP
.B \-\-loop\-number=LOOP_NUMBER, \-nLOOP_NUMBER
Number of loop.
.TP
.B \-\-accept\-invalid\-links
Do not fail if css/image links are not reachable.
.TP
.B \-\-simple\-fetch
Don't load additional links like css or images when fetching an html page.
.TP
.B \-\-stop\-on\-fail
Stop tests on first failure or error.
.TP
.B \-\-regex=REGEX, \-eREGEX
The test names must match the regex.
.TP
.B \-\-list
Just list the test names.
.TP
.B --pause
Pause between request, press ENTER to continue.
.SH "SEE ALSO"
.BR fl\-build\-report (1),
.BR fl\-credential\-ctl (1),
.BR fl\-install\-demo (1),
.BR fl\-monitor\-ctl (1),
.BR fl\-record (1),
.BR fl\-run\-bench (1).
.SH "AUTHOR"
Funkload was written by Benoit Delbosc.
.PP
This manual page was written by Jose Parrella ,
for the Debian project (but may be used by others).
debian/rules 0000755 0000000 0000000 00000010023 12013201454 010232 0 ustar #!/usr/bin/make -f
PACKAGE=funkload
DEB_BUILD_OPTIONS=nocheck
UPSTREAM_VERSION=1.16.1
DEB_SOURCE_PACKAGE=funkload
DEB_ALL_PACKAGES="funkload funkload-doc"
export DH_VERBOSE=1
PYVERS=$(shell pyversions -vr)
pkgdir = $(CURDIR)/debian/$(PKGNAME)
-include /usr/share/python/python.mk
clean:
echo "====MAKE clean step"
ls -l debian/funkload.examples
dh_testdir
dh_testroot
rm -f build-*
rm -rf build
rm -fr doc/build
rm -fr debian/$(PACKAGE) debian/$(PACKAGE)-doc debian/usr
find . -name '*\.py[co]' -delete
rm -fr src/funkload.egg-info
dh_clean
ls -l debian/funkload.examples
echo "====END MAKE clean step"
build:
build-indep: build-docs
build-arch:
binary-arch:
binary: binary-indep
test:
echo "Testing the non-installed package is not supported"
build-docs:
echo "====MAKE $@ step"
dh_testdir
dh_installdirs -i
cd doc && env PYTHONPATH="../src:${PYTHONPATH}" make html
rm -f doc/build/html/_static/jquery.js doc/build/html/_static/underscore.js
find debian/$(PACKAGE)-doc/usr/share -name '*.html' | xargs perl -p -i -e 's:::'
find debian/$(PACKAGE)-doc/usr/share -name '*.html' | xargs perl -p -i -e 's:::'
echo "====MAKE: I'm now in `/bin/pwd`"
mkdir -p debian/$(PACKAGE)-doc/usr/share/doc/$(PACKAGE)-doc
cp -a doc/build/html debian/$(PACKAGE)-doc/usr/share/doc/$(PACKAGE)-doc
ln -s ../../../../javascript/jquery/jquery.js debian/$(PACKAGE)-doc/usr/share/doc/$(PACKAGE)-doc/html/_static/jquery.js
ln -s ../../../../javascript/sphinxdoc/1.0/underscore.js debian/$(PACKAGE)-doc/usr/share/doc/$(PACKAGE)-doc/html/_static/underscore.js
touch $@
echo "====END MAKE $@ step"
install: build build-docs
echo "====MAKE $@ step"
dh_testdir
dh_testroot
python setup.py install \
--no-compile \
--single-version-externally-managed \
--root $(CURDIR)/debian/$(PACKAGE) \
$(py_setup_install_args)
set -e; for py in $(PYVERS); do \
rm -fr $(CURDIR)/debian/$(PACKAGE)/usr/lib/python$$py/dist-packages/$(PACKAGE)/demo ; \
done
echo "====END MAKE $@ step"
# W: pycompile:161: dangling symlink skipped: /usr/lib/python2.6/dist-packages/funkload/demo/seam-booking-1.1.5/test_SeamBooking.py (../../../../../../share/pyshared/funkload/demo/
XXXinstall-%:
echo "====MAKE $@ step"
mkdir -p debian/$(PACKAGE)/usr/share/pyshared debian/$(PACKAGE)/usr/bin
cp -a src/funkload debian/$(PACKAGE)/usr/share/pyshared
install -m 0755 scripts/* debian/$(PACKAGE)/usr/bin
chmod -R a-wx debian/$(PACKAGE)/usr/share/pyshared/$(PACKAGE)
chmod -R a+rX debian/$(PACKAGE)/usr/share/pyshared/$(PACKAGE)
rm -fr $(CURDIR)/debian/$(PACKAGE)/usr/lib/site-packages/$(PACKAGE)/demo
#python$* setup.py build_scripts --executable=/usr/bin/python
#python$* setup.py install $(py_setup_install_args) \
# --root $(call pkgdir,$*)
echo "====END MAKE $@ step"
binary-indep: build install
echo "====MAKE $@ step"
dh_testdir -i
dh_testroot -i
dh_installchangelogs -i
dh_installchangelogs -p $(PACKAGE)
dh_installdocs -i
ls -l debian/funkload.examples
dh_installexamples -i -v
ls -l debian/funkload.examples
dh_link -i
dh_installman -i
#mv debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/examples/demo/* \
# debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/examples && \
chmod -R a-wx debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)
chmod -R a+rX debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)
#rmdir debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/examples/demo
#find debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)
echo "====MAKE $@ before dh_python2"
dh_python2 -i
rm -fr $(CURDIR)/debian/$(PACKAGE)/usr/share/pyshared/$(PACKAGE)/demo
echo "====MAKE $@ after dh_python2"
dh_fixperms -i
dh_compress -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i -- -Z xz
echo "====END MAKE $@ step"
# what?
#dh_compress -i -X.py -X.js -Xmakotemplates.txt