Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add timing-based load-testing section to h2load howto
  • Loading branch information
tatsuhiro-t committed Sep 21, 2017
1 parent cc6f759 commit 7d4d48a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions doc/sources/h2load-howto.rst
Expand Up @@ -64,6 +64,25 @@ The benchmarking result looks like this:
See the h2load manual page :ref:`h2load-1-output` section for the
explanation of the above numbers.

Timing-based load-testing
-------------------------

As of v1.26.0, h2load supports timing-based load-testing. This method
performs load-testing in terms of a given duration instead of a
pre-defined number of requests. The new option :option:`--duration`
specifies how long the load-testing takes. For example,
``--duration=10`` makes h2load perform load-testing against a server
for 10 seconds. You can also specify a “warming-up” period with
:option:`--warm-up-time`. If :option:`--duration` is used,
:option:`-n` option is ignored.

The following command performs load-testing for 10 seconds after 5
seconds warming up period:

.. code-block:: text
$ h2load -c100 -m100 --duration=10 --warm-up-time=5 https://localhost
Flow Control
------------

Expand Down

0 comments on commit 7d4d48a

Please sign in to comment.