A tool to convert HAR files into a locustfile.
Use it to replay HAR files (storing recordings of interactions with your website) in load tests with Locust.
Install from PyPI:
pip install har-transformer
Note that the new major version of Locust (1.0 and up) is not yet supported. Please make sure you have a compatible Locust to run your locustfiles:
pip install locustio==0.14.6
We hope to lift this restriction very soon!
Example HAR files are included in the examples/ directory, try them out.
transformer my_har_files_directory/ >locustfile.py
import transformer with open("locustfile.py", "w") as f: transformer.dump(f, ["my_har_files_directory/"])
Take a look at our documentation for more details, including how to generate HAR files, customize your scenarios, use or write plugins, etc.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size har_transformer-1.3.0-py3-none-any.whl (37.8 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size har-transformer-1.3.0.tar.gz (32.5 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for har_transformer-1.3.0-py3-none-any.whl