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.dev20190222154823.tar.gz (42.3 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for har-transformer-1.0.2.dev20190222154823.tar.gz
Algorithm Hash digest
SHA256 c2c7a8ede0998798b079af4ccf719b83a98e75eed14799121aae98ed076f28f4
MD5 e74616bdc8f749c843dcb3110a7b4793
BLAKE2b-256 02b9768f16ffbda341cdcf774d8b0043306db7965200da3327bb2ba80004b426

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for har_transformer-1.0.2.dev20190222154823-py3-none-any.whl
Algorithm Hash digest
SHA256 d4ea15992fa0cb8f113d1ab3ee9935c34afd05603c1f86a27cef1870c9c73091
MD5 3c7ae465fddeed3c073ffc08c0452083
BLAKE2b-256 543181143b770f91c81c95232d11ffb7882b7b66bb44f42308afd78301fa3c23

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