This file is indexed.

/usr/share/doc/funkload-doc/html/usage-fl-run-bench.html is in funkload-doc 1.17.1-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Bench runner fl-run-bench usage &#8212; FunkLoad 1.17.1 documentation</title>
    
    <link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '1.17.1',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="top" title="FunkLoad 1.17.1 documentation" href="index.html" />
    <link rel="up" title="FunkLoad command line usage" href="usage.html" />
    <link rel="next" title="Report builder fl-build-report usage" href="usage-fl-build-report.html" />
    <link rel="prev" title="Test runner fl-run-test usage" href="usage-fl-run-test.html" /> 
  </head>
  <body role="document">
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="usage-fl-build-report.html" title="Report builder fl-build-report usage"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="usage-fl-run-test.html" title="Test runner fl-run-test usage"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">FunkLoad 1.17.1 documentation</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="usage.html" accesskey="U">FunkLoad command line usage</a> &#187;</li> 
      </ul>
    </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="index.html">
              <img class="logo" src="_static/funkload-logo-small.png" alt="Logo"/>
            </a></p>
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Bench runner <code class="docutils literal"><span class="pre">fl-run-bench</span></code> usage</a><ul>
<li><a class="reference internal" href="#examples">Examples</a></li>
<li><a class="reference internal" href="#options">Options</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="usage-fl-run-test.html"
                        title="previous chapter">Test runner <code class="docutils literal"><span class="pre">fl-run-test</span></code> usage</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="usage-fl-build-report.html"
                        title="next chapter">Report builder <code class="docutils literal"><span class="pre">fl-build-report</span></code> usage</a></p>
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="_sources/usage-fl-run-bench.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <div><input type="text" name="q" /></div>
      <div><input type="submit" value="Go" /></div>
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="bench-runner-fl-run-bench-usage">
<h1>Bench runner <code class="docutils literal"><span class="pre">fl-run-bench</span></code> usage<a class="headerlink" href="#bench-runner-fl-run-bench-usage" title="Permalink to this headline"></a></h1>
<p>fl-run-bench [options] file class.method</p>
<p>fl-run-bench launch a FunkLoad unit test as load test.</p>
<p>A FunkLoad unittest uses a configuration file named [class].conf, this
configuration is overriden by the command line options.</p>
<p>See <a class="reference external" href="http://funkload.nuxeo.org/">http://funkload.nuxeo.org/</a> for more information.</p>
<div class="section" id="examples">
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline"></a></h2>
<blockquote>
<div><dl class="docutils">
<dt>fl-run-bench myFile.py MyTestCase.testSomething</dt>
<dd>Bench MyTestCase.testSomething using MyTestCase.conf.</dd>
<dt>fl-run-bench &#8211;config ~/test.conf myFile.py MyTestCase.testSomething</dt>
<dd>Bench MyTestCase.testSomething using test.conf located in home directory.</dd>
<dt>fl-run-bench -u <a class="reference external" href="http://localhost:8080">http://localhost:8080</a> -c 10:20 -D 30 myFile.py </dt>
<dd><dl class="first last docutils">
<dt>MyTestCase.testSomething</dt>
<dd>Bench MyTestCase.testSomething on localhost:8080
with 2 cycles of 10 and 20 users during 30s.</dd>
</dl>
</dd>
<dt>fl-run-bench -h</dt>
<dd>More options.</dd>
</dl>
</div></blockquote>
</div>
<div class="section" id="options">
<h2>Options<a class="headerlink" href="#options" title="Permalink to this headline"></a></h2>
<table class="docutils option-list" frame="void" rules="none">
<col class="option" />
<col class="description" />
<tbody valign="top">
<tr><td class="option-group">
<kbd><span class="option">--version</span></kbd></td>
<td>show program&#8217;s version number and exit</td></tr>
<tr><td class="option-group">
<kbd><span class="option">--help</span>, <span class="option">-h</span></kbd></td>
<td>show this help message and exit</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--config=<var>CONFIG</var></span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>Path to alternative config location. Otherwise the configuration file is
expected to be named after test case class, located either next to test module or path
defined by environment variable <code class="docutils literal"><span class="pre">FL_CONF_PATH</span></code></td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--url=<var>MAIN_URL</var></span>, <span class="option">-u <var>MAIN_URL</var></span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>Base URL to bench.</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--cycles=<var>BENCH_CYCLES</var></span>, <span class="option">-c <var>BENCH_CYCLES</var></span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>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 5:10:20</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--duration=<var>BENCH_DURATION</var></span>, <span class="option">-D <var>BENCH_DURATION</var></span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>Duration of a cycle in seconds.</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--sleep-time-min=<var>BENCH_SLEEP_TIME_MIN</var></span>, <span class="option">-m <var>BENCH_SLEEP_TIME_MIN</var></span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>Minimum sleep time between requests.</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--sleep-time-max=<var>BENCH_SLEEP_TIME_MAX</var></span>, <span class="option">-M <var>BENCH_SLEEP_TIME_MAX</var></span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>Maximum sleep time between requests.</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--test-sleep-time=<var>BENCH_SLEEP_TIME</var></span>, <span class="option">-t <var>BENCH_SLEEP_TIME</var></span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>Sleep time between tests.</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--startup-delay=<var>BENCH_STARTUP_DELAY</var></span>, <span class="option">-s <var>BENCH_STARTUP_DELAY</var></span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>Startup delay between thread.</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--as-fast-as-possible</span>, <span class="option">-f</span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>Remove sleep times between requests and between tests,
shortcut for -m0 -M0 -t0</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--runner-class=<var>BENCH_RUNNER_CLASS</var></span>, <span class="option">-r <var>BENCH_RUNNER_CLASS</var></span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>Python dotted import path to BenchRunner class to use.</td></tr>
<tr><td class="option-group">
<kbd><span class="option">--no-color</span></kbd></td>
<td>Monochrome output.</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--accept-invalid-links</span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>Do not fail if css/image links are not reachable.</td></tr>
<tr><td class="option-group">
<kbd><span class="option">--simple-fetch</span></kbd></td>
<td>Don&#8217;t load additional links like css or images when
fetching an html page.</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--label=<var>LABEL</var></span>, <span class="option">-l <var>LABEL</var></span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>Add a label to this bench run for easier
identification (it will be appended to the directory
name for reports generated from it).</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--enable-debug-server</span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>Instantiates a debug HTTP server which exposes an
interface using which parameters can be modified at
run-time. Currently supported parameters:
/cvu?inc=&lt;integer&gt; to increase the number of CVUs,
/cvu?dec=&lt;integer&gt; to decrease the number of CVUs,
/getcvu returns number of CVUs</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--debug-server-port=<var>DEBUGPORT</var></span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>Port at which debug server should run during the test</td></tr>
<tr><td class="option-group">
<kbd><span class="option">--distribute</span></kbd></td>
<td>distributes the CVUs over a group of worker machines
that are defined in the section [workers]</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--distribute-workers=<var>WORKERLIST</var></span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>this parameter will  over-ride the list of workers
defined in the config file. expected notation is
<a class="reference external" href="mailto:uname&#37;&#52;&#48;host">uname<span>&#64;</span>host</a>,uname:<a class="reference external" href="mailto:pwd&#37;&#52;&#48;host">pwd<span>&#64;</span>host</a> or just host...</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--is-distributed</span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>this parameter is for internal use only. it signals to
a worker node that it is in distributed mode and
shouldn&#8217;t perform certain actions.</td></tr>
</tbody>
</table>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="usage-fl-build-report.html" title="Report builder fl-build-report usage"
             >next</a> |</li>
        <li class="right" >
          <a href="usage-fl-run-test.html" title="Test runner fl-run-test usage"
             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">FunkLoad 1.17.1 documentation</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="usage.html" >FunkLoad command line usage</a> &#187;</li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 2016, Benoit Delbosc.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.4.8.
    </div>
  </body>
</html>