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
- Serhii Cherniavskyi - @scherniavsky
- Thibaut Le Page - @thilp
- Brian Maher - @bmaher
- Oliwia Zaremba - @tortila
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
Release history Release notifications | RSS feed
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
Hashes for har-transformer-1.0.2.dev20190227122509.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28c494f81335c09137336141a0c7b2f3dab3c366ea5ed8ed0b76466c47363d49 |
|
MD5 | b96a44e99ee9ca9a46e5037220e57d7a |
|
BLAKE2b-256 | 874ac9e9528cab81bbbccfc8a2cf2df96ecf0c820d7debd9fc640b1ed0b30bc1 |
Hashes for har_transformer-1.0.2.dev20190227122509-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30fdcfe346b31c48c1e57a2a355455b61f34787e423ed65ef11a7ad1fe890c97 |
|
MD5 | b854e06bbfa6494debe03205d3a1a9dc |
|
BLAKE2b-256 | 1e85f6bd7d270015b5db11edd6f816a3ded7af9d09c5db3980a7d094c0b3c6b4 |