Skip to main content
Pre-release

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


Transformer

A tool to convert web browser sessions (HAR files) into Locust load testing scenarios (locustfiles).

Use it when you want to replay HAR files (containing recordings of interactions with your website) in load tests with Locust.

Installation

Install from PyPI with pip:

pip install har-transformer

Usage

Command-line

$ transformer my_scenarios_dir/

Library

import transformer

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

Example HAR files are included in the examples directory for you to try out.

Documentation

Take a look at our user documentation for more details, including how to generate HAR files, customize your scenarios, use or write plugins …

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Release files for har-transformer 1.0.2.dev20190221115430

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.dev20190221115430
File Size Uploaded
har-transformer-1.0.2.dev20190221115430.tar.gz 42.3 kB Details

Built distribution (wheel)

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

Total release size: 210.9 kB

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

Download URL har-transformer-1.0.2.dev20190221115430.tar.gz
Size 42.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ebf9cd2eefb758ea5706f55e5c734984cd1181c51e1438a6b8816bfbd77421b5
BLAKE2b-256 checksum
How to use checksums
eb680f0108ce0a33364d834192c32c51fa790e49c666517fc980cbec39365dd0
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.dev20190221115430-py3-none-any.whl

Download URL har_transformer-1.0.2.dev20190221115430-py3-none-any.whl
Size 168.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1794de528dc76a8be62d24014c9fcc69b70e351d9330fd4d71515109c756a61
BLAKE2b-256 checksum
How to use checksums
5d5ad081ef1c575d1fed24836d8ff70172e766c1a4c42cf465140df1815d8207
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