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
File details
Details for the file har-transformer-1.0.2.dev20190226152150.tar.gz
.
File metadata
- Download URL: har-transformer-1.0.2.dev20190226152150.tar.gz
- Upload date:
- Size: 45.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.11 CPython/3.7.1 Linux/4.15.0-1026-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aecf809c2342c7dde8f8d784266fcc5b738583dcd15c5af868fbb43c07f109d6 |
|
MD5 | 59cc3d2124b8a019cd78aa37305c36af |
|
BLAKE2b-256 | b885d064a8f53682a036ab90a3a5d8c87cf403593d9fd0b4511cd3b044cf7abe |
File details
Details for the file har_transformer-1.0.2.dev20190226152150-py3-none-any.whl
.
File metadata
- Download URL: har_transformer-1.0.2.dev20190226152150-py3-none-any.whl
- Upload date:
- Size: 182.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.11 CPython/3.7.1 Linux/4.15.0-1026-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b8f88be9cd139659f3579f0fd4d3d4e322e55408751aaf4c896a55692c1ed07 |
|
MD5 | 3916a6f194efcea4e942bd5a7df2c030 |
|
BLAKE2b-256 | cd0603b0a446431df622adad996085ec5cad39a0497fe57ff4f06412ebdf72a3 |