Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

.. raw:: html

<div align="center">

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

.. raw:: html

<br>

.. image:: https://travis-ci.org/zalando-incubator/Transformer.svg?branch=master
:alt: travis-ci status badge
:target: https://travis-ci.org/zalando-incubator/Transformer

.. image:: https://badgen.net/pypi/v/har-transformer
:alt: pypi version badge
:target: https://pypi.org/project/har-transformer

.. image:: https://api.codacy.com/project/badge/Grade/10b3feb4e4814429bf288b87443a6c72
:alt: code quality badge
:target: https://www.codacy.com/app/thilp/Transformer

.. image:: https://api.codacy.com/project/badge/Coverage/10b3feb4e4814429bf288b87443a6c72
:alt: test coverage badge
:target: https://www.codacy.com/app/thilp/Transformer

.. image:: https://badgen.net/badge/code%20style/black/000
:alt: Code style: Black
:target: https://github.com/ambv/black

.. raw:: html

</div>

Transformer
***********

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

.. _HAR: https://en.wikipedia.org/wiki/.har
.. _Locust: https://locust.io/

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

.. contents::
:local:

Installation
============

Install from PyPI::

pip install har-transformer

Usage
=====

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

Command-line
------------

.. code:: bash

transformer my_har_files_directory/ >locustfile.py

Library
-------

.. code:: python

import transformer

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

Documentation
=============

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

.. _documentation: https://github.com/zalando-incubator/transformer/wiki

Authors
=======

- **Serhii Cherniavskyi** — `@scherniavsky <https://github.com/scherniavsky>`_

- **Thibaut Le Page** — `@thilp <https://github.com/thilp>`_

- **Brian Maher** — `@bmaher <https://github.com/bmaher>`_

- **Oliwia Zaremba** — `@tortila <https://github.com/tortila>`_

See also the list of contributors_ to this project.

.. _contributors: https://github.com/zalando-incubator/Transformer/blob/master
/docs/Contributors.rst

License
=======

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

.. _LICENSE.md: https://github.com/zalando-incubator/Transformer/blob/master
/LICENSE.m`d

Release files for har-transformer 1.0.2.dev20190305135903

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for har-transformer 1.0.2.dev20190305135903
File Size Uploaded
har-transformer-1.0.2.dev20190305135903.tar.gz 47.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for har-transformer 1.0.2.dev20190305135903
File Interpreter ABI Platform
har_transformer-1.0.2.dev20190305135903-py3-none-any.whl Python 3 none any Details

Total release size: 236.2 kB

Release files / har-transformer-1.0.2.dev20190305135903.tar.gz

Download URL har-transformer-1.0.2.dev20190305135903.tar.gz
Size 47.4 kB
Tags Source
SHA-256 checksum
How to use checksums
aba039d2dbdd20a4deb13adb25b78ac606fe7d699d3d44cdd75dafcfcc16db98
BLAKE2b-256 checksum
How to use checksums
d5c768370618a7db9b1ffe69ba400f50e384fe6214fbd6ad3a396c3eeaddb27b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.11 CPython/3.7.1 Linux/4.15.0-1026-gcp

Release files / har_transformer-1.0.2.dev20190305135903-py3-none-any.whl

Download URL har_transformer-1.0.2.dev20190305135903-py3-none-any.whl
Size 188.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f06a65639b7bfee3fd5187e989910baa94d29cadb2c73a8e194681c9a3aaef38
BLAKE2b-256 checksum
How to use checksums
30cf119cede7e896191e3387f20b20d5d874412586e327586d83fdf2d0dfa96a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.11 CPython/3.7.1 Linux/4.15.0-1026-gcp

Release history Release notifications | RSS feed

2.0.0

2 release files

1.3.0

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

This release

1.0.1

2 release files

1.0.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page