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_har_files_dir/

Library

import transformer

with open("locustfile.py", "w") as f:
    transformer.dump(f, ["my_har_files_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.dev20190304110133

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

Built distribution (wheel)

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

Total release size: 219.8 kB

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

Download URL har-transformer-1.0.2.dev20190304110133.tar.gz
Size 43.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2798614920dae56ad78e769c723070509592e333e4b8ce40ff9c16fd2afab98b
BLAKE2b-256 checksum
How to use checksums
2938b7c4a063cb1548c2ae5bcecc13fffb9935b23f659c9908ee1c08674ded60
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.dev20190304110133-py3-none-any.whl

Download URL har_transformer-1.0.2.dev20190304110133-py3-none-any.whl
Size 176.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e55b01b79801108c52fc81041245c80b580018c14ffce3214ab8378a84eb2a67
BLAKE2b-256 checksum
How to use checksums
bb2edb5647d5a4684db20b232b8de936fac9af1cdd72f24357e6e7467d75363e
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