Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto generated locustfiles from browser recordings using har2locust (documentation) #2259

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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