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

Built Distribution

File details

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

File metadata

File hashes

Hashes for har-transformer-1.0.2.dev20190304110133.tar.gz
Algorithm Hash digest
SHA256 2798614920dae56ad78e769c723070509592e333e4b8ce40ff9c16fd2afab98b
MD5 9c68777890572b9013d7c069a093a8bf
BLAKE2b-256 2938b7c4a063cb1548c2ae5bcecc13fffb9935b23f659c9908ee1c08674ded60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for har_transformer-1.0.2.dev20190304110133-py3-none-any.whl
Algorithm Hash digest
SHA256 e55b01b79801108c52fc81041245c80b580018c14ffce3214ab8378a84eb2a67
MD5 6896fad833ea8b95961bff59f78a7aca
BLAKE2b-256 bb2edb5647d5a4684db20b232b8de936fac9af1cdd72f24357e6e7467d75363e

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