Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

A tool to transform/convert web browser sessions (HAR files) into Locust load testing scenarios (locustfile).

License

Notifications You must be signed in to change notification settings

SvenskaSpel/transformer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transformer logo


travis-ci status badge pypi version badge code quality badge test coverage badge Code style: Black

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.

Install from PyPI:

pip install har-transformer

Install Locust to run your locustfiles:

pip install locust

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.

See also the list of contributors to this project.

This project is licensed under the MIT license — see the LICENSE.md file for details.

About

A tool to transform/convert web browser sessions (HAR files) into Locust load testing scenarios (locustfile).

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.1%
  • Makefile 0.9%