A tool to convert HAR files into a locustfile.
Project description
Transformer
A command-line tool and Python library to convert web browser sessions (HAR files) into Locust load test scenarios (“locustfiles”).
Use it to replay HAR files (storing recordings of interactions with your website) in load tests with Locust.
Installation
Install from PyPI:
pip install har-transformer
Usage
Example HAR files are included in the examples/ directory, try them out.
Command-line
transformer my_har_files_directory/ >locustfile.py
Library
import transformer
with open("locustfile.py", "w") as f:
transformer.dump(f, ["my_har_files_directory/"])
Documentation
Take a look at our documentation for more details, including how to generate HAR files, customize your scenarios, use or write plugins, etc.
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
har-transformer-1.2.6.tar.gz
(31.7 kB
view hashes)
Built Distribution
Close
Hashes for har_transformer-1.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1de86b7f2e7bf3b95f5566c1ba897ff0ef0d609b24513ab2fb3fbdb073abe1b |
|
MD5 | 2005635e10a228d245ab42b110595cd3 |
|
BLAKE2b-256 | 3189db0648d3e0ad26256cc4b68e0f24302101b768c3d1fa39fb84c00a140ddf |