8000 GitHub - not-empty/ala-performance-locust: Python code using locust to get domain performance
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

not-empty/ala-performance-locust

Repository files navigation

Lumen Ala Performance

Latest Version PRs Welcome

Python code using locust to get domain performance

Locust Dashboard

Installation

Requires Python 3.7.

The recommended way to install is through Pip.

pip install -r requirements.txt
cp .env.example .env

Put values in CONTEXT, SECRET and TOKEN environment because the script need to authenticate and verify all CRUD routes (Get this config in Lumen-Ala project).

Run Cli interface

Run the file domainperformance.py using Locust

locust -f domainperformance.py

And access Localhost dashboard to start the Locust

Run in background

This example run with 1000 users and spawned 10 per second for 1 minute.

locust -f domainperformance.py -H {Your Host and Port Here} -u 1000 -r 10 -t 1m --headless --csv report

After running this command, you can consulting 3 files report_failures.csv, report_stats.csv and report_stats_history.csv to validate the performance test.

Development

Want to contribute? Great!

The project using a simple code. Make a change in your file and be careful with your updates!

Not Empty Foundation - Free codes, full minds

About

Python code using locust to get domain performance

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0