Skip to content

Commit

Permalink
Merge pull request #2259 from locustio/auto-generated-locustfiles-fro…
Browse files Browse the repository at this point in the history
…m-browser-recordings-using-har2locust-(documentation)

auto generated locustfiles from browser recordings using har2locust (documentation)
  • Loading branch information
cyberw authored Nov 17, 2022
2 parents 682779b + ae72f8b commit b0baaeb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/writing-a-locustfile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,17 @@ the :ref:`name parameter <name-parameter>` to group all those requests under an
Additionally we've declared an `on_start` method. A method with this name will be called for each simulated
user when they start. For more info see :ref:`on-start-on-stop`.

Auto-generating a locustfile
============================

You can use `har2locust <https://github.com/SvenskaSpel/har2locust>`_ to generate locustfiles based on a browser recording (HAR-file).

It is particularly useful for beginners that are not used to writing their own locustfile, but also highly customizable for more advanced use cases.

.. note::

har2locust is still in beta. It may not always generate correct locustfiles, and its interface may change between versions.

User class
==========

Expand Down

0 comments on commit b0baaeb

Please sign in to comment.