Skip to main content

A tool to convert HAR files into a locustfile.

Project description

.. raw:: html

<div align="center">

.. image:: docs/_static/transformer.png
:alt: Transformer logo
:align: center

.. raw:: html


.. image::
:alt: travis-ci status badge

.. image::
:alt: pypi version badge

.. image::
:alt: code quality badge

.. image::
:alt: test coverage badge

.. image::
:alt: Code style: Black

.. raw:: html



A **command-line tool** and **Python library** to convert web browser sessions
(`HAR`_ files) into Locust_ load test scenarios ("locustfiles").

.. _HAR:
.. _Locust:

Use it to **replay HAR files** (storing recordings of interactions with your
website) **in load tests** with Locust_.

.. contents::


Install from PyPI::

pip install har-transformer


Example HAR files are included in the ``examples/`` directory, try them


.. code:: bash

transformer my_har_files_directory/ >


.. code:: python

import transformer

with open("", "w") as f:
transformer.dump(f, ["my_har_files_directory/"])


Take a look at our documentation_ for more details, including how to **generate
HAR files**, **customize your scenarios**, use or write **plugins**, etc.

.. _documentation:


- **Serhii Cherniavskyi** — `@scherniavsky <>`_

- **Thibaut Le Page** — `@thilp <>`_

- **Brian Maher** — `@bmaher <>`_

- **Oliwia Zaremba** — `@tortila <>`_

See also the list of contributors_ to this project.

.. _contributors:


This project is licensed under the MIT license — see the LICENSE.md_ file for


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for har-transformer, version 1.0.2.dev20190305125417
Filename, size File type Python version Upload date Hashes
Filename, size har_transformer-1.0.2.dev20190305125417-py3-none-any.whl (188.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size har-transformer-1.0.2.dev20190305125417.tar.gz (47.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page