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_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.

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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for har-transformer-1.0.2.dev20190221115430.tar.gz
Algorithm Hash digest
SHA256 ebf9cd2eefb758ea5706f55e5c734984cd1181c51e1438a6b8816bfbd77421b5
MD5 d004778829a84f7bd0f92e78463d16d0
BLAKE2b-256 eb680f0108ce0a33364d834192c32c51fa790e49c666517fc980cbec39365dd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for har_transformer-1.0.2.dev20190221115430-py3-none-any.whl
Algorithm Hash digest
SHA256 d1794de528dc76a8be62d24014c9fcc69b70e351d9330fd4d71515109c756a61
MD5 4200e42b7cb0e9e4ce35bb1f9b3c35c3
BLAKE2b-256 5d5ad081ef1c575d1fed24836d8ff70172e766c1a4c42cf465140df1815d8207

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