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
- 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
File details
Details for the file har-transformer-1.0.2.dev20190225235531.tar.gz
.
File metadata
- Download URL: har-transformer-1.0.2.dev20190225235531.tar.gz
- Upload date:
- Size: 45.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.11 CPython/3.6.8 Linux/4.20.10-200.fc29.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9a7eaef8f7dd85d1ba8c2e3deeb399fffb6ae5b34628136f405cead02f50309 |
|
MD5 | c719fc168d3de6106e921fd0a94efe89 |
|
BLAKE2b-256 | 7252e3e8f183f14e8d034f15525c6c33f40b04d6811c154a05723d0b31ee3106 |
File details
Details for the file har_transformer-1.0.2.dev20190225235531-py3-none-any.whl
.
File metadata
- Download URL: har_transformer-1.0.2.dev20190225235531-py3-none-any.whl
- Upload date:
- Size: 179.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.11 CPython/3.6.8 Linux/4.20.10-200.fc29.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d893ae24edb3a58ab37383291500eaaad5a7fc7dde0f94337773301af6de8e06 |
|
MD5 | 3d78bc91341abd4d10a45ec781822120 |
|
BLAKE2b-256 | da31a1296a5434cdc314fca83ec76bae0b176d3c0cd06408b29a358c3842c6db |