App for loading testing, wrapper for locust library
Project description
Locust swarm wrapper lib
What is it?:
Python library for load testing in browser. Library provide different strategies for load testing. Simple wrapper lib for another lib, with a little bit of StarCraft 2 in it.
Target Auditory of the lib:
- Author of the lib (Cupcake_wrld)
- Some strangers... (especially on PyPI)
- Maybe moderators on PyPI site (if they exist)
What useful opportunities in use this lib?
- None (I am serious now)
Locust swarm lib requirements:
- Python with version 3.12 or above
- Some storage space on your personal computer
Locust swarm lib components:
- App - abstraction class for swarm
- Swarm class - abstraction class for locusts
- Locust - main unit in library to "attack" website (Also name of the inner library)
- Strategies directory with different strategies classes for load testing.
- Tests - directory with app tests
Example of using library:
import <something>
page = 'https://yandex.ru'
"""
Attack this page
"""
if __name__ == "__main__":
app = LocustSwarm.App(StrategyEnum.PEAK, True, False)
app.set_swarm_attack_to_page(
page_to_destroy=page,
logger=app.get_logger()
)
app.get_swarm().proceed_locusts(
app_runner=app.get_runner(),
locust_spawn_rate=5,
)
Contacts:
Library author:
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file locust_swarm_wrapper_lib-0.0.1.tar.gz.
File metadata
- Download URL: locust_swarm_wrapper_lib-0.0.1.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cc9271a1a9845b5b16385dad44193f36ed86abccd87e216e4f5dd1754c0af4a
|
|
| MD5 |
01bedb6d756adcd7030a100a59554f75
|
|
| BLAKE2b-256 |
bfce111fc7584054dff675d2b45e3933e34706d0959af72161895d86adc51cf1
|
File details
Details for the file locust_swarm_wrapper_lib-0.0.1-py3-none-any.whl.
File metadata
- Download URL: locust_swarm_wrapper_lib-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75f383e2c6e844a45309c6ce67c8fee206d5c27bb54f0a9832f1ffad5dc8fc84
|
|
| MD5 |
ab4eed42a1b0363f58f84b4a7bce3833
|
|
| BLAKE2b-256 |
32b1ffdcbd7deb74dec05692b171cc9912889dab6d0416f649f3bd97f1d9d3ab
|