Skip to main content

A tool to convert HAR files into a locustfile.

Project description


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.

Project details


Download files

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

Source Distribution

har-transformer-1.0.2.dev20190226093423.tar.gz (42.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file har-transformer-1.0.2.dev20190226093423.tar.gz.

File metadata

File hashes

Hashes for har-transformer-1.0.2.dev20190226093423.tar.gz
Algorithm Hash digest
SHA256 29e48fd1c426e399897be2289a968e788e453a06068961d9ce7c8f43cf53c92d
MD5 90de9cb77a30b1618900b80bfc17a887
BLAKE2b-256 5736db4058a7a6332c5bbb302cb3ecffa6f29a909a38a5957fc414adc03d04b6

See more details on using hashes here.

File details

Details for the file har_transformer-1.0.2.dev20190226093423-py3-none-any.whl.

File metadata

File hashes

Hashes for har_transformer-1.0.2.dev20190226093423-py3-none-any.whl
Algorithm Hash digest
SHA256 c48c8b73b326b6b7aeb995db1ead4eced6b92713dd7ffbff22b86dd8b6a669f3
MD5 05cb35b0f85c2bdd5f24095026c44fc8
BLAKE2b-256 287c94c0dca6eeb6e682b7c1a1a1e7ba5498b873155f592879c4d64e838ca613

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page